diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-16 14:07:03 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-23 17:06:08 +0300 |
commit | 3f9aba54793bae3bc4197ab8437a8ea9c760cadd (patch) | |
tree | 14999618aeb1ca157d1dfe456eb39583251acaa6 /dev-python/ament_package | |
parent | dev-util/catkin: enable py3.10 (diff) | |
download | gentoo-3f9aba54793bae3bc4197ab8437a8ea9c760cadd.tar.gz gentoo-3f9aba54793bae3bc4197ab8437a8ea9c760cadd.tar.bz2 gentoo-3f9aba54793bae3bc4197ab8437a8ea9c760cadd.zip |
dev-python/ament_package: enable py3.10, use d_e_t
passes tests
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/ament_package')
-rw-r--r-- | dev-python/ament_package/ament_package-0.12.0.ebuild | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/dev-python/ament_package/ament_package-0.12.0.ebuild b/dev-python/ament_package/ament_package-0.12.0.ebuild index 6027deba39c6..b4f7729e8a38 100644 --- a/dev-python/ament_package/ament_package-0.12.0.ebuild +++ b/dev-python/ament_package/ament_package-0.12.0.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{3_7,3_8,3_9} ) + +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -13,19 +14,7 @@ SRC_URI="https://github.com/ament/ament_package/archive/${PV}.tar.gz -> ${P}.tar LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${DEPEND} - test? ( - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" +BDEPEND="test? ( dev-python/flake8[${PYTHON_USEDEP}] )" -python_test() { - py.test || die -} +distutils_enable_tests pytest |