summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-24 11:33:06 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-24 13:29:42 +0300
commitf68ed8aef5b7d4bdac1f0e552458c9e3bcc87e28 (patch)
treecc7af3f835f93d955be4b8bbab8c9ea6758a90da /dev-ros
parentdev-ros/ament_cmake_lint_cmake: enable py3.9, enable py3.10 (diff)
downloadgentoo-f68ed8aef5b7d4bdac1f0e552458c9e3bcc87e28.tar.gz
gentoo-f68ed8aef5b7d4bdac1f0e552458c9e3bcc87e28.tar.bz2
gentoo-f68ed8aef5b7d4bdac1f0e552458c9e3bcc87e28.zip
dev-ros/ament_cmake_copyright: enable py3.9, enable py3.10
passes tests Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild18
-rw-r--r--dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild18
2 files changed, 16 insertions, 20 deletions
diff --git a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild
index aedb04bff69e..a5d7095d6b60 100644
--- a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild
+++ b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-0.11.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit cmake python-any-r1
@@ -11,11 +11,11 @@ ROS_PN="ament_lint"
if [ "${PV#9999}" != "${PV}" ] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ament/ament_lint"
- SRC_URI=""
- S=${WORKDIR}/${P}/${PN}
+ S="${WORKDIR}/${P}/${PN}"
else
SRC_URI="https://github.com/ament/ament_lint/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz"
S="${WORKDIR}/${ROS_PN}-${PV}/${PN}"
+ KEYWORDS="~amd64"
fi
DESCRIPTION="The auto-magic functions for ease to use of the ament linters"
@@ -23,11 +23,6 @@ HOMEPAGE="https://github.com/ament/ament_lint"
LICENSE="Apache-2.0"
SLOT="0"
-if [ "${PV#9999}" != "${PV}" ] ; then
- PROPERTIES="live"
-else
- KEYWORDS="~amd64"
-fi
IUSE="test"
RESTRICT="!test? ( test )"
@@ -35,10 +30,13 @@ RDEPEND="
dev-ros/ament_copyright
dev-ros/ament_cmake_test
"
-DEPEND=""
# Deps here are transitive from ament_cmake_core to have matching python support
BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}] dev-ros/ament_copyright[${PYTHON_USEDEP}] test? ( dev-ros/ament_lint_cmake[${PYTHON_USEDEP}] )' )
+ $(python_gen_any_dep '
+ dev-python/ament_package[${PYTHON_USEDEP}]
+ dev-python/catkin_pkg[${PYTHON_USEDEP}]
+ dev-ros/ament_copyright[${PYTHON_USEDEP}]
+ test? ( dev-ros/ament_lint_cmake[${PYTHON_USEDEP}] )' )
dev-ros/ament_cmake_core
dev-ros/ament_cmake_test
dev-ros/ament_copyright
diff --git a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild
index aedb04bff69e..a5d7095d6b60 100644
--- a/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild
+++ b/dev-ros/ament_cmake_copyright/ament_cmake_copyright-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit cmake python-any-r1
@@ -11,11 +11,11 @@ ROS_PN="ament_lint"
if [ "${PV#9999}" != "${PV}" ] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ament/ament_lint"
- SRC_URI=""
- S=${WORKDIR}/${P}/${PN}
+ S="${WORKDIR}/${P}/${PN}"
else
SRC_URI="https://github.com/ament/ament_lint/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz"
S="${WORKDIR}/${ROS_PN}-${PV}/${PN}"
+ KEYWORDS="~amd64"
fi
DESCRIPTION="The auto-magic functions for ease to use of the ament linters"
@@ -23,11 +23,6 @@ HOMEPAGE="https://github.com/ament/ament_lint"
LICENSE="Apache-2.0"
SLOT="0"
-if [ "${PV#9999}" != "${PV}" ] ; then
- PROPERTIES="live"
-else
- KEYWORDS="~amd64"
-fi
IUSE="test"
RESTRICT="!test? ( test )"
@@ -35,10 +30,13 @@ RDEPEND="
dev-ros/ament_copyright
dev-ros/ament_cmake_test
"
-DEPEND=""
# Deps here are transitive from ament_cmake_core to have matching python support
BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}] dev-ros/ament_copyright[${PYTHON_USEDEP}] test? ( dev-ros/ament_lint_cmake[${PYTHON_USEDEP}] )' )
+ $(python_gen_any_dep '
+ dev-python/ament_package[${PYTHON_USEDEP}]
+ dev-python/catkin_pkg[${PYTHON_USEDEP}]
+ dev-ros/ament_copyright[${PYTHON_USEDEP}]
+ test? ( dev-ros/ament_lint_cmake[${PYTHON_USEDEP}] )' )
dev-ros/ament_cmake_core
dev-ros/ament_cmake_test
dev-ros/ament_copyright