summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-16 14:38:37 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-23 17:06:59 +0300
commitefa7878a6a320688495cbc5e1b6b3b75c86f8ee5 (patch)
tree8d5513d66d80d9d18c66455b2ad9afdae3149399 /dev-python/urdf_parser_py
parentdev-python/rosdistro: enable py3.10, use d_e_t (diff)
downloadgentoo-efa7878a6a320688495cbc5e1b6b3b75c86f8ee5.tar.gz
gentoo-efa7878a6a320688495cbc5e1b6b3b75c86f8ee5.tar.bz2
gentoo-efa7878a6a320688495cbc5e1b6b3b75c86f8ee5.zip
dev-python/urdf_parser_py: enable py3.10, use d_e_t
passes tests Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/urdf_parser_py')
-rw-r--r--dev-python/urdf_parser_py/urdf_parser_py-0.4.5.ebuild18
1 files changed, 5 insertions, 13 deletions
diff --git a/dev-python/urdf_parser_py/urdf_parser_py-0.4.5.ebuild b/dev-python/urdf_parser_py/urdf_parser_py-0.4.5.ebuild
index eb02edd82cea..7d12842e3722 100644
--- a/dev-python/urdf_parser_py/urdf_parser_py-0.4.5.ebuild
+++ b/dev-python/urdf_parser_py/urdf_parser_py-0.4.5.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="URDF parser for Python"
@@ -13,24 +13,16 @@ SRC_URI="https://github.com/ros/urdf_parser_py/archive/${PV}.tar.gz -> ${P}.tar.
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm"
-IUSE="test"
-RESTRICT="!test? ( test )"
-DEPEND=""
-RDEPEND="${DEPEND}
+RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/catkin_pkg[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}
+BDEPEND="
test? (
- dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
- )"
-BDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
+ )
"
-python_test() {
- nosetests --with-coverage || die
-}
+distutils_enable_tests nose