commit: 86244c4e5de81b00e41c692782a5214fbee82673 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Tue Aug 3 14:12:03 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=86244c4e
dev-ros/ament_cppcheck: py improvments add py39/310 enable but restrict tests Closes: https://bugs.gentoo.org/798621 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/ament_cppcheck/ament_cppcheck-0.10.4.ebuild | 7 ++++++- dev-ros/ament_cppcheck/ament_cppcheck-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dev-ros/ament_cppcheck/ament_cppcheck-0.10.4.ebuild b/dev-ros/ament_cppcheck/ament_cppcheck-0.10.4.ebuild index 2dbf9430dfe..1ec0564cee8 100644 --- a/dev-ros/ament_cppcheck/ament_cppcheck-0.10.4.ebuild +++ b/dev-ros/ament_cppcheck/ament_cppcheck-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_cppcheck/ament_cppcheck-9999.ebuild b/dev-ros/ament_cppcheck/ament_cppcheck-9999.ebuild index 2dbf9430dfe..1ec0564cee8 100644 --- a/dev-ros/ament_cppcheck/ament_cppcheck-9999.ebuild +++ b/dev-ros/ament_cppcheck/ament_cppcheck-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