From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64319158012 for ; Thu, 23 Sep 2021 14:07:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B7B4E097C; Thu, 23 Sep 2021 14:07:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49C95E097C for ; Thu, 23 Sep 2021 14:07:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11411342E56 for ; Thu, 23 Sep 2021 14:07:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D7A6108 for ; Thu, 23 Sep 2021 14:07:36 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1632406003.a28fd8f2f04a9f672d7ba3543d66a191fe914e7b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rosdistro/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rosdistro/rosdistro-0.8.3.ebuild dev-python/rosdistro/rosdistro-9999.ebuild X-VCS-Directories: dev-python/rosdistro/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: a28fd8f2f04a9f672d7ba3543d66a191fe914e7b X-VCS-Branch: master Date: Thu, 23 Sep 2021 14:07:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3c31e035-26b4-4c42-a3db-ccbcc7863663 X-Archives-Hash: e5f5380ea7a8238ed9c664a75ef2e8f1 commit: a28fd8f2f04a9f672d7ba3543d66a191fe914e7b Author: Arthur Zamarin gentoo org> AuthorDate: Thu Sep 16 11:35:48 2021 +0000 Commit: Arthur Zamarin gentoo 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 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 -}