Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/catkin_pkg/, dev-python/catkin_pkg/files/
Date: Fri, 17 Aug 2018 13:08:11
Message-Id: 1534511278.91c14cabfa6fa2e752c81bf35031b7a7433ec5e2.aballier@gentoo
1 commit: 91c14cabfa6fa2e752c81bf35031b7a7433ec5e2
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 17 12:53:40 2018 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 17 13:07:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c14cab
7
8 dev-python/catkin_pkg: Remove old
9
10 Package-Manager: Portage-2.3.46, Repoman-2.3.10
11
12 dev-python/catkin_pkg/Manifest | 2 -
13 dev-python/catkin_pkg/catkin_pkg-0.4.2.ebuild | 47 -----------------------
14 dev-python/catkin_pkg/catkin_pkg-0.4.6.ebuild | 49 ------------------------
15 dev-python/catkin_pkg/files/catkin_prefix.patch | 28 --------------
16 dev-python/catkin_pkg/files/infinite_loop2.patch | 27 -------------
17 5 files changed, 153 deletions(-)
18
19 diff --git a/dev-python/catkin_pkg/Manifest b/dev-python/catkin_pkg/Manifest
20 index 8e7c054db21..bcf225a1d04 100644
21 --- a/dev-python/catkin_pkg/Manifest
22 +++ b/dev-python/catkin_pkg/Manifest
23 @@ -1,3 +1 @@
24 -DIST catkin_pkg-0.4.2-gh.tar.gz 52930 BLAKE2B 2b8589441d241197c661975c07c60856c614c4c328e441e6fbb1cb41ea2919f57864f67198b684eba7183004671df0980ddcf0070a53099074433166b5d7db20 SHA512 cb47771172d88792bc7039f072175a6f410aa046e2611ccc75e46bda388d620ac0059e0fa9e087fbb7f2833600a7233d714c1aeeab65e264606d8ae2e64d76bb
25 -DIST catkin_pkg-0.4.6-gh.tar.gz 60713 BLAKE2B 88442adafcedd90a53a37c5aa3632d06dd88c1c685427708e7801d2a6702b229dfc3f81ac3dfb0ac6ad7c932865b9a61b8c6da28165acef8fa45859cd3a8aaf6 SHA512 d95362a56680f3ca1eb33299e041d6a0a8bbe35bb4a20f411c3b846a2b6fe91f583ffa7a1ed1884604a420dcc1b5e88fe3336ebfebe9a51a7a9f2c8a80f79f8f
26 DIST catkin_pkg-0.4.7-gh.tar.gz 60765 BLAKE2B 905de7f4f013f8e7d6472b5159cb0e9ac82bb06dfca0308a7a5f8881402a721d987a016f7980f7a435a7122c4771311f82f56f460949370ecd93057ef8a8bb25 SHA512 1e947c09aa4789d414de74bed7b1aa3d5f5d16d22a8a4609f656b47e51b7318fdd21e003f8bf65355728abaf54a016ce2d78b79cc4ab8bd7c3e048b66c0c0f6e
27
28 diff --git a/dev-python/catkin_pkg/catkin_pkg-0.4.2.ebuild b/dev-python/catkin_pkg/catkin_pkg-0.4.2.ebuild
29 deleted file mode 100644
30 index f74d5f891e5..00000000000
31 --- a/dev-python/catkin_pkg/catkin_pkg-0.4.2.ebuild
32 +++ /dev/null
33 @@ -1,47 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
39 -
40 -SCM=""
41 -if [ "${PV#9999}" != "${PV}" ] ; then
42 - SCM="git-r3"
43 - EGIT_REPO_URI="https://github.com/ros-infrastructure/catkin_pkg"
44 -fi
45 -
46 -inherit ${SCM} distutils-r1
47 -
48 -DESCRIPTION="Standalone Python library for the catkin package system"
49 -HOMEPAGE="http://wiki.ros.org/catkin_pkg"
50 -if [ "${PV#9999}" != "${PV}" ] ; then
51 - SRC_URI=""
52 - KEYWORDS=""
53 -else
54 - SRC_URI="https://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}-gh.tar.gz"
55 - KEYWORDS="~amd64 ~arm"
56 -fi
57 -
58 -LICENSE="BSD"
59 -SLOT="0"
60 -IUSE="test"
61 -
62 -RDEPEND="
63 - dev-python/setuptools[${PYTHON_USEDEP}]
64 - dev-python/docutils[${PYTHON_USEDEP}]
65 - dev-python/python-dateutil[${PYTHON_USEDEP}]
66 - dev-python/pyparsing[${PYTHON_USEDEP}]
67 -"
68 -DEPEND="${RDEPEND}
69 - test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] )
70 -"
71 -PATCHES=(
72 - "${FILESDIR}/catkin_prefix.patch"
73 - "${FILESDIR}/argparse.patch"
74 - "${FILESDIR}/ros_packages.patch"
75 - "${FILESDIR}/infinite_loop2.patch"
76 -)
77 -
78 -python_test() {
79 - nosetests -s --tests test || die
80 -}
81
82 diff --git a/dev-python/catkin_pkg/catkin_pkg-0.4.6.ebuild b/dev-python/catkin_pkg/catkin_pkg-0.4.6.ebuild
83 deleted file mode 100644
84 index 263dc13362e..00000000000
85 --- a/dev-python/catkin_pkg/catkin_pkg-0.4.6.ebuild
86 +++ /dev/null
87 @@ -1,49 +0,0 @@
88 -# Copyright 1999-2018 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=5
92 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
93 -
94 -SCM=""
95 -if [ "${PV#9999}" != "${PV}" ] ; then
96 - SCM="git-r3"
97 - EGIT_REPO_URI="https://github.com/ros-infrastructure/catkin_pkg"
98 -fi
99 -
100 -inherit ${SCM} distutils-r1
101 -
102 -DESCRIPTION="Standalone Python library for the catkin package system"
103 -HOMEPAGE="http://wiki.ros.org/catkin_pkg"
104 -if [ "${PV#9999}" != "${PV}" ] ; then
105 - SRC_URI=""
106 - KEYWORDS=""
107 -else
108 - SRC_URI="https://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}-gh.tar.gz"
109 - KEYWORDS="~amd64 ~arm"
110 -fi
111 -
112 -LICENSE="BSD"
113 -SLOT="0"
114 -IUSE="test"
115 -
116 -RDEPEND="
117 - dev-python/setuptools[${PYTHON_USEDEP}]
118 - dev-python/docutils[${PYTHON_USEDEP}]
119 - dev-python/python-dateutil[${PYTHON_USEDEP}]
120 - dev-python/pyparsing[${PYTHON_USEDEP}]
121 -"
122 -DEPEND="${RDEPEND}
123 - test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] )
124 -"
125 -RDEPEND="${RDEPEND}
126 - !<dev-util/catkin-0.7.14"
127 -PATCHES=(
128 - "${FILESDIR}/catkin_prefix2.patch"
129 - "${FILESDIR}/argparse.patch"
130 - "${FILESDIR}/ros_packages.patch"
131 - "${FILESDIR}/infinite_loop3.patch"
132 -)
133 -
134 -python_test() {
135 - nosetests -s --tests test || die
136 -}
137
138 diff --git a/dev-python/catkin_pkg/files/catkin_prefix.patch b/dev-python/catkin_pkg/files/catkin_prefix.patch
139 deleted file mode 100644
140 index fe9cc347882..00000000000
141 --- a/dev-python/catkin_pkg/files/catkin_prefix.patch
142 +++ /dev/null
143 @@ -1,28 +0,0 @@
144 -Allow CATKIN_PREFIX_PATH to work as CMAKE_PREFIX_PATH:
145 -When building with SYSROOT!=/, CMAKE_PREFIX_PATH is the same as with SYSROOT=/
146 -but we need to find packages in SYSROOT.
147 -
148 -Index: catkin_pkg-0.2.8/src/catkin_pkg/workspaces.py
149 -===================================================================
150 ---- catkin_pkg-0.2.8.orig/src/catkin_pkg/workspaces.py
151 -+++ catkin_pkg-0.2.8/src/catkin_pkg/workspaces.py
152 -@@ -42,15 +42,16 @@ CATKIN_WORKSPACE_MARKER_FILE = '.catkin_
153 -
154 - def get_spaces(paths=None):
155 - """
156 -- Return a list of spaces based on the CMAKE_PREFIX_PATH or passed in list of workspaces.
157 -+ Return a list of spaces based on the CMAKE_PREFIX_PATH/CATKIN_PREFIX_PATH or passed in list of workspaces.
158 - It resolves the source space for each devel space and ignores non-catkin paths.
159 - :param paths_to_order: list of paths
160 - :param prefix_paths: list of prefixes, must not end with '/'
161 - """
162 - if paths is None:
163 -- if 'CMAKE_PREFIX_PATH' not in os.environ:
164 -- raise RuntimeError('Neither the environment variable CMAKE_PREFIX_PATH is set nor was a list of paths passed.')
165 -+ if 'CMAKE_PREFIX_PATH' not in os.environ and 'CATKIN_PREFIX_PATH' not in os.environ:
166 -+ raise RuntimeError('None of the environment variables CMAKE_PREFIX_PATH or CATKIN_PREFIX_PATH are set nor was a list of paths passed.')
167 - paths = os.environ['CMAKE_PREFIX_PATH'].split(os.pathsep) if os.environ['CMAKE_PREFIX_PATH'] else []
168 -+ paths += os.environ['CATKIN_PREFIX_PATH'].split(os.pathsep) if os.environ['CATKIN_PREFIX_PATH'] else []
169 -
170 - spaces = []
171 - for path in paths:
172
173 diff --git a/dev-python/catkin_pkg/files/infinite_loop2.patch b/dev-python/catkin_pkg/files/infinite_loop2.patch
174 deleted file mode 100644
175 index 7c5edba2b50..00000000000
176 --- a/dev-python/catkin_pkg/files/infinite_loop2.patch
177 +++ /dev/null
178 @@ -1,27 +0,0 @@
179 -https://bugs.gentoo.org/show_bug.cgi?id=612860
180 -By Tim Rakowski
181 -We os.walk /usr with followlinks=True, but at least nodejs contains a "recursive" link in /usr/include/node
182 -
183 -Index: catkin_pkg-0.3.6/src/catkin_pkg/packages.py
184 -===================================================================
185 ---- catkin_pkg-0.3.6.orig/src/catkin_pkg/packages.py
186 -+++ catkin_pkg-0.3.6/src/catkin_pkg/packages.py
187 -@@ -56,7 +56,9 @@ def find_package_paths(basepath, exclude
188 - """
189 - paths = []
190 - real_exclude_paths = [os.path.realpath(p) for p in exclude_paths] if exclude_paths is not None else []
191 -+ visited = set()
192 - for dirpath, dirnames, filenames in os.walk(basepath, followlinks=True):
193 -+ visited.add(dirpath)
194 - if 'CATKIN_IGNORE' in filenames or \
195 - os.path.realpath(dirpath) in real_exclude_paths or \
196 - (exclude_subspaces and '.catkin' in filenames):
197 -@@ -67,7 +69,7 @@ def find_package_paths(basepath, exclude
198 - del dirnames[:]
199 - continue
200 - # filter out hidden directories in-place
201 -- dirnames[:] = [d for d in dirnames if not d.startswith('.')]
202 -+ dirnames[:] = [d for d in dirnames if not d.startswith('.') and not os.path.realpath(os.path.join(dirpath, d)) in visited]
203 - return paths
204 -
205 -