From 67ef28832c62b655353a438c7a886270f8993b1f Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Thu, 16 Sep 2021 14:29:15 +0300 Subject: dev-python/rospkg: enable py3.10, use d_e_t passes tests Closes: https://bugs.gentoo.org/806860 Signed-off-by: Arthur Zamarin --- dev-python/rospkg/rospkg-1.3.0.ebuild | 16 +++------------- dev-python/rospkg/rospkg-9999.ebuild | 16 +++------------- 2 files changed, 6 insertions(+), 26 deletions(-) (limited to 'dev-python/rospkg') diff --git a/dev-python/rospkg/rospkg-1.3.0.ebuild b/dev-python/rospkg/rospkg-1.3.0.ebuild index 9a43e2fb6d1e..fbd4db374f38 100644 --- a/dev-python/rospkg/rospkg-1.3.0.ebuild +++ b/dev-python/rospkg/rospkg-1.3.0.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{3_7,3_8,3_9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend + +PYTHON_COMPAT=( python3_{8..10} ) SCM="" if [ "${PV#9999}" != "${PV}" ] ; then @@ -27,26 +27,16 @@ fi LICENSE="BSD" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}] dev-python/distro[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} ${BDEPEND} test? ( - dev-python/coverage[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] ) " PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" ) -python_test() { - nosetests --with-coverage --cover-package=rospkg --with-xunit test || die -} +distutils_enable_tests nose diff --git a/dev-python/rospkg/rospkg-9999.ebuild b/dev-python/rospkg/rospkg-9999.ebuild index 9a43e2fb6d1e..fbd4db374f38 100644 --- a/dev-python/rospkg/rospkg-9999.ebuild +++ b/dev-python/rospkg/rospkg-9999.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{3_7,3_8,3_9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend + +PYTHON_COMPAT=( python3_{8..10} ) SCM="" if [ "${PV#9999}" != "${PV}" ] ; then @@ -27,26 +27,16 @@ fi LICENSE="BSD" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}] dev-python/distro[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} ${BDEPEND} test? ( - dev-python/coverage[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] ) " PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" ) -python_test() { - nosetests --with-coverage --cover-package=rospkg --with-xunit test || die -} +distutils_enable_tests nose -- cgit v1.2.3-65-gdbad