public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rosdistro/
Date: Thu, 23 Sep 2021 14:07:36 +0000 (UTC)	[thread overview]
Message-ID: <1632406003.a28fd8f2f04a9f672d7ba3543d66a191fe914e7b.arthurzam@gentoo> (raw)

commit:     a28fd8f2f04a9f672d7ba3543d66a191fe914e7b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 16 11:35:48 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 14:06:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28fd8f2

dev-python/rosdistro: enable py3.10, use d_e_t

passes tests

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/rosdistro/rosdistro-0.8.3.ebuild | 18 +++++-------------
 dev-python/rosdistro/rosdistro-9999.ebuild  | 18 +++++-------------
 2 files changed, 10 insertions(+), 26 deletions(-)

diff --git a/dev-python/rosdistro/rosdistro-0.8.3.ebuild b/dev-python/rosdistro/rosdistro-0.8.3.ebuild
index 8bd21ec5771..87bc969239f 100644
--- a/dev-python/rosdistro/rosdistro-0.8.3.ebuild
+++ b/dev-python/rosdistro/rosdistro-0.8.3.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} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 SCM=""
@@ -24,31 +25,22 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-python/catkin_pkg[${PYTHON_USEDEP}]
 	dev-python/rospkg[${PYTHON_USEDEP}]
-	dev-python/pyyaml[${PYTHON_USEDEP}]
-	dev-python/setuptools[${PYTHON_USEDEP}]"
+	dev-python/pyyaml[${PYTHON_USEDEP}]"
 BDEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}
 	test? (
 		dev-python/mock[${PYTHON_USEDEP}]
 	)
 "
 PATCHES=( "${FILESDIR}/yaml.patch" )
 
+distutils_enable_tests nose
+
 src_prepare() {
 	# Requires network access
 	rm -f test/test_manifest_providers.py
 	default
 }
-
-python_test() {
-	nosetests --with-xunit test || die
-}

diff --git a/dev-python/rosdistro/rosdistro-9999.ebuild b/dev-python/rosdistro/rosdistro-9999.ebuild
index 8bd21ec5771..87bc969239f 100644
--- a/dev-python/rosdistro/rosdistro-9999.ebuild
+++ b/dev-python/rosdistro/rosdistro-9999.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} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 SCM=""
@@ -24,31 +25,22 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-python/catkin_pkg[${PYTHON_USEDEP}]
 	dev-python/rospkg[${PYTHON_USEDEP}]
-	dev-python/pyyaml[${PYTHON_USEDEP}]
-	dev-python/setuptools[${PYTHON_USEDEP}]"
+	dev-python/pyyaml[${PYTHON_USEDEP}]"
 BDEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}
 	test? (
 		dev-python/mock[${PYTHON_USEDEP}]
 	)
 "
 PATCHES=( "${FILESDIR}/yaml.patch" )
 
+distutils_enable_tests nose
+
 src_prepare() {
 	# Requires network access
 	rm -f test/test_manifest_providers.py
 	default
 }
-
-python_test() {
-	nosetests --with-xunit test || die
-}


             reply	other threads:[~2021-09-23 14:07 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 14:07 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-20 12:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/rosdistro/ Alexis Ballier
2020-08-17 12:53 Sam James
2020-08-07 15:57 Alexis Ballier
2020-07-27 12:11 Alexis Ballier
2020-03-29  7:31 Michał Górny
2020-02-06  5:59 Michał Górny
2019-12-11 15:26 Alexis Ballier
2019-05-17 16:28 Alexis Ballier
2019-05-17 16:28 Alexis Ballier
2019-02-15 12:36 Alexis Ballier
2019-01-15 10:46 Alexis Ballier
2019-01-15 10:46 Alexis Ballier
2019-01-08  8:54 Alexis Ballier
2018-08-17 13:08 Alexis Ballier
2018-08-17 13:08 Alexis Ballier
2018-03-04 14:20 Alexis Ballier
2018-03-04 14:20 Alexis Ballier
2018-01-28 12:54 Alexis Ballier
2018-01-28 12:54 Alexis Ballier
2018-01-13 12:16 Alexis Ballier
2018-01-13 12:16 Alexis Ballier
2017-12-26 19:08 Alexis Ballier
2017-04-06  8:21 Alexis Ballier
2017-02-27 17:10 Alexis Ballier
2017-02-27 17:10 Alexis Ballier
2017-02-23  9:16 Alexis Ballier
2016-10-25 11:08 Alexis Ballier
2016-10-25 11:08 Alexis Ballier
2016-03-14 11:49 Alexis Ballier
2016-02-23 18:49 Alexis Ballier
2016-02-23 18:49 Alexis Ballier
2016-02-09  8:45 Alexis Ballier
2015-09-17  7:25 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632406003.a28fd8f2f04a9f672d7ba3543d66a191fe914e7b.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox