commit:     fc4b41806845522db7ca547d902359f5e8232f24
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 19 20:48:46 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 19 20:49:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc4b4180

dev-python/bottleneck: Enable py3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/bottleneck/bottleneck-1.3.2.ebuild | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/dev-python/bottleneck/bottleneck-1.3.2.ebuild 
b/dev-python/bottleneck/bottleneck-1.3.2.ebuild
index b45dcc831d4..ed1fd761efa 100644
--- a/dev-python/bottleneck/bottleneck-1.3.2.ebuild
+++ b/dev-python/bottleneck/bottleneck-1.3.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -13,17 +13,15 @@ 
SRC_URI="https://github.com/kwgoodman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 SLOT="0"
 LICENSE="BSD"
 KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]
        dev-python/scipy[${PYTHON_USEDEP}]
 "
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/nose )"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
 
 python_test() {
-       ${EPYTHON} ./tools/test-installed-bottleneck.py
+       "${EPYTHON}" ./tools/test-installed-bottleneck.py -vv -m full || die
 }

Reply via email to