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/rospkg/
Date: Sat, 19 Mar 2022 14:02:52 +0000 (UTC)	[thread overview]
Message-ID: <1647698560.7f4c2c8909f0516d49c4e4e0c530f8382cc2e272.arthurzam@gentoo> (raw)

commit:     7f4c2c8909f0516d49c4e4e0c530f8382cc2e272
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 07:11:41 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 14:02:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4c2c89

dev-python/rospkg: update live ebuild

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

 dev-python/rospkg/rospkg-9999.ebuild | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/dev-python/rospkg/rospkg-9999.ebuild b/dev-python/rospkg/rospkg-9999.ebuild
index fbd4db374f38..430b4a135478 100644
--- a/dev-python/rospkg/rospkg-9999.ebuild
+++ b/dev-python/rospkg/rospkg-9999.ebuild
@@ -1,23 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
-
-SCM=""
-if [ "${PV#9999}" != "${PV}" ] ; then
-	SCM="git-r3"
-	EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg"
-fi
-
-inherit ${SCM} distutils-r1
+inherit distutils-r1
 
 DESCRIPTION="Standalone Python library for the ROS package system"
 HOMEPAGE="https://wiki.ros.org/rospkg"
-if [ "${PV#9999}" != "${PV}" ] ; then
-	SRC_URI=""
-	# Needed for tests
+
+if [[ ${PV} = *9999 ]]; then
+	EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg"
+	inherit git-r3
+
 	S="${WORKDIR}/${PN}"
 	EGIT_CHECKOUT_DIR="${S}"
 else
@@ -28,7 +24,8 @@ fi
 LICENSE="BSD"
 SLOT="0"
 
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
+RDEPEND="
+	dev-python/pyyaml[${PYTHON_USEDEP}]
 	dev-python/catkin_pkg[${PYTHON_USEDEP}]
 	dev-python/distro[${PYTHON_USEDEP}]
 "
@@ -37,6 +34,8 @@ BDEPEND="
 		dev-python/mock[${PYTHON_USEDEP}]
 	)
 "
-PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
+PATCHES=(
+	"${FILESDIR}/gentoo.patch"
+)
 
-distutils_enable_tests nose
+distutils_enable_tests pytest


             reply	other threads:[~2022-03-19 14:02 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19 14:02 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-19 14:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/ Arthur Zamarin
2021-09-23 14:07 Arthur Zamarin
2021-08-06 14:35 Alexis Ballier
2020-10-13 11:31 Alexis Ballier
2020-08-17 12:53 Sam James
2020-08-04 17:16 Joonas Niilola
2020-08-04 16:00 Alexis Ballier
2020-07-27 12:11 Alexis Ballier
2020-04-14 12:54 Alexis Ballier
2020-02-06  5:59 Michał Górny
2019-12-11 15:26 Alexis Ballier
2019-12-11 15:26 Alexis Ballier
2019-05-17 16:28 Alexis Ballier
2018-08-17 13:08 Alexis Ballier
2018-02-12 14:03 Alexis Ballier
2017-12-08 18:44 Alexis Ballier
2017-12-08 18:44 Alexis Ballier
2017-10-14 11:41 Alexis Ballier
2017-10-14 11:41 Alexis Ballier
2017-09-28 12:50 Alexis Ballier
2017-09-28 12:50 Alexis Ballier
2017-08-15  6:25 Alexis Ballier
2017-04-12 19:20 Alexis Ballier
2017-02-28 11:27 Alexis Ballier
2017-02-27 10:49 Alexis Ballier
2017-02-27 10:49 Alexis Ballier
2017-02-09 17:46 Alexis Ballier
2016-10-07 15:55 Alexis Ballier
2016-09-29 12:53 Alexis Ballier
2016-09-01 10:39 Alexis Ballier
2016-04-25  8:57 Alexis Ballier
2016-02-23 18:38 Alexis Ballier
2015-10-24  9:02 Alexis Ballier
2015-10-13  7:59 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=1647698560.7f4c2c8909f0516d49c4e4e0c530f8382cc2e272.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