Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/enzyme/
Date: Sun, 02 Aug 2020 19:05:37
Message-Id: 1596394736.fe42987634ae134b618daeb7e63d64c3dc0af4a1.sam@gentoo
1 commit: fe42987634ae134b618daeb7e63d64c3dc0af4a1
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 2 18:58:55 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 2 18:58:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe429876
7
8 dev-python/enzyme: add Python 3.9
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-python/enzyme/enzyme-0.4.1-r2.ebuild | 13 +++++--------
14 dev-python/enzyme/enzyme-9999.ebuild | 14 +++++---------
15 2 files changed, 10 insertions(+), 17 deletions(-)
16
17 diff --git a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild
18 index c4c197a51f0..21430148dd1 100644
19 --- a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild
20 +++ b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild
21 @@ -1,9 +1,9 @@
22 # Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27
28 -PYTHON_COMPAT=( python3_{6,7,8} )
29 +PYTHON_COMPAT=( python3_{6,7,8,9} )
30 PYTHON_REQ_USE='xml(+)'
31
32 inherit distutils-r1
33 @@ -21,8 +21,7 @@ KEYWORDS="amd64 x86"
34 IUSE="test"
35 RESTRICT="!test? ( test )"
36
37 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
38 -DEPEND="${RDEPEND}
39 +BDEPEND="
40 test? (
41 app-arch/unzip
42 dev-python/pyyaml[${PYTHON_USEDEP}]
43 @@ -30,6 +29,8 @@ DEPEND="${RDEPEND}
44 )
45 "
46
47 +distutils_enable_tests setup.py
48 +
49 python_prepare_all() {
50 if use test; then
51 mkdir enzyme/tests/test_{mkv,parsers} || die
52 @@ -39,7 +40,3 @@ python_prepare_all() {
53
54 distutils-r1_python_prepare_all
55 }
56 -
57 -python_test() {
58 - esetup.py test
59 -}
60
61 diff --git a/dev-python/enzyme/enzyme-9999.ebuild b/dev-python/enzyme/enzyme-9999.ebuild
62 index 303680658ee..40184beaebb 100644
63 --- a/dev-python/enzyme/enzyme-9999.ebuild
64 +++ b/dev-python/enzyme/enzyme-9999.ebuild
65 @@ -1,9 +1,9 @@
66 # Copyright 1999-2020 Gentoo Authors
67 # Distributed under the terms of the GNU General Public License v2
68
69 -EAPI=6
70 +EAPI=7
71
72 -PYTHON_COMPAT=( python3_6 )
73 +PYTHON_COMPAT=( python3_{6,7,8,9} )
74 PYTHON_REQ_USE='xml(+)'
75
76 inherit distutils-r1 git-r3
77 @@ -15,12 +15,10 @@ SRC_URI="test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip
78
79 LICENSE="Apache-2.0"
80 SLOT="0"
81 -KEYWORDS=""
82 IUSE="test"
83 RESTRICT="!test? ( test )"
84
85 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
86 -DEPEND="${RDEPEND}
87 +BDEPEND="
88 test? (
89 app-arch/unzip
90 dev-python/pyyaml[${PYTHON_USEDEP}]
91 @@ -28,6 +26,8 @@ DEPEND="${RDEPEND}
92 )
93 "
94
95 +distutils_enable_tests setup.py
96 +
97 src_unpack() {
98 default_src_unpack
99 git-r3_src_unpack
100 @@ -42,7 +42,3 @@ python_prepare_all() {
101
102 distutils-r1_python_prepare_all
103 }
104 -
105 -python_test() {
106 - esetup.py test
107 -}