Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nnpy/
Date: Fri, 27 Aug 2021 05:44:00
Message-Id: 1630042999.59ab91a0d90eb036c511223419ffb6d1246e1d89.arthurzam@gentoo
1 commit: 59ab91a0d90eb036c511223419ffb6d1246e1d89
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 27 05:35:50 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 27 05:43:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ab91a0
7
8 dev-python/nnpy: enable py3.10
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/nnpy/nnpy-1.4.2.ebuild | 11 ++++-------
13 1 file changed, 4 insertions(+), 7 deletions(-)
14
15 diff --git a/dev-python/nnpy/nnpy-1.4.2.ebuild b/dev-python/nnpy/nnpy-1.4.2.ebuild
16 index 77862dd22ec..443c714661d 100644
17 --- a/dev-python/nnpy/nnpy-1.4.2.ebuild
18 +++ b/dev-python/nnpy/nnpy-1.4.2.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=7
25 +EAPI=8
26
27 -PYTHON_COMPAT=( python3_{7,8,9} )
28 +PYTHON_COMPAT=( python3_{8..10} )
29
30 inherit distutils-r1
31
32 @@ -14,7 +14,6 @@ SRC_URI="https://github.com/nanomsg/nnpy/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 LICENSE="MIT"
34 SLOT="0"
35 KEYWORDS="~amd64 ~arm"
36 -IUSE=""
37
38 DEPEND="
39 dev-python/cffi:=[${PYTHON_USEDEP}]
40 @@ -22,6 +21,4 @@ DEPEND="
41 "
42 RDEPEND="${DEPEND}"
43
44 -python_test() {
45 - PYTHONPATH="${S}:${PYTHONPATH}" "${PYTHON}" -m nnpy.tests || die
46 -}
47 +distutils_enable_tests unittest