From 7c59acba5699c9c58090a7a738669669a7307023 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Aug 2021 23:14:26 +0100 Subject: gentoo resync : 21.08.2021 --- dev-python/future/future-0.18.2-r1.ebuild | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'dev-python/future/future-0.18.2-r1.ebuild') diff --git a/dev-python/future/future-0.18.2-r1.ebuild b/dev-python/future/future-0.18.2-r1.ebuild index 653a507983cb..ab4b1b6f3c42 100644 --- a/dev-python/future/future-0.18.2-r1.ebuild +++ b/dev-python/future/future-0.18.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{8..9} pypy3 ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility" @@ -13,7 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc" BDEPEND=" test? ( @@ -29,13 +28,12 @@ PATCHES=( "${FILESDIR}"/${P}-tests.patch "${FILESDIR}"/${P}-py39.patch "${FILESDIR}"/${P}-py39-fileurl.patch + "${FILESDIR}"/${P}-py3.10.patch ) -python_prepare_all() { +EPYTEST_DESELECT=( # tests requiring network access - rm tests/test_future/test_requests.py || die - sed -i -e 's:test.*request_http:_&:' \ - tests/test_future/test_standard_library.py || die - - distutils-r1_python_prepare_all -} + tests/test_future/test_requests.py + tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_moves_urllib_request_http + tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_urllib_request_http +) -- cgit v1.2.3