Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/
Date: Sun, 29 Mar 2020 07:31:43
Message-Id: 1585467064.dc9da7ffe2c399ae57974a164dee6bedebdeef04.mgorny@gentoo
1 commit: dc9da7ffe2c399ae57974a164dee6bedebdeef04
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 07:17:40 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 07:31:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9da7ff
7
8 dev-python/rospkg: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/rospkg/Manifest | 2 --
13 dev-python/rospkg/files/gentoo.patch | 15 -----------
14 dev-python/rospkg/rospkg-1.1.10.ebuild | 49 ----------------------------------
15 dev-python/rospkg/rospkg-1.1.9.ebuild | 49 ----------------------------------
16 4 files changed, 115 deletions(-)
17
18 diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
19 index a12f2364d91..3d7146dfd9e 100644
20 --- a/dev-python/rospkg/Manifest
21 +++ b/dev-python/rospkg/Manifest
22 @@ -1,3 +1 @@
23 -DIST rospkg-1.1.10.tar.gz 90434 BLAKE2B 1eb128d7e3f6d07e8309ecf5ea6c4340afcbb6f0618fd4628543c046003782750c5013c13ff2ed17018abc6efc6ce2042ccf2c6dccea8933be7045ddfe3f4522 SHA512 54b1b0ca4683b9388989501781239cf35873f2bf2028d176718f624999835b21e44f0cc5988624b37f7172d21f0c01aa336d35a884753c842098e558c37ac6c8
24 -DIST rospkg-1.1.9.tar.gz 90412 BLAKE2B 4cca7d1ebfcba495aafd766f0d720a6bc6e5aade0bff098d4a1cbab3b55c7a720de7d1f97edf806a93cc21eeda4cac86e844b5e3b23f85cbcb7b328fd07da222 SHA512 d33005e29313ba06959189f8f563361fd9523c2368855f260347b4c509d8b4053f74db3e2cf5986031653d647ded097f272f65d617da93e13cf77a906cb56ca6
25 DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd SHA512 f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db
26
27 diff --git a/dev-python/rospkg/files/gentoo.patch b/dev-python/rospkg/files/gentoo.patch
28 deleted file mode 100644
29 index 5a9e7738b39..00000000000
30 --- a/dev-python/rospkg/files/gentoo.patch
31 +++ /dev/null
32 @@ -1,15 +0,0 @@
33 -Strip ros_packages/ from paths. ros_packages is only for avoiding to crawl the
34 -whole /usr but the real one in the path without it.
35 -
36 -Index: rospkg-1.1.0/src/rospkg/rospack.py
37 -===================================================================
38 ---- rospkg-1.1.0.orig/src/rospkg/rospack.py
39 -+++ rospkg-1.1.0/src/rospkg/rospack.py
40 -@@ -59,6 +59,7 @@ def list_by_path(manifest_name, path, ca
41 - path = os.path.abspath(path)
42 - basename = os.path.basename
43 - for d, dirs, files in os.walk(path, topdown=True, followlinks=True):
44 -+ d = d.replace('ros_packages/', '')
45 - if 'CATKIN_IGNORE' in files:
46 - del dirs[:]
47 - continue # leaf
48
49 diff --git a/dev-python/rospkg/rospkg-1.1.10.ebuild b/dev-python/rospkg/rospkg-1.1.10.ebuild
50 deleted file mode 100644
51 index f8ef1bca937..00000000000
52 --- a/dev-python/rospkg/rospkg-1.1.10.ebuild
53 +++ /dev/null
54 @@ -1,49 +0,0 @@
55 -# Copyright 1999-2020 Gentoo Authors
56 -# Distributed under the terms of the GNU General Public License v2
57 -
58 -EAPI=7
59 -PYTHON_COMPAT=( python3_6 pypy3 )
60 -
61 -SCM=""
62 -if [ "${PV#9999}" != "${PV}" ] ; then
63 - SCM="git-r3"
64 - EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg"
65 -fi
66 -
67 -inherit ${SCM} distutils-r1
68 -
69 -DESCRIPTION="Standalone Python library for the ROS package system"
70 -HOMEPAGE="http://wiki.ros.org/rospkg"
71 -if [ "${PV#9999}" != "${PV}" ] ; then
72 - SRC_URI=""
73 - KEYWORDS=""
74 - # Needed for tests
75 - S="${WORKDIR}/${PN}"
76 - EGIT_CHECKOUT_DIR="${S}"
77 -else
78 - SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz"
79 - KEYWORDS="~amd64 ~arm"
80 -fi
81 -
82 -LICENSE="BSD"
83 -SLOT="0"
84 -IUSE="test"
85 -RESTRICT="!test? ( test )"
86 -
87 -RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
88 -BDEPEND="
89 - dev-python/setuptools[${PYTHON_USEDEP}]
90 - test? (
91 - dev-python/nose[${PYTHON_USEDEP}]
92 - )"
93 -DEPEND="${RDEPEND} ${BDEPEND}
94 - test? (
95 - dev-python/coverage[${PYTHON_USEDEP}]
96 - dev-python/mock[${PYTHON_USEDEP}]
97 - )
98 -"
99 -PATCHES=( "${FILESDIR}/gentoo.patch" )
100 -
101 -python_test() {
102 - nosetests --with-coverage --cover-package=rospkg --with-xunit test || die
103 -}
104
105 diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild b/dev-python/rospkg/rospkg-1.1.9.ebuild
106 deleted file mode 100644
107 index f8ef1bca937..00000000000
108 --- a/dev-python/rospkg/rospkg-1.1.9.ebuild
109 +++ /dev/null
110 @@ -1,49 +0,0 @@
111 -# Copyright 1999-2020 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -PYTHON_COMPAT=( python3_6 pypy3 )
116 -
117 -SCM=""
118 -if [ "${PV#9999}" != "${PV}" ] ; then
119 - SCM="git-r3"
120 - EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg"
121 -fi
122 -
123 -inherit ${SCM} distutils-r1
124 -
125 -DESCRIPTION="Standalone Python library for the ROS package system"
126 -HOMEPAGE="http://wiki.ros.org/rospkg"
127 -if [ "${PV#9999}" != "${PV}" ] ; then
128 - SRC_URI=""
129 - KEYWORDS=""
130 - # Needed for tests
131 - S="${WORKDIR}/${PN}"
132 - EGIT_CHECKOUT_DIR="${S}"
133 -else
134 - SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz"
135 - KEYWORDS="~amd64 ~arm"
136 -fi
137 -
138 -LICENSE="BSD"
139 -SLOT="0"
140 -IUSE="test"
141 -RESTRICT="!test? ( test )"
142 -
143 -RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
144 -BDEPEND="
145 - dev-python/setuptools[${PYTHON_USEDEP}]
146 - test? (
147 - dev-python/nose[${PYTHON_USEDEP}]
148 - )"
149 -DEPEND="${RDEPEND} ${BDEPEND}
150 - test? (
151 - dev-python/coverage[${PYTHON_USEDEP}]
152 - dev-python/mock[${PYTHON_USEDEP}]
153 - )
154 -"
155 -PATCHES=( "${FILESDIR}/gentoo.patch" )
156 -
157 -python_test() {
158 - nosetests --with-coverage --cover-package=rospkg --with-xunit test || die
159 -}