commit: c5566b0759e89abc79fc8e73143f450ec3978929 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Tue Aug 3 14:01:03 2021 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Tue Aug 3 14:12:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5566b07
dev-ros/ament_lint: python improvements add py39 & 310 setup distutils dep properly enable but restrict tests Closes: https://bugs.gentoo.org/798624 Closes: https://bugs.gentoo.org/803005 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> .../{ament_lint-0.10.4.ebuild => ament_lint-0.10.4-r1.ebuild} | 7 ++++++- dev-ros/ament_lint/ament_lint-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dev-ros/ament_lint/ament_lint-0.10.4.ebuild b/dev-ros/ament_lint/ament_lint-0.10.4-r1.ebuild similarity index 79% rename from dev-ros/ament_lint/ament_lint-0.10.4.ebuild rename to dev-ros/ament_lint/ament_lint-0.10.4-r1.ebuild index ea29b12dcd4..8c8bff8aecc 100644 --- a/dev-ros/ament_lint/ament_lint-0.10.4.ebuild +++ b/dev-ros/ament_lint/ament_lint-0.10.4-r1.ebuild @@ -3,7 +3,8 @@ 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 @@ -33,3 +34,7 @@ IUSE="" RDEPEND="" DEPEND="${RDEPEND}" 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_lint/ament_lint-9999.ebuild b/dev-ros/ament_lint/ament_lint-9999.ebuild index ea29b12dcd4..8c8bff8aecc 100644 --- a/dev-ros/ament_lint/ament_lint-9999.ebuild +++ b/dev-ros/ament_lint/ament_lint-9999.ebuild @@ -3,7 +3,8 @@ 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 @@ -33,3 +34,7 @@ IUSE="" RDEPEND="" DEPEND="${RDEPEND}" BDEPEND="" +# pytest.ini is there but no tests are ran causing it to fail +RESTRICT="test" + +distutils_enable_tests pytest
