1 |
commit: 3f9aba54793bae3bc4197ab8437a8ea9c760cadd |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 16 11:07:03 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 23 14:06:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9aba54 |
7 |
|
8 |
dev-python/ament_package: enable py3.10, use d_e_t |
9 |
|
10 |
passes tests |
11 |
|
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
dev-python/ament_package/ament_package-0.12.0.ebuild | 19 ++++--------------- |
15 |
1 file changed, 4 insertions(+), 15 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/ament_package/ament_package-0.12.0.ebuild b/dev-python/ament_package/ament_package-0.12.0.ebuild |
18 |
index 6027deba39c..b4f7729e8a3 100644 |
19 |
--- a/dev-python/ament_package/ament_package-0.12.0.ebuild |
20 |
+++ b/dev-python/ament_package/ament_package-0.12.0.ebuild |
21 |
@@ -2,7 +2,8 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
|
29 |
inherit distutils-r1 |
30 |
|
31 |
@@ -13,19 +14,7 @@ SRC_URI="https://github.com/ament/ament_package/archive/${PV}.tar.gz -> ${P}.tar |
32 |
LICENSE="Apache-2.0" |
33 |
SLOT="0" |
34 |
KEYWORDS="~amd64" |
35 |
-IUSE="test" |
36 |
-RESTRICT="!test? ( test )" |
37 |
|
38 |
-DEPEND="" |
39 |
-RDEPEND="${DEPEND}" |
40 |
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
41 |
-DEPEND="${DEPEND} |
42 |
- test? ( |
43 |
- dev-python/flake8[${PYTHON_USEDEP}] |
44 |
- dev-python/pytest[${PYTHON_USEDEP}] |
45 |
- ) |
46 |
-" |
47 |
+BDEPEND="test? ( dev-python/flake8[${PYTHON_USEDEP}] )" |
48 |
|
49 |
-python_test() { |
50 |
- py.test || die |
51 |
-} |
52 |
+distutils_enable_tests pytest |