commit: 22d803245bc35305dde45a1873ffc5d352ed5fac
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 06:02:35 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 06:25:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d80324
dev-python/catkin_pkg: bump to 0.3.6 and update infinite loop patch
Package-Manager: Portage-2.3.7, Repoman-2.3.3
dev-python/catkin_pkg/Manifest | 1 +
...kin_pkg-9999.ebuild => catkin_pkg-0.3.6.ebuild} | 2 +-
dev-python/catkin_pkg/catkin_pkg-9999.ebuild | 2 +-
dev-python/catkin_pkg/files/infinite_loop2.patch | 27 ++++++++++++++++++++++
4 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/dev-python/catkin_pkg/Manifest b/dev-python/catkin_pkg/Manifest
index 6238f24ae9d..1e1b7e22a3b 100644
--- a/dev-python/catkin_pkg/Manifest
+++ b/dev-python/catkin_pkg/Manifest
@@ -1,2 +1,3 @@
DIST catkin_pkg-0.3.4-gh.tar.gz 47286 SHA256
e57164c46c20a2de338112beab65095717fa459526e42c37390b392a1480d7ce SHA512
857ed23534a8fd4a3bcfeac5173041b71e57566606f206e588caf76dfbfbb49d9cdd938345979a63c79069a73a087bf8371154650c3694768ea0f53b6c80ba06
WHIRLPOOL
35c08a08f049ace703ea20b1c80a2e47278acc131968825aaee9cd21bb1237d24058fc69883106e318038d7c0c7922b47755276a4656d9667b114e989335881a
DIST catkin_pkg-0.3.5-gh.tar.gz 47325 SHA256
bc9f45bdc36ec251d04049fff6501c13e16fbe2913b1abd211cecf9b6499477f SHA512
21c22efc23f80982fbda97e65cde9e7609733f4fabb53716c5693e44d7f01a09bfede7e5b628b4b399a2fb5f01113e5d259cef5d0df5eb702dc114d65b988683
WHIRLPOOL
dfbf1e7a85ecd39285c95ee4d51b2dbe986e935e2d0e127c3ade1fd9bc274c4d6cde1eb72131f129e4592adb841cb765f91e29231ae458a843c4b9515d0b0459
+DIST catkin_pkg-0.3.6-gh.tar.gz 47637 SHA256
b05797352a89986a6c637ef33685a8cd004a8e5138b553f42a82065bc02f808b SHA512
191ed93271c9e592040110c92a572570fa8dec328ae3203dfea9e1fb6a1cb906350c436d3a9416d6826e57a1d59ef42200797d6a5bdc390aa77d352f716e0cc8
WHIRLPOOL
83f73ddaad17b5cfef4945a4d0c900855586877c47962b903e68f821772f4281f7658d82c4adfdf8067889e82f1264d843f1c4f336876ac8afa1bdfe48edeb37
diff --git a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
b/dev-python/catkin_pkg/catkin_pkg-0.3.6.ebuild
similarity index 96%
copy from dev-python/catkin_pkg/catkin_pkg-9999.ebuild
copy to dev-python/catkin_pkg/catkin_pkg-0.3.6.ebuild
index 28e56139aea..0967bd6ff8e 100644
--- a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
+++ b/dev-python/catkin_pkg/catkin_pkg-0.3.6.ebuild
@@ -38,7 +38,7 @@ PATCHES=(
"${FILESDIR}/catkin_prefix.patch"
"${FILESDIR}/argparse.patch"
"${FILESDIR}/ros_packages.patch"
- "${FILESDIR}/infinite_loop.patch"
+ "${FILESDIR}/infinite_loop2.patch"
)
python_test() {
diff --git a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
b/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
index 28e56139aea..0967bd6ff8e 100644
--- a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
+++ b/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
@@ -38,7 +38,7 @@ PATCHES=(
"${FILESDIR}/catkin_prefix.patch"
"${FILESDIR}/argparse.patch"
"${FILESDIR}/ros_packages.patch"
- "${FILESDIR}/infinite_loop.patch"
+ "${FILESDIR}/infinite_loop2.patch"
)
python_test() {
diff --git a/dev-python/catkin_pkg/files/infinite_loop2.patch
b/dev-python/catkin_pkg/files/infinite_loop2.patch
new file mode 100644
index 00000000000..7c5edba2b50
--- /dev/null
+++ b/dev-python/catkin_pkg/files/infinite_loop2.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/show_bug.cgi?id=612860
+By Tim Rakowski
+We os.walk /usr with followlinks=True, but at least nodejs contains a
"recursive" link in /usr/include/node
+
+Index: catkin_pkg-0.3.6/src/catkin_pkg/packages.py
+===================================================================
+--- catkin_pkg-0.3.6.orig/src/catkin_pkg/packages.py
++++ catkin_pkg-0.3.6/src/catkin_pkg/packages.py
+@@ -56,7 +56,9 @@ def find_package_paths(basepath, exclude
+ """
+ paths = []
+ real_exclude_paths = [os.path.realpath(p) for p in exclude_paths] if
exclude_paths is not None else []
++ visited = set()
+ for dirpath, dirnames, filenames in os.walk(basepath, followlinks=True):
++ visited.add(dirpath)
+ if 'CATKIN_IGNORE' in filenames or \
+ os.path.realpath(dirpath) in real_exclude_paths or \
+ (exclude_subspaces and '.catkin' in filenames):
+@@ -67,7 +69,7 @@ def find_package_paths(basepath, exclude
+ del dirnames[:]
+ continue
+ # filter out hidden directories in-place
+- dirnames[:] = [d for d in dirnames if not d.startswith('.')]
++ dirnames[:] = [d for d in dirnames if not d.startswith('.') and not
os.path.realpath(os.path.join(dirpath, d)) in visited]
+ return paths
+
+