commit: 59ab91a0d90eb036c511223419ffb6d1246e1d89 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Aug 27 05:35:50 2021 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Aug 27 05:43:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ab91a0
dev-python/nnpy: enable py3.10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/nnpy/nnpy-1.4.2.ebuild | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/dev-python/nnpy/nnpy-1.4.2.ebuild b/dev-python/nnpy/nnpy-1.4.2.ebuild index 77862dd22ec..443c714661d 100644 --- a/dev-python/nnpy/nnpy-1.4.2.ebuild +++ b/dev-python/nnpy/nnpy-1.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -14,7 +14,6 @@ SRC_URI="https://github.com/nanomsg/nnpy/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm" -IUSE="" DEPEND=" dev-python/cffi:=[${PYTHON_USEDEP}] @@ -22,6 +21,4 @@ DEPEND=" " RDEPEND="${DEPEND}" -python_test() { - PYTHONPATH="${S}:${PYTHONPATH}" "${PYTHON}" -m nnpy.tests || die -} +distutils_enable_tests unittest