commit:     1ecca5a4ce493228e81f0f15d37737ce913f262a
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  3 14:07:30 2021 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Aug  3 14:12:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ecca5a4

dev-ros/ament_uncrustify: python improvments

add py39/310

enable but restrict tests

Closes: https://bugs.gentoo.org/798660
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 dev-ros/ament_uncrustify/ament_uncrustify-0.10.4.ebuild | 7 ++++++-
 dev-ros/ament_uncrustify/ament_uncrustify-9999.ebuild   | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-ros/ament_uncrustify/ament_uncrustify-0.10.4.ebuild 
b/dev-ros/ament_uncrustify/ament_uncrustify-0.10.4.ebuild
index 9fbde9ec7c9..4a530cd280f 100644
--- a/dev-ros/ament_uncrustify/ament_uncrustify-0.10.4.ebuild
+++ b/dev-ros/ament_uncrustify/ament_uncrustify-0.10.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python{3_8,3_9,3_10} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
@@ -36,3 +36,8 @@ RDEPEND="
 "
 DEPEND=""
 BDEPEND=""
+
+# pytest.ini is there but no tests are ran causing it to fail
+RESTRICT="test"
+
+distutils_enable_tests pytest

diff --git a/dev-ros/ament_uncrustify/ament_uncrustify-9999.ebuild 
b/dev-ros/ament_uncrustify/ament_uncrustify-9999.ebuild
index 9fbde9ec7c9..4a530cd280f 100644
--- a/dev-ros/ament_uncrustify/ament_uncrustify-9999.ebuild
+++ b/dev-ros/ament_uncrustify/ament_uncrustify-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python{3_8,3_9,3_10} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
@@ -36,3 +36,8 @@ RDEPEND="
 "
 DEPEND=""
 BDEPEND=""
+
+# pytest.ini is there but no tests are ran causing it to fail
+RESTRICT="test"
+
+distutils_enable_tests pytest

Reply via email to