commit:     d6cfdbac7f993a5f60829816e47722251bedeb14
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 24 10:15:59 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 10:29:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6cfdbac

dev-ros/ament_lint_auto: enable py3.9, enable py3.10

tested by checking reverse dependencies are building the same and
passing

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-ros/ament_lint_auto/ament_lint_auto-0.11.2.ebuild | 16 ++++++----------
 dev-ros/ament_lint_auto/ament_lint_auto-9999.ebuild   | 16 ++++++----------
 2 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/dev-ros/ament_lint_auto/ament_lint_auto-0.11.2.ebuild 
b/dev-ros/ament_lint_auto/ament_lint_auto-0.11.2.ebuild
index 99bd8c66a9d..7c0ae86f0a3 100644
--- a/dev-ros/ament_lint_auto/ament_lint_auto-0.11.2.ebuild
+++ b/dev-ros/ament_lint_auto/ament_lint_auto-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,12 +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=""
 
 RDEPEND="
        dev-ros/ament_cmake_core
@@ -37,7 +31,9 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 # 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}]')
+       $(python_gen_any_dep '
+               dev-python/ament_package[${PYTHON_USEDEP}]
+               dev-python/catkin_pkg[${PYTHON_USEDEP}]')
        ${PYTHON_DEPS}
 "
 

diff --git a/dev-ros/ament_lint_auto/ament_lint_auto-9999.ebuild 
b/dev-ros/ament_lint_auto/ament_lint_auto-9999.ebuild
index 99bd8c66a9d..7c0ae86f0a3 100644
--- a/dev-ros/ament_lint_auto/ament_lint_auto-9999.ebuild
+++ b/dev-ros/ament_lint_auto/ament_lint_auto-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,12 +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=""
 
 RDEPEND="
        dev-ros/ament_cmake_core
@@ -37,7 +31,9 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 # 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}]')
+       $(python_gen_any_dep '
+               dev-python/ament_package[${PYTHON_USEDEP}]
+               dev-python/catkin_pkg[${PYTHON_USEDEP}]')
        ${PYTHON_DEPS}
 "
 

Reply via email to