diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-24 13:09:03 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-24 13:29:45 +0300 |
commit | 05bf799476a0dd63b540591021d1512162693807 (patch) | |
tree | 92e79f1651e5a5e39aff997250b71af8a92ed4ad /dev-ros | |
parent | dev-ros/ament_cmake_cppcheck: enable py3.9 (diff) | |
download | gentoo-05bf799476a0dd63b540591021d1512162693807.tar.gz gentoo-05bf799476a0dd63b540591021d1512162693807.tar.bz2 gentoo-05bf799476a0dd63b540591021d1512162693807.zip |
dev-ros/ament_cmake_uncrustify: 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_uncrustify/ament_cmake_uncrustify-0.11.2.ebuild | 16 | ||||
-rw-r--r-- | dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild | 16 |
2 files changed, 12 insertions, 20 deletions
diff --git a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.11.2.ebuild b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.11.2.ebuild index ba3ee494af1c..826f45045e89 100644 --- a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-0.11.2.ebuild +++ b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-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 CMake API for ament_uncrustify to check code against styleconventions" @@ -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,9 +30,10 @@ RDEPEND=" dev-ros/ament_cmake_test dev-ros/ament_uncrustify " -DEPEND="" 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}]') dev-ros/ament_cmake_test dev-ros/ament_cmake_core test? ( diff --git a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild index ba3ee494af1c..826f45045e89 100644 --- a/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-9999.ebuild +++ b/dev-ros/ament_cmake_uncrustify/ament_cmake_uncrustify-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 CMake API for ament_uncrustify to check code against styleconventions" @@ -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,9 +30,10 @@ RDEPEND=" dev-ros/ament_cmake_test dev-ros/ament_uncrustify " -DEPEND="" 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}]') dev-ros/ament_cmake_test dev-ros/ament_cmake_core test? ( |