1 |
commit: 59acee5291513d54bf5ed1ee873c769ea9b1ffe8 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 07:22:30 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 07:22:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59acee52 |
7 |
|
8 |
dev-ros/ament_lint_cmake: enable py3.{9,10} for live version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/832244 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
.../ament_lint_cmake/ament_lint_cmake-9999.ebuild | 23 ++++++---------------- |
14 |
1 file changed, 6 insertions(+), 17 deletions(-) |
15 |
|
16 |
diff --git a/dev-ros/ament_lint_cmake/ament_lint_cmake-9999.ebuild b/dev-ros/ament_lint_cmake/ament_lint_cmake-9999.ebuild |
17 |
index b926d90a9384..c756912e7c5c 100644 |
18 |
--- a/dev-ros/ament_lint_cmake/ament_lint_cmake-9999.ebuild |
19 |
+++ b/dev-ros/ament_lint_cmake/ament_lint_cmake-9999.ebuild |
20 |
@@ -1,22 +1,21 @@ |
21 |
-# Copyright 2019-2021 Gentoo Authors |
22 |
+# Copyright 2019-2022 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
-PYTHON_COMPAT=( python{3_7,3_8} ) |
28 |
+PYTHON_COMPAT=( python3_{8..10} ) |
29 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
30 |
- |
31 |
inherit distutils-r1 |
32 |
|
33 |
ROS_PN="ament_lint" |
34 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
35 |
+if [[ "${PV}" == "9999" ]]; then |
36 |
inherit git-r3 |
37 |
EGIT_REPO_URI="https://github.com/ament/ament_lint" |
38 |
- SRC_URI="" |
39 |
- S=${WORKDIR}/${P}/${PN} |
40 |
+ S="${WORKDIR}/${P}/${PN}" |
41 |
else |
42 |
SRC_URI="https://github.com/ament/ament_lint/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" |
43 |
S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" |
44 |
+ KEYWORDS="~amd64" |
45 |
fi |
46 |
|
47 |
DESCRIPTION="Lint CMake code using cmakelint and generate xUnit test result files" |
48 |
@@ -24,23 +23,13 @@ HOMEPAGE="https://github.com/ament/ament_lint" |
49 |
|
50 |
LICENSE="Apache-2.0" |
51 |
SLOT="0" |
52 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
53 |
- PROPERTIES="live" |
54 |
-else |
55 |
- KEYWORDS="~amd64" |
56 |
-fi |
57 |
-IUSE="test" |
58 |
|
59 |
-RDEPEND=" |
60 |
-" |
61 |
-DEPEND="${RDEPEND} |
62 |
+BDEPEND=" |
63 |
test? ( |
64 |
dev-ros/ament_flake8[${PYTHON_USEDEP}] |
65 |
dev-ros/ament_pep257[${PYTHON_USEDEP}] |
66 |
dev-ros/ament_copyright[${PYTHON_USEDEP}] |
67 |
- dev-python/pytest[${PYTHON_USEDEP}] |
68 |
) |
69 |
" |
70 |
-BDEPEND="" |
71 |
|
72 |
distutils_enable_tests pytest |