[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2023-01-24 Thread Jakov Smolić
commit: f18a1453eb18abf002ff76ce948b013c7a94c191
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jan 24 17:20:27 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jan 24 20:17:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f18a1453

dev-python/rospkg: treeclean

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/rospkg/Manifest|  1 -
 dev-python/rospkg/files/gentoo.patch  | 15 -
 dev-python/rospkg/metadata.xml| 11 --
 dev-python/rospkg/rospkg-1.4.0.ebuild | 41 ---
 dev-python/rospkg/rospkg-.ebuild  | 41 ---
 5 files changed, 109 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
deleted file mode 100644
index fb28f34d948c..
--- a/dev-python/rospkg/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rospkg-1.4.0.tar.gz 91707 BLAKE2B 
02ee199a5f59d1256561cda0e9a6f05e40337a604bfba34d076cd09812fb4cd2f253785e894e9590de86226e8e250d77f50f18c4ffb2857c69095f329c7aa58e
 SHA512 
4e4a40961ed1cfba0746069725378414dc61d3f55e479e7af5efa211419e34e44f5964f8ab41a8c4c9e9b74ae275fd29cf6ffda0eab66b6a0ec7fc7066719797

diff --git a/dev-python/rospkg/files/gentoo.patch 
b/dev-python/rospkg/files/gentoo.patch
deleted file mode 100644
index 5a9e7738b390..
--- a/dev-python/rospkg/files/gentoo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Strip ros_packages/ from paths. ros_packages is only for avoiding to crawl the
-whole /usr but the real one in the path without it.
-
-Index: rospkg-1.1.0/src/rospkg/rospack.py
-===
 rospkg-1.1.0.orig/src/rospkg/rospack.py
-+++ rospkg-1.1.0/src/rospkg/rospack.py
-@@ -59,6 +59,7 @@ def list_by_path(manifest_name, path, ca
- path = os.path.abspath(path)
- basename = os.path.basename
- for d, dirs, files in os.walk(path, topdown=True, followlinks=True):
-+d = d.replace('ros_packages/', '')
- if 'CATKIN_IGNORE' in files:
- del dirs[:]
- continue  # leaf

diff --git a/dev-python/rospkg/metadata.xml b/dev-python/rospkg/metadata.xml
deleted file mode 100644
index c01ba35d0853..
--- a/dev-python/rospkg/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   r...@gentoo.org
-   Gentoo ROS Project
-   
-   
-   ros-infrastructure/rospkg
-   
-

diff --git a/dev-python/rospkg/rospkg-1.4.0.ebuild 
b/dev-python/rospkg/rospkg-1.4.0.ebuild
deleted file mode 100644
index 4e4d4e300823..
--- a/dev-python/rospkg/rospkg-1.4.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="https://wiki.ros.org/rospkg;
-
-if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-   inherit git-r3
-
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-
-RDEPEND="
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]
-   dev-python/distro[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=(
-   "${FILESDIR}/gentoo.patch"
-)
-
-distutils_enable_tests pytest

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
deleted file mode 100644
index 4e4d4e300823..
--- a/dev-python/rospkg/rospkg-.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="https://wiki.ros.org/rospkg;
-
-if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-   inherit git-r3
-
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-
-RDEPEND="
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]
-   dev-python/distro[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=(
-   "${FILESDIR}/gentoo.patch"
-)
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/, dev-python/rospkg/files/

2022-05-16 Thread Michał Górny
commit: cc153a28e03d890dc706646bf1322c0281c12bde
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 16 13:10:34 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 16 13:10:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc153a28

dev-python/rospkg: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/rospkg/Manifest  |  1 -
 dev-python/rospkg/files/yaml_load.patch | 52 -
 dev-python/rospkg/rospkg-1.3.0.ebuild   | 42 --
 3 files changed, 95 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index b7f842ecfb06..fb28f34d948c 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1 @@
-DIST rospkg-1.3.0.tar.gz 91442 BLAKE2B 
9bf217ff103513471b1a2b0812e4b08519d667c0b883c545b23dd42f10216390f4fb618bf67baed0ba2aba71c18c13b0a702445425ca29568394c0cc5b4dff61
 SHA512 
bfd67eee80e063db45eb98b1b73cf1865d23a14a55d72639890d7ad3d01f4c85f07aa662d9d66e996340798c002f5ee9d1167cee32b20caff900fe527ed50d5b
 DIST rospkg-1.4.0.tar.gz 91707 BLAKE2B 
02ee199a5f59d1256561cda0e9a6f05e40337a604bfba34d076cd09812fb4cd2f253785e894e9590de86226e8e250d77f50f18c4ffb2857c69095f329c7aa58e
 SHA512 
4e4a40961ed1cfba0746069725378414dc61d3f55e479e7af5efa211419e34e44f5964f8ab41a8c4c9e9b74ae275fd29cf6ffda0eab66b6a0ec7fc7066719797

diff --git a/dev-python/rospkg/files/yaml_load.patch 
b/dev-python/rospkg/files/yaml_load.patch
deleted file mode 100644
index f56b6db59ad8..
--- a/dev-python/rospkg/files/yaml_load.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Index: rospkg-1.2.0/src/rospkg/distro.py
-===
 rospkg-1.2.0.orig/src/rospkg/distro.py
-+++ rospkg-1.2.0/src/rospkg/distro.py
-@@ -192,14 +192,14 @@ def load_distro(source_uri):
- if os.path.isfile(source_uri):
- # load rosdistro file
- with open(source_uri) as f:
--raw_data = yaml.load(f.read())
-+raw_data = yaml.safe_load(f.read())
- else:
- try:
- request = urlopen(source_uri)
- except Exception as e:
- raise ResourceNotFound('%s (%s)' % (str(e), source_uri))
- try:
--raw_data = yaml.load(request)
-+raw_data = yaml.safe_load(request)
- except ValueError:
- raise ResourceNotFound(source_uri)
- if not type(raw_data) == dict:
-Index: rospkg-1.2.0/test/test_rospkg_distro.py
-===
 rospkg-1.2.0.orig/test/test_rospkg_distro.py
-+++ rospkg-1.2.0/test/test_rospkg_distro.py
-@@ -315,7 +315,7 @@ def test_load_distro_simple():
- 
- assert distro.release_name == 'simple', distro.release_name
- assert distro.version == '1', distro.version
--assert yaml.load(open(p)) == distro.raw_data, distro.raw_data
-+assert yaml.safe_load(open(p)) == distro.raw_data, distro.raw_data
- assert set(distro.variants.keys()) == set(['base'])
- assert set(distro.stacks.keys()) == set(['stack1'])
- 
-@@ -334,7 +334,7 @@ def test_load_distro_diamondback():
- 
- assert distro.release_name == 'diamondback', distro.release_name
- assert distro.version == 'r8596', distro.version
--assert yaml.load(open(p)) == distro.raw_data, distro.raw_data
-+assert yaml.safe_load(open(p)) == distro.raw_data, distro.raw_data
- assert set(distro.variants.keys()) == set(diamondback_variants)
- assert set(distro.stacks.keys()) == set(diamondback_stacks), 
set(distro.stacks.keys()) ^ set(diamondback_stacks)
- 
-@@ -350,7 +350,7 @@ def test_load_distro_diamondback():
- 
- def test__load_variants():
- from rospkg.distro import _load_variants
--raw_data = yaml.load("""variants:
-+raw_data = yaml.safe_load("""variants:
- - ros-base:
- stacks: [ros, ros_comm]
- - ros-full:

diff --git a/dev-python/rospkg/rospkg-1.3.0.ebuild 
b/dev-python/rospkg/rospkg-1.3.0.ebuild
deleted file mode 100644
index fbd4db374f38..
--- a/dev-python/rospkg/rospkg-1.3.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="https://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2022-03-19 Thread Arthur Zamarin
commit: 06c26bdca603204ebfa4f0451048e16103327342
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 19 07:11:30 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 19 14:02:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c26bdc

dev-python/rospkg: add 1.4.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/rospkg/Manifest|  1 +
 dev-python/rospkg/rospkg-1.4.0.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 86a5e1d1ebaa..b7f842ecfb06 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.3.0.tar.gz 91442 BLAKE2B 
9bf217ff103513471b1a2b0812e4b08519d667c0b883c545b23dd42f10216390f4fb618bf67baed0ba2aba71c18c13b0a702445425ca29568394c0cc5b4dff61
 SHA512 
bfd67eee80e063db45eb98b1b73cf1865d23a14a55d72639890d7ad3d01f4c85f07aa662d9d66e996340798c002f5ee9d1167cee32b20caff900fe527ed50d5b
+DIST rospkg-1.4.0.tar.gz 91707 BLAKE2B 
02ee199a5f59d1256561cda0e9a6f05e40337a604bfba34d076cd09812fb4cd2f253785e894e9590de86226e8e250d77f50f18c4ffb2857c69095f329c7aa58e
 SHA512 
4e4a40961ed1cfba0746069725378414dc61d3f55e479e7af5efa211419e34e44f5964f8ab41a8c4c9e9b74ae275fd29cf6ffda0eab66b6a0ec7fc7066719797

diff --git a/dev-python/rospkg/rospkg-1.4.0.ebuild 
b/dev-python/rospkg/rospkg-1.4.0.ebuild
new file mode 100644
index ..430b4a135478
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.4.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="https://wiki.ros.org/rospkg;
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+   inherit git-r3
+
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]
+   dev-python/distro[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=(
+   "${FILESDIR}/gentoo.patch"
+)
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

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

dev-python/rospkg: update live ebuild

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index fbd4db374f38..430b4a135478 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.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#}" != "${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#}" != "${PV}" ] ; then
-   SRC_URI=""
-   # Needed for tests
+
+if [[ ${PV} = * ]]; 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



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2021-09-23 Thread Arthur Zamarin
commit: 67ef28832c62b655353a438c7a886270f8993b1f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 16 11:29:15 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 23 14:06:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ef2883

dev-python/rospkg: enable py3.10, use d_e_t

passes tests

Closes: https://bugs.gentoo.org/806860
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/rospkg/rospkg-1.3.0.ebuild | 16 +++-
 dev-python/rospkg/rospkg-.ebuild  | 16 +++-
 2 files changed, 6 insertions(+), 26 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.3.0.ebuild 
b/dev-python/rospkg/rospkg-1.3.0.ebuild
index 9a43e2fb6d1..fbd4db374f3 100644
--- a/dev-python/rospkg/rospkg-1.3.0.ebuild
+++ b/dev-python/rospkg/rospkg-1.3.0.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+
+PYTHON_COMPAT=( python3_{8..10} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then
@@ -27,26 +27,16 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/catkin_pkg[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
 "
 BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)
 "
 PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
 
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}
+distutils_enable_tests nose

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 9a43e2fb6d1..fbd4db374f3 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+
+PYTHON_COMPAT=( python3_{8..10} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then
@@ -27,26 +27,16 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/catkin_pkg[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
 "
 BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)
 "
 PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
 
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}
+distutils_enable_tests nose



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2021-08-06 Thread Alexis Ballier
commit: d34c2c27b4fe3083579888bb2cdf8421121d9c5b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Aug  6 13:33:25 2021 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Aug  6 14:35:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d34c2c27

dev-python/rospkg: bump to 1.3.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest| 2 +-
 dev-python/rospkg/{rospkg-1.2.8-r1.ebuild => rospkg-1.3.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 9a0a73e278b..86a5e1d1eba 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1 @@
-DIST rospkg-1.2.8.tar.gz 91042 BLAKE2B 
4c4640d45a06214240a80d2ea15a09799eb892755c7c4410761e2a3505115ee1914a542886385bcd6996ead46e46a3e4d22bf79ffc38a0d2d8f2c7ac295eb0bb
 SHA512 
c4f0c1992597aadf395effd4e6db65c20bf19501a19c569de57a2b9977d9ba794c3c68ba16b2b274ec865caffe6ec98b8fc0e88ad13ea3a9bc744e9ab6adb3a6
+DIST rospkg-1.3.0.tar.gz 91442 BLAKE2B 
9bf217ff103513471b1a2b0812e4b08519d667c0b883c545b23dd42f10216390f4fb618bf67baed0ba2aba71c18c13b0a702445425ca29568394c0cc5b4dff61
 SHA512 
bfd67eee80e063db45eb98b1b73cf1865d23a14a55d72639890d7ad3d01f4c85f07aa662d9d66e996340798c002f5ee9d1167cee32b20caff900fe527ed50d5b

diff --git a/dev-python/rospkg/rospkg-1.2.8-r1.ebuild 
b/dev-python/rospkg/rospkg-1.3.0.ebuild
similarity index 100%
rename from dev-python/rospkg/rospkg-1.2.8-r1.ebuild
rename to dev-python/rospkg/rospkg-1.3.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-10-13 Thread Alexis Ballier
commit: 09c61d2da470e86843bc2a8d04725c2a6ad10a3e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Oct 13 11:29:09 2020 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Oct 13 11:31:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09c61d2d

dev-python/rospkg: set proper distutils dep; add py39

Closes: https://bugs.gentoo.org/748243
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/{rospkg-1.2.8.ebuild => rospkg-1.2.8-r1.ebuild} | 3 ++-
 dev-python/rospkg/rospkg-.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.2.8.ebuild 
b/dev-python/rospkg/rospkg-1.2.8-r1.ebuild
similarity index 94%
rename from dev-python/rospkg/rospkg-1.2.8.ebuild
rename to dev-python/rospkg/rospkg-1.2.8-r1.ebuild
index 9fe2198838e..0b443bc38b9 100644
--- a/dev-python/rospkg/rospkg-1.2.8.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.8-r1.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 9fe2198838e..0b443bc38b9 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-08-17 Thread Sam James
commit: a28c92b4ca2b809b0074ee145b17fba3aa999e95
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jun  7 19:25:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 17 12:52:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28c92b4

dev-python/rospkg: update homepage link

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Sam James  gentoo.org>

 dev-python/rospkg/rospkg-1.2.0.ebuild | 2 +-
 dev-python/rospkg/rospkg-1.2.6.ebuild | 2 +-
 dev-python/rospkg/rospkg-1.2.8.ebuild | 2 +-
 dev-python/rospkg/rospkg-.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.2.0.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
index d3245f8cb2a..bb2817c8437 100644
--- a/dev-python/rospkg/rospkg-1.2.0.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.0.ebuild
@@ -13,7 +13,7 @@ fi
 inherit ${SCM} distutils-r1
 
 DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
+HOMEPAGE="https://wiki.ros.org/rospkg;
 if [ "${PV#}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""

diff --git a/dev-python/rospkg/rospkg-1.2.6.ebuild 
b/dev-python/rospkg/rospkg-1.2.6.ebuild
index 3dd32f0afe6..c2bf1bbf442 100644
--- a/dev-python/rospkg/rospkg-1.2.6.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.6.ebuild
@@ -13,7 +13,7 @@ fi
 inherit ${SCM} distutils-r1
 
 DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
+HOMEPAGE="https://wiki.ros.org/rospkg;
 if [ "${PV#}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""

diff --git a/dev-python/rospkg/rospkg-1.2.8.ebuild 
b/dev-python/rospkg/rospkg-1.2.8.ebuild
index 04cdf1af76c..9fe2198838e 100644
--- a/dev-python/rospkg/rospkg-1.2.8.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.8.ebuild
@@ -13,7 +13,7 @@ fi
 inherit ${SCM} distutils-r1
 
 DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
+HOMEPAGE="https://wiki.ros.org/rospkg;
 if [ "${PV#}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 04cdf1af76c..9fe2198838e 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -13,7 +13,7 @@ fi
 inherit ${SCM} distutils-r1
 
 DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
+HOMEPAGE="https://wiki.ros.org/rospkg;
 if [ "${PV#}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-08-04 Thread Joonas Niilola
commit: 92a051ab9d524895feaf1f2cc23a0d2b3de9d4d2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug  4 17:15:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug  4 17:16:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a051ab

Revert "dev-python/rospkg: Remove old"

This reverts commit 4bb6b6c620485d1eeec20de26ffdad35a54f6e6f.

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/rospkg/Manifest|  2 ++
 dev-python/rospkg/rospkg-1.2.0.ebuild | 50 +++
 dev-python/rospkg/rospkg-1.2.6.ebuild | 50 +++
 3 files changed, 102 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 9a0a73e278b..0306a6208ac 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,3 @@
+DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db
+DIST rospkg-1.2.6.tar.gz 90944 BLAKE2B 
26bd4a9deb3c6876b870ec6ccb11dfdb7820d0cf23fef2fcea8391543c58cf8e916253316df443cc9cc7e364ab790a8915e77986aef3f400785f50604fbd2a45
 SHA512 
6c88c8789927d72f8f882930aeef776dbec3c4d1343a2d4143d920684c8d2007021397a42008521c87dfc637302b9266615e13623ef5dc5c076e6e8cfd9e957d
 DIST rospkg-1.2.8.tar.gz 91042 BLAKE2B 
4c4640d45a06214240a80d2ea15a09799eb892755c7c4410761e2a3505115ee1914a542886385bcd6996ead46e46a3e4d22bf79ffc38a0d2d8f2c7ac295eb0bb
 SHA512 
c4f0c1992597aadf395effd4e6db65c20bf19501a19c569de57a2b9977d9ba794c3c68ba16b2b274ec865caffe6ec98b8fc0e88ad13ea3a9bc744e9ab6adb3a6

diff --git a/dev-python/rospkg/rospkg-1.2.0.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
new file mode 100644
index 000..d3245f8cb2a
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.2.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_6,3_7} pypy3 )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   )"
+DEPEND="${RDEPEND} ${BDEPEND}
+   test? (
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}

diff --git a/dev-python/rospkg/rospkg-1.2.6.ebuild 
b/dev-python/rospkg/rospkg-1.2.6.ebuild
new file mode 100644
index 000..3dd32f0afe6
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.2.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_6,3_7} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   )"
+DEPEND="${RDEPEND} ${BDEPEND}
+   test? (
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test 

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-08-04 Thread Alexis Ballier
commit: 4bb6b6c620485d1eeec20de26ffdad35a54f6e6f
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Aug  4 15:49:03 2020 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Aug  4 16:00:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb6b6c6

dev-python/rospkg: Remove old

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest|  2 --
 dev-python/rospkg/rospkg-1.2.0.ebuild | 50 ---
 dev-python/rospkg/rospkg-1.2.6.ebuild | 50 ---
 3 files changed, 102 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 0306a6208ac..9a0a73e278b 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,3 +1 @@
-DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db
-DIST rospkg-1.2.6.tar.gz 90944 BLAKE2B 
26bd4a9deb3c6876b870ec6ccb11dfdb7820d0cf23fef2fcea8391543c58cf8e916253316df443cc9cc7e364ab790a8915e77986aef3f400785f50604fbd2a45
 SHA512 
6c88c8789927d72f8f882930aeef776dbec3c4d1343a2d4143d920684c8d2007021397a42008521c87dfc637302b9266615e13623ef5dc5c076e6e8cfd9e957d
 DIST rospkg-1.2.8.tar.gz 91042 BLAKE2B 
4c4640d45a06214240a80d2ea15a09799eb892755c7c4410761e2a3505115ee1914a542886385bcd6996ead46e46a3e4d22bf79ffc38a0d2d8f2c7ac295eb0bb
 SHA512 
c4f0c1992597aadf395effd4e6db65c20bf19501a19c569de57a2b9977d9ba794c3c68ba16b2b274ec865caffe6ec98b8fc0e88ad13ea3a9bc744e9ab6adb3a6

diff --git a/dev-python/rospkg/rospkg-1.2.0.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
deleted file mode 100644
index d3245f8cb2a..000
--- a/dev-python/rospkg/rospkg-1.2.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} pypy3 )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
-   test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}

diff --git a/dev-python/rospkg/rospkg-1.2.6.ebuild 
b/dev-python/rospkg/rospkg-1.2.6.ebuild
deleted file mode 100644
index 3dd32f0afe6..000
--- a/dev-python/rospkg/rospkg-1.2.6.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
-   test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-07-27 Thread Alexis Ballier
commit: 3a003a1124459f26d6b955b3e7d12401a1d2b73d
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jul 27 12:10:06 2020 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Jul 27 12:10:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a003a11

dev-python/rospkg: bump to 1.2.8

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest| 1 +
 dev-python/rospkg/{rospkg-.ebuild => rospkg-1.2.8.ebuild} | 6 --
 dev-python/rospkg/rospkg-.ebuild  | 6 --
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 2ad08e49035..0306a6208ac 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1,3 @@
 DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db
 DIST rospkg-1.2.6.tar.gz 90944 BLAKE2B 
26bd4a9deb3c6876b870ec6ccb11dfdb7820d0cf23fef2fcea8391543c58cf8e916253316df443cc9cc7e364ab790a8915e77986aef3f400785f50604fbd2a45
 SHA512 
6c88c8789927d72f8f882930aeef776dbec3c4d1343a2d4143d920684c8d2007021397a42008521c87dfc637302b9266615e13623ef5dc5c076e6e8cfd9e957d
+DIST rospkg-1.2.8.tar.gz 91042 BLAKE2B 
4c4640d45a06214240a80d2ea15a09799eb892755c7c4410761e2a3505115ee1914a542886385bcd6996ead46e46a3e4d22bf79ffc38a0d2d8f2c7ac295eb0bb
 SHA512 
c4f0c1992597aadf395effd4e6db65c20bf19501a19c569de57a2b9977d9ba794c3c68ba16b2b274ec865caffe6ec98b8fc0e88ad13ea3a9bc744e9ab6adb3a6

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-1.2.8.ebuild
similarity index 90%
copy from dev-python/rospkg/rospkg-.ebuild
copy to dev-python/rospkg/rospkg-1.2.8.ebuild
index 3dd32f0afe6..04cdf1af76c 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.8.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then
@@ -31,7 +31,9 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]
+   dev-python/distro[${PYTHON_USEDEP}]
+"
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 3dd32f0afe6..04cdf1af76c 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then
@@ -31,7 +31,9 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]
+   dev-python/distro[${PYTHON_USEDEP}]
+"
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2020-04-14 Thread Alexis Ballier
commit: 4274c4df40af7e72ad02e8bc597f2207adaf791e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Apr 14 12:53:06 2020 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Apr 14 12:54:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4274c4df

Revert "dev-python/rospkg: Remove redundant versions"

This reverts commit dc9da7ffe2c399ae57974a164dee6bedebdeef04.

Closes: https://bugs.gentoo.org/715382
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest |  2 ++
 dev-python/rospkg/files/gentoo.patch   | 15 +++
 dev-python/rospkg/rospkg-1.1.10.ebuild | 49 ++
 dev-python/rospkg/rospkg-1.1.9.ebuild  | 49 ++
 4 files changed, 115 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 3d7146dfd9e..a12f2364d91 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,3 @@
+DIST rospkg-1.1.10.tar.gz 90434 BLAKE2B 
1eb128d7e3f6d07e8309ecf5ea6c4340afcbb6f0618fd4628543c046003782750c5013c13ff2ed17018abc6efc6ce2042ccf2c6dccea8933be7045ddfe3f4522
 SHA512 
54b1b0ca4683b9388989501781239cf35873f2bf2028d176718f624999835b21e44f0cc5988624b37f7172d21f0c01aa336d35a884753c842098e558c37ac6c8
+DIST rospkg-1.1.9.tar.gz 90412 BLAKE2B 
4cca7d1ebfcba495aafd766f0d720a6bc6e5aade0bff098d4a1cbab3b55c7a720de7d1f97edf806a93cc21eeda4cac86e844b5e3b23f85cbcb7b328fd07da222
 SHA512 
d33005e29313ba06959189f8f563361fd9523c2368855f260347b4c509d8b4053f74db3e2cf5986031653d647ded097f272f65d617da93e13cf77a906cb56ca6
 DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db

diff --git a/dev-python/rospkg/files/gentoo.patch 
b/dev-python/rospkg/files/gentoo.patch
new file mode 100644
index 000..5a9e7738b39
--- /dev/null
+++ b/dev-python/rospkg/files/gentoo.patch
@@ -0,0 +1,15 @@
+Strip ros_packages/ from paths. ros_packages is only for avoiding to crawl the
+whole /usr but the real one in the path without it.
+
+Index: rospkg-1.1.0/src/rospkg/rospack.py
+===
+--- rospkg-1.1.0.orig/src/rospkg/rospack.py
 rospkg-1.1.0/src/rospkg/rospack.py
+@@ -59,6 +59,7 @@ def list_by_path(manifest_name, path, ca
+ path = os.path.abspath(path)
+ basename = os.path.basename
+ for d, dirs, files in os.walk(path, topdown=True, followlinks=True):
++d = d.replace('ros_packages/', '')
+ if 'CATKIN_IGNORE' in files:
+ del dirs[:]
+ continue  # leaf

diff --git a/dev-python/rospkg/rospkg-1.1.10.ebuild 
b/dev-python/rospkg/rospkg-1.1.10.ebuild
new file mode 100644
index 000..f8ef1bca937
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_6 pypy3 )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   )"
+DEPEND="${RDEPEND} ${BDEPEND}
+   test? (
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}

diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild 
b/dev-python/rospkg/rospkg-1.1.9.ebuild
new file mode 100644
index 000..f8ef1bca937
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_6 pypy3 )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-04-14 Thread Alexis Ballier
commit: a81f9c3ee3d6a8fdad2699fc0b21a708d6762818
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Apr 14 12:53:44 2020 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Apr 14 12:54:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81f9c3e

dev-python/rospkg: Remove old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest |  2 --
 dev-python/rospkg/rospkg-1.1.10.ebuild | 49 --
 dev-python/rospkg/rospkg-1.1.9.ebuild  | 49 --
 3 files changed, 100 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index a12f2364d91..3d7146dfd9e 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,3 +1 @@
-DIST rospkg-1.1.10.tar.gz 90434 BLAKE2B 
1eb128d7e3f6d07e8309ecf5ea6c4340afcbb6f0618fd4628543c046003782750c5013c13ff2ed17018abc6efc6ce2042ccf2c6dccea8933be7045ddfe3f4522
 SHA512 
54b1b0ca4683b9388989501781239cf35873f2bf2028d176718f624999835b21e44f0cc5988624b37f7172d21f0c01aa336d35a884753c842098e558c37ac6c8
-DIST rospkg-1.1.9.tar.gz 90412 BLAKE2B 
4cca7d1ebfcba495aafd766f0d720a6bc6e5aade0bff098d4a1cbab3b55c7a720de7d1f97edf806a93cc21eeda4cac86e844b5e3b23f85cbcb7b328fd07da222
 SHA512 
d33005e29313ba06959189f8f563361fd9523c2368855f260347b4c509d8b4053f74db3e2cf5986031653d647ded097f272f65d617da93e13cf77a906cb56ca6
 DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db

diff --git a/dev-python/rospkg/rospkg-1.1.10.ebuild 
b/dev-python/rospkg/rospkg-1.1.10.ebuild
deleted file mode 100644
index f8ef1bca937..000
--- a/dev-python/rospkg/rospkg-1.1.10.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 pypy3 )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
-   test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}

diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild 
b/dev-python/rospkg/rospkg-1.1.9.ebuild
deleted file mode 100644
index f8ef1bca937..000
--- a/dev-python/rospkg/rospkg-1.1.9.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 pypy3 )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
-   test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2020-03-29 Thread Michał Górny
commit: dc9da7ffe2c399ae57974a164dee6bedebdeef04
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 29 07:17:40 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 29 07:31:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9da7ff

dev-python/rospkg: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/rospkg/Manifest |  2 --
 dev-python/rospkg/files/gentoo.patch   | 15 ---
 dev-python/rospkg/rospkg-1.1.10.ebuild | 49 --
 dev-python/rospkg/rospkg-1.1.9.ebuild  | 49 --
 4 files changed, 115 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index a12f2364d91..3d7146dfd9e 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,3 +1 @@
-DIST rospkg-1.1.10.tar.gz 90434 BLAKE2B 
1eb128d7e3f6d07e8309ecf5ea6c4340afcbb6f0618fd4628543c046003782750c5013c13ff2ed17018abc6efc6ce2042ccf2c6dccea8933be7045ddfe3f4522
 SHA512 
54b1b0ca4683b9388989501781239cf35873f2bf2028d176718f624999835b21e44f0cc5988624b37f7172d21f0c01aa336d35a884753c842098e558c37ac6c8
-DIST rospkg-1.1.9.tar.gz 90412 BLAKE2B 
4cca7d1ebfcba495aafd766f0d720a6bc6e5aade0bff098d4a1cbab3b55c7a720de7d1f97edf806a93cc21eeda4cac86e844b5e3b23f85cbcb7b328fd07da222
 SHA512 
d33005e29313ba06959189f8f563361fd9523c2368855f260347b4c509d8b4053f74db3e2cf5986031653d647ded097f272f65d617da93e13cf77a906cb56ca6
 DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db

diff --git a/dev-python/rospkg/files/gentoo.patch 
b/dev-python/rospkg/files/gentoo.patch
deleted file mode 100644
index 5a9e7738b39..000
--- a/dev-python/rospkg/files/gentoo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Strip ros_packages/ from paths. ros_packages is only for avoiding to crawl the
-whole /usr but the real one in the path without it.
-
-Index: rospkg-1.1.0/src/rospkg/rospack.py
-===
 rospkg-1.1.0.orig/src/rospkg/rospack.py
-+++ rospkg-1.1.0/src/rospkg/rospack.py
-@@ -59,6 +59,7 @@ def list_by_path(manifest_name, path, ca
- path = os.path.abspath(path)
- basename = os.path.basename
- for d, dirs, files in os.walk(path, topdown=True, followlinks=True):
-+d = d.replace('ros_packages/', '')
- if 'CATKIN_IGNORE' in files:
- del dirs[:]
- continue  # leaf

diff --git a/dev-python/rospkg/rospkg-1.1.10.ebuild 
b/dev-python/rospkg/rospkg-1.1.10.ebuild
deleted file mode 100644
index f8ef1bca937..000
--- a/dev-python/rospkg/rospkg-1.1.10.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 pypy3 )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   )"
-DEPEND="${RDEPEND} ${BDEPEND}
-   test? (
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}

diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild 
b/dev-python/rospkg/rospkg-1.1.9.ebuild
deleted file mode 100644
index f8ef1bca937..000
--- a/dev-python/rospkg/rospkg-1.1.9.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 pypy3 )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2020-02-05 Thread Michał Górny
commit: 834ef6ab713a8605a566596f9c935ea0c1714aa9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb  6 05:41:31 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb  6 05:59:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834ef6ab

dev-python/rospkg: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/rospkg/rospkg-1.1.10.ebuild | 2 +-
 dev-python/rospkg/rospkg-1.1.9.ebuild  | 2 +-
 dev-python/rospkg/rospkg-1.2.0.ebuild  | 2 +-
 dev-python/rospkg/rospkg-.ebuild   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.1.10.ebuild 
b/dev-python/rospkg/rospkg-1.1.10.ebuild
index eb111ee128d..f8ef1bca937 100644
--- a/dev-python/rospkg/rospkg-1.1.10.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.10.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} pypy3 )
+PYTHON_COMPAT=( python3_6 pypy3 )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild 
b/dev-python/rospkg/rospkg-1.1.9.ebuild
index eb111ee128d..f8ef1bca937 100644
--- a/dev-python/rospkg/rospkg-1.1.9.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.9.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} pypy3 )
+PYTHON_COMPAT=( python3_6 pypy3 )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-1.2.0.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
index d4711591372..d3245f8cb2a 100644
--- a/dev-python/rospkg/rospkg-1.2.0.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
+PYTHON_COMPAT=( python{3_6,3_7} pypy3 )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index d4711591372..d3245f8cb2a 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
+PYTHON_COMPAT=( python{3_6,3_7} pypy3 )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2019-12-11 Thread Alexis Ballier
commit: 7c976f9d460e8218cf811052ebccb56d72c0f09d
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Dec 11 13:58:34 2019 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Dec 11 15:26:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c976f9d

dev-python/rospkg: bump to 1.2.0.

Add py37

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest| 1 +
 dev-python/rospkg/{rospkg-.ebuild => rospkg-1.2.0.ebuild} | 2 +-
 dev-python/rospkg/rospkg-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 5508d2e11ca..a12f2364d91 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1,3 @@
 DIST rospkg-1.1.10.tar.gz 90434 BLAKE2B 
1eb128d7e3f6d07e8309ecf5ea6c4340afcbb6f0618fd4628543c046003782750c5013c13ff2ed17018abc6efc6ce2042ccf2c6dccea8933be7045ddfe3f4522
 SHA512 
54b1b0ca4683b9388989501781239cf35873f2bf2028d176718f624999835b21e44f0cc5988624b37f7172d21f0c01aa336d35a884753c842098e558c37ac6c8
 DIST rospkg-1.1.9.tar.gz 90412 BLAKE2B 
4cca7d1ebfcba495aafd766f0d720a6bc6e5aade0bff098d4a1cbab3b55c7a720de7d1f97edf806a93cc21eeda4cac86e844b5e3b23f85cbcb7b328fd07da222
 SHA512 
d33005e29313ba06959189f8f563361fd9523c2368855f260347b4c509d8b4053f74db3e2cf5986031653d647ded097f272f65d617da93e13cf77a906cb56ca6
+DIST rospkg-1.2.0.tar.gz 90516 BLAKE2B 
0c1d993c70f0ad383ab457c846416a22b9adf9611704a918c3765659231846749228073ea04950ddfdbe13f7e51f87ce5d17c1488f995e846a6590a0f9549efd
 SHA512 
f059259a38b8b2281496a69f8a55fdd31a11e91583babb82e574363c40c90221a4abb7c1d7a5ed6be3b2389ee6aaf08b4e016260c73dd779f8c7993e6eba78db

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
similarity index 95%
copy from dev-python/rospkg/rospkg-.ebuild
copy to dev-python/rospkg/rospkg-1.2.0.ebuild
index 4043929c6ed..bb6a7366b4a 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy{,3} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 4043929c6ed..bb6a7366b4a 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy{,3} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2019-12-11 Thread Alexis Ballier
commit: d427a102cf844db3a24c21c55b77d2fc4fa28e5b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Dec 11 14:10:12 2019 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Dec 11 15:26:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d427a102

dev-python/rospkg: add missing catkin_pkg dep.

Closes: https://bugs.gentoo.org/663946
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/rospkg-1.2.0.ebuild | 3 ++-
 dev-python/rospkg/rospkg-.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.2.0.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
index 49c3524f1d4..d798eb10704 100644
--- a/dev-python/rospkg/rospkg-1.2.0.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.0.ebuild
@@ -30,7 +30,8 @@ SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 49c3524f1d4..d798eb10704 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -30,7 +30,8 @@ SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]"
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2019-12-11 Thread Alexis Ballier
commit: 465dadec0b854f7e7e7cdfa9b13ad8186b5ddfbb
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Dec 11 14:07:18 2019 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Dec 11 15:26:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=465dadec

dev-python/rospkg: use yaml.safe_load

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/files/yaml_load.patch | 52 +
 dev-python/rospkg/rospkg-1.2.0.ebuild   |  2 +-
 dev-python/rospkg/rospkg-.ebuild|  2 +-
 3 files changed, 54 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/files/yaml_load.patch 
b/dev-python/rospkg/files/yaml_load.patch
new file mode 100644
index 000..f56b6db59ad
--- /dev/null
+++ b/dev-python/rospkg/files/yaml_load.patch
@@ -0,0 +1,52 @@
+Index: rospkg-1.2.0/src/rospkg/distro.py
+===
+--- rospkg-1.2.0.orig/src/rospkg/distro.py
 rospkg-1.2.0/src/rospkg/distro.py
+@@ -192,14 +192,14 @@ def load_distro(source_uri):
+ if os.path.isfile(source_uri):
+ # load rosdistro file
+ with open(source_uri) as f:
+-raw_data = yaml.load(f.read())
++raw_data = yaml.safe_load(f.read())
+ else:
+ try:
+ request = urlopen(source_uri)
+ except Exception as e:
+ raise ResourceNotFound('%s (%s)' % (str(e), source_uri))
+ try:
+-raw_data = yaml.load(request)
++raw_data = yaml.safe_load(request)
+ except ValueError:
+ raise ResourceNotFound(source_uri)
+ if not type(raw_data) == dict:
+Index: rospkg-1.2.0/test/test_rospkg_distro.py
+===
+--- rospkg-1.2.0.orig/test/test_rospkg_distro.py
 rospkg-1.2.0/test/test_rospkg_distro.py
+@@ -315,7 +315,7 @@ def test_load_distro_simple():
+ 
+ assert distro.release_name == 'simple', distro.release_name
+ assert distro.version == '1', distro.version
+-assert yaml.load(open(p)) == distro.raw_data, distro.raw_data
++assert yaml.safe_load(open(p)) == distro.raw_data, distro.raw_data
+ assert set(distro.variants.keys()) == set(['base'])
+ assert set(distro.stacks.keys()) == set(['stack1'])
+ 
+@@ -334,7 +334,7 @@ def test_load_distro_diamondback():
+ 
+ assert distro.release_name == 'diamondback', distro.release_name
+ assert distro.version == 'r8596', distro.version
+-assert yaml.load(open(p)) == distro.raw_data, distro.raw_data
++assert yaml.safe_load(open(p)) == distro.raw_data, distro.raw_data
+ assert set(distro.variants.keys()) == set(diamondback_variants)
+ assert set(distro.stacks.keys()) == set(diamondback_stacks), 
set(distro.stacks.keys()) ^ set(diamondback_stacks)
+ 
+@@ -350,7 +350,7 @@ def test_load_distro_diamondback():
+ 
+ def test__load_variants():
+ from rospkg.distro import _load_variants
+-raw_data = yaml.load("""variants:
++raw_data = yaml.safe_load("""variants:
+ - ros-base:
+ stacks: [ros, ros_comm]
+ - ros-full:

diff --git a/dev-python/rospkg/rospkg-1.2.0.ebuild 
b/dev-python/rospkg/rospkg-1.2.0.ebuild
index bb6a7366b4a..49c3524f1d4 100644
--- a/dev-python/rospkg/rospkg-1.2.0.ebuild
+++ b/dev-python/rospkg/rospkg-1.2.0.ebuild
@@ -42,7 +42,7 @@ DEPEND="${RDEPEND} ${BDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
 "
-PATCHES=( "${FILESDIR}/gentoo.patch" )
+PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
 
 python_test() {
nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index bb6a7366b4a..49c3524f1d4 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -42,7 +42,7 @@ DEPEND="${RDEPEND} ${BDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
 "
-PATCHES=( "${FILESDIR}/gentoo.patch" )
+PATCHES=( "${FILESDIR}/gentoo.patch" "${FILESDIR}/yaml_load.patch" )
 
 python_test() {
nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2019-05-17 Thread Alexis Ballier
commit: 77d95502335089c1cc47a74bad83a15459392f0c
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri May 17 16:24:40 2019 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri May 17 16:28:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d95502

dev-python/rospkg: bump to 1.1.9

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest|  1 +
 dev-python/rospkg/rospkg-1.1.9.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 55489bb818e..58486c8e49e 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1,3 @@
 DIST rospkg-1.1.4.tar.gz 89554 BLAKE2B 
b307482cc3df0f2a178dd427a37160cfdc3c407b2135a28854f3df0ff964ed57c17a8ee358a1aa90b3d735e0913bc6c3c8ea1084efdef5fd01933166e21ebac8
 SHA512 
1758dcbe28c18c834a60bbda2e5e6be34629b3dd4f6519f24dfa1324ff9fc59fb7d0ae9d324c002eee06ff672309627e48f97119b36601390b24a24ae196d5c5
 DIST rospkg-1.1.7.tar.gz 90200 BLAKE2B 
5b64be62b292ed8d216058d9e906451c74ebfecced92da2888b6e6340a217f56460b9dad6fb741a1b78c156513adfb435407dfac19a9fcbca49b180662b879a2
 SHA512 
7d6915a32370786384220cd0d62087e0f82648e96f2006853dfb1486ff5b6c3343e32b9ac8a33ad1c1a8c758499475553b081166ca7ee0c72659855a2b09f151
+DIST rospkg-1.1.9.tar.gz 90412 BLAKE2B 
4cca7d1ebfcba495aafd766f0d720a6bc6e5aade0bff098d4a1cbab3b55c7a720de7d1f97edf806a93cc21eeda4cac86e844b5e3b23f85cbcb7b328fd07da222
 SHA512 
d33005e29313ba06959189f8f563361fd9523c2368855f260347b4c509d8b4053f74db3e2cf5986031653d647ded097f272f65d617da93e13cf77a906cb56ca6

diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild 
b/dev-python/rospkg/rospkg-1.1.9.ebuild
new file mode 100644
index 000..0e81f9b79bb
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy{,3} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   )"
+DEPEND="${RDEPEND} ${BDEPEND}
+   test? (
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2018-08-17 Thread Alexis Ballier
commit: 03a89df55a0073d62659a16f1a18c6da50708d61
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Aug 17 13:07:49 2018 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Aug 17 13:07:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a89df5

dev-python/rospkg: eapi update and bump to 1.1.7

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 dev-python/rospkg/Manifest| 1 +
 dev-python/rospkg/{rospkg-.ebuild => rospkg-1.1.7.ebuild} | 7 +--
 dev-python/rospkg/rospkg-.ebuild  | 7 +--
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index c61dc8ce14b..55489bb818e 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.1.4.tar.gz 89554 BLAKE2B 
b307482cc3df0f2a178dd427a37160cfdc3c407b2135a28854f3df0ff964ed57c17a8ee358a1aa90b3d735e0913bc6c3c8ea1084efdef5fd01933166e21ebac8
 SHA512 
1758dcbe28c18c834a60bbda2e5e6be34629b3dd4f6519f24dfa1324ff9fc59fb7d0ae9d324c002eee06ff672309627e48f97119b36601390b24a24ae196d5c5
+DIST rospkg-1.1.7.tar.gz 90200 BLAKE2B 
5b64be62b292ed8d216058d9e906451c74ebfecced92da2888b6e6340a217f56460b9dad6fb741a1b78c156513adfb435407dfac19a9fcbca49b180662b879a2
 SHA512 
7d6915a32370786384220cd0d62087e0f82648e96f2006853dfb1486ff5b6c3343e32b9ac8a33ad1c1a8c758499475553b081166ca7ee0c72659855a2b09f151

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-1.1.7.ebuild
similarity index 94%
copy from dev-python/rospkg/rospkg-.ebuild
copy to dev-python/rospkg/rospkg-1.1.7.ebuild
index bf7619313e0..c59845d0d46 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.7.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
 
 SCM=""
@@ -30,10 +30,13 @@ SLOT="0"
 IUSE="test"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
+   )"
+DEPEND="${RDEPEND} ${BDEPEND}
+   test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index bf7619313e0..c59845d0d46 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
 
 SCM=""
@@ -30,10 +30,13 @@ SLOT="0"
 IUSE="test"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
+   )"
+DEPEND="${RDEPEND} ${BDEPEND}
+   test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2018-02-12 Thread Alexis Ballier
commit: 54f426d72690cb3359bff0e8c20d6a774e0faa50
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 12 13:32:05 2018 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 12 13:32:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f426d7

dev-python/rospkg: add missing mock test dep

Closes: https://bugs.gentoo.org/640384
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/rospkg/rospkg-1.1.4.ebuild | 3 ++-
 dev-python/rospkg/rospkg-.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.1.4.ebuild 
b/dev-python/rospkg/rospkg-1.1.4.ebuild
index a7dae07958a..bf7619313e0 100644
--- a/dev-python/rospkg/rospkg-1.1.4.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -35,6 +35,7 @@ DEPEND="${RDEPEND}
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
)
 "
 PATCHES=( "${FILESDIR}/gentoo.patch" )

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index a7dae07958a..bf7619313e0 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -35,6 +35,7 @@ DEPEND="${RDEPEND}
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
)
 "
 PATCHES=( "${FILESDIR}/gentoo.patch" )



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-12-08 Thread Alexis Ballier
commit: cb0e65ccb2b5d563f3dc8331081949c8c2c8a768
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Dec  6 19:23:10 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Dec  8 18:44:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0e65cc

dev-python/rospkg: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-python/rospkg/Manifest|  3 +--
 dev-python/rospkg/rospkg-1.1.3.ebuild | 43 ---
 2 files changed, 1 insertion(+), 45 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index a544e3688c0..c61dc8ce14b 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1 @@
-DIST rospkg-1.1.3.tar.gz 89534 SHA256 
ba0948fbb3be14082f9e83763cbe3a12857127eb78e142748c9d16d41ab4479c SHA512 
2bb0521fbb87492dbc83d2582a8de3034f2e5548c1a464cfc558915157f3ef9d34d6166a4378d5e5cb226f2c8f714df86879220f7041d37b58a9ad33be2ce3cd
 WHIRLPOOL 
77082d0927626a5350300c556fd15eceb3527ee3a64239ade75aa2758288c1835e3f7797425ea6921674cab187593ec494406717a8daa88093dea874efad95d0
-DIST rospkg-1.1.4.tar.gz 89554 SHA256 
9d93bbf646c3db7e5ffd9814a879fe76cf45d2aa0a0bb210f44e807ea41a4c70 SHA512 
1758dcbe28c18c834a60bbda2e5e6be34629b3dd4f6519f24dfa1324ff9fc59fb7d0ae9d324c002eee06ff672309627e48f97119b36601390b24a24ae196d5c5
 WHIRLPOOL 
ab3eedf4df5bac5cfb19c50e8452928c8a879fc506a13e1ff2f92cb37afdd610ade43efd367d5c5cf09fbbc331177e42d79f8825da23ed05fae2f9f3953b4ab2
+DIST rospkg-1.1.4.tar.gz 89554 BLAKE2B 
b307482cc3df0f2a178dd427a37160cfdc3c407b2135a28854f3df0ff964ed57c17a8ee358a1aa90b3d735e0913bc6c3c8ea1084efdef5fd01933166e21ebac8
 SHA512 
1758dcbe28c18c834a60bbda2e5e6be34629b3dd4f6519f24dfa1324ff9fc59fb7d0ae9d324c002eee06ff672309627e48f97119b36601390b24a24ae196d5c5

diff --git a/dev-python/rospkg/rospkg-1.1.3.ebuild 
b/dev-python/rospkg/rospkg-1.1.3.ebuild
deleted file mode 100644
index dff594067af..000
--- a/dev-python/rospkg/rospkg-1.1.3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-12-08 Thread Alexis Ballier
commit: 819b26fd22ef3301f429958282d942fad9dc5b4e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Dec  6 19:23:49 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Dec  8 18:44:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819b26fd

dev-python/rospkg: add missing buidl dep on setuptools

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-python/rospkg/rospkg-1.1.4.ebuild | 1 +
 dev-python/rospkg/rospkg-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-python/rospkg/rospkg-1.1.4.ebuild 
b/dev-python/rospkg/rospkg-1.1.4.ebuild
index dff594067af..a7dae07958a 100644
--- a/dev-python/rospkg/rospkg-1.1.4.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.4.ebuild
@@ -31,6 +31,7 @@ IUSE="test"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index dff594067af..a7dae07958a 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -31,6 +31,7 @@ IUSE="test"
 
 RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-10-14 Thread Alexis Ballier
commit: 5994b2662941449a5d734e00136e95e779ebea47
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Oct 14 11:30:03 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Oct 14 11:30:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5994b266

dev-python/rospkg: Remove old

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-python/rospkg/Manifest|  1 -
 dev-python/rospkg/rospkg-1.1.2.ebuild | 43 ---
 2 files changed, 44 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index fd12c4bc1a5..1acf60b32f4 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1 @@
-DIST rospkg-1.1.2.tar.gz 89536 SHA256 
2716ecff9b08ec97f000d716a294a043527ada7e6e46586dac063ea36fce6b58 SHA512 
4fcabb88e749c0b756bc7230a8e3343098b3fc35b74bb70332e4a1ffd0df80054b9220604fb168f28ad819a3201c096a9f98ba450921a774aa8400703a7e7525
 WHIRLPOOL 
a41b70a830846678949c4bdbfa6895c3cfb1be12428292540192c683ef62e6023a4b6d4d46c35c0e4be0211beb98009b5b1ee5644f57d79a0f723bb6499d00f0
 DIST rospkg-1.1.3.tar.gz 89534 SHA256 
ba0948fbb3be14082f9e83763cbe3a12857127eb78e142748c9d16d41ab4479c SHA512 
2bb0521fbb87492dbc83d2582a8de3034f2e5548c1a464cfc558915157f3ef9d34d6166a4378d5e5cb226f2c8f714df86879220f7041d37b58a9ad33be2ce3cd
 WHIRLPOOL 
77082d0927626a5350300c556fd15eceb3527ee3a64239ade75aa2758288c1835e3f7797425ea6921674cab187593ec494406717a8daa88093dea874efad95d0

diff --git a/dev-python/rospkg/rospkg-1.1.2.ebuild 
b/dev-python/rospkg/rospkg-1.1.2.ebuild
deleted file mode 100644
index dff594067af..000
--- a/dev-python/rospkg/rospkg-1.1.2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-10-14 Thread Alexis Ballier
commit: c9e9bc84987cc2c62a547be30a453c7bfc347b7f
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Oct 14 11:31:36 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Oct 14 11:31:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e9bc84

dev-python/rospkg: bump to 1.1.4

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-python/rospkg/Manifest|  1 +
 dev-python/rospkg/rospkg-1.1.4.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 1acf60b32f4..a544e3688c0 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.1.3.tar.gz 89534 SHA256 
ba0948fbb3be14082f9e83763cbe3a12857127eb78e142748c9d16d41ab4479c SHA512 
2bb0521fbb87492dbc83d2582a8de3034f2e5548c1a464cfc558915157f3ef9d34d6166a4378d5e5cb226f2c8f714df86879220f7041d37b58a9ad33be2ce3cd
 WHIRLPOOL 
77082d0927626a5350300c556fd15eceb3527ee3a64239ade75aa2758288c1835e3f7797425ea6921674cab187593ec494406717a8daa88093dea874efad95d0
+DIST rospkg-1.1.4.tar.gz 89554 SHA256 
9d93bbf646c3db7e5ffd9814a879fe76cf45d2aa0a0bb210f44e807ea41a4c70 SHA512 
1758dcbe28c18c834a60bbda2e5e6be34629b3dd4f6519f24dfa1324ff9fc59fb7d0ae9d324c002eee06ff672309627e48f97119b36601390b24a24ae196d5c5
 WHIRLPOOL 
ab3eedf4df5bac5cfb19c50e8452928c8a879fc506a13e1ff2f92cb37afdd610ade43efd367d5c5cf09fbbc331177e42d79f8825da23ed05fae2f9f3953b4ab2

diff --git a/dev-python/rospkg/rospkg-1.1.4.ebuild 
b/dev-python/rospkg/rospkg-1.1.4.ebuild
new file mode 100644
index 000..dff594067af
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-09-28 Thread Alexis Ballier
commit: d720858567c3c758ca5543201d5016f2f235afa9
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Sep 28 12:41:41 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Sep 28 12:45:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7208585

dev-python/rospkg: bump to 1.1.3

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-python/rospkg/Manifest|  1 +
 dev-python/rospkg/rospkg-1.1.3.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 327e5c864a1..fd12c4bc1a5 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.1.2.tar.gz 89536 SHA256 
2716ecff9b08ec97f000d716a294a043527ada7e6e46586dac063ea36fce6b58 SHA512 
4fcabb88e749c0b756bc7230a8e3343098b3fc35b74bb70332e4a1ffd0df80054b9220604fb168f28ad819a3201c096a9f98ba450921a774aa8400703a7e7525
 WHIRLPOOL 
a41b70a830846678949c4bdbfa6895c3cfb1be12428292540192c683ef62e6023a4b6d4d46c35c0e4be0211beb98009b5b1ee5644f57d79a0f723bb6499d00f0
+DIST rospkg-1.1.3.tar.gz 89534 SHA256 
ba0948fbb3be14082f9e83763cbe3a12857127eb78e142748c9d16d41ab4479c SHA512 
2bb0521fbb87492dbc83d2582a8de3034f2e5548c1a464cfc558915157f3ef9d34d6166a4378d5e5cb226f2c8f714df86879220f7041d37b58a9ad33be2ce3cd
 WHIRLPOOL 
77082d0927626a5350300c556fd15eceb3527ee3a64239ade75aa2758288c1835e3f7797425ea6921674cab187593ec494406717a8daa88093dea874efad95d0

diff --git a/dev-python/rospkg/rospkg-1.1.3.ebuild 
b/dev-python/rospkg/rospkg-1.1.3.ebuild
new file mode 100644
index 000..dff594067af
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-09-28 Thread Alexis Ballier
commit: 53620184a09b3cd9a5eb2aec5adb868cb9371631
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Sep 28 12:39:37 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Sep 28 12:45:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53620184

dev-python/rospkg: Remove old

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-python/rospkg/Manifest   |  2 --
 dev-python/rospkg/rospkg-1.1.0-r1.ebuild | 43 
 dev-python/rospkg/rospkg-1.1.1.ebuild| 43 
 3 files changed, 88 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 3775720f5dc..327e5c864a1 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,3 +1 @@
-DIST rospkg-1.1.0.tar.gz 89282 SHA256 
e1a7c0025c565a969a32d75407f4fc9ae51c0676a40aa0d86c65cac7779fc760 SHA512 
0b38eb9fec701ff27842870c4d089f2deede1558f41a02004a8f2eb3fb639dac9c744086794f756b94dc108483ca433ffe4bff33be3031f496e90059f3f5c65b
 WHIRLPOOL 
5c89ef46a0e5372725617f17ef3cf5daa474ed6de1c57884e6b1e49069f93d2aebfe6a176ecb0ae5c8d69def5091432b99b481d81b0d69893fb53c3dce9360f6
-DIST rospkg-1.1.1.tar.gz 89468 SHA256 
193a23db79c72809666f8821399c1118ca18eaa8b6b248acfe27632a17878ccd SHA512 
73c29d9402140793b038f7e831fe38078ee359a77baa319f54d1b1587bb4b899c28073970e591ecaba4fbd5897c455d419d0f68f7179da5655da020bfc08b83c
 WHIRLPOOL 
8fc8affc523f51e9f44bbb91a699bc8411086b5e9787964a2edd41b33a847ccdd294c992ded7bf4a8cf52740fdde360908e3a570c384d3a54a68a09c06a80d6d
 DIST rospkg-1.1.2.tar.gz 89536 SHA256 
2716ecff9b08ec97f000d716a294a043527ada7e6e46586dac063ea36fce6b58 SHA512 
4fcabb88e749c0b756bc7230a8e3343098b3fc35b74bb70332e4a1ffd0df80054b9220604fb168f28ad819a3201c096a9f98ba450921a774aa8400703a7e7525
 WHIRLPOOL 
a41b70a830846678949c4bdbfa6895c3cfb1be12428292540192c683ef62e6023a4b6d4d46c35c0e4be0211beb98009b5b1ee5644f57d79a0f723bb6499d00f0

diff --git a/dev-python/rospkg/rospkg-1.1.0-r1.ebuild 
b/dev-python/rospkg/rospkg-1.1.0-r1.ebuild
deleted file mode 100644
index dff594067af..000
--- a/dev-python/rospkg/rospkg-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}

diff --git a/dev-python/rospkg/rospkg-1.1.1.ebuild 
b/dev-python/rospkg/rospkg-1.1.1.ebuild
deleted file mode 100644
index dff594067af..000
--- a/dev-python/rospkg/rospkg-1.1.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-08-15 Thread Alexis Ballier
commit: 8afb6b11188adc510d461a3bb34e173a311d6570
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Aug 15 06:06:14 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Aug 15 06:25:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afb6b11

dev-python/rospkg: bump to 1.1.2

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 dev-python/rospkg/Manifest|  1 +
 dev-python/rospkg/rospkg-1.1.2.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index a0240b37ae5..3775720f5dc 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1,3 @@
 DIST rospkg-1.1.0.tar.gz 89282 SHA256 
e1a7c0025c565a969a32d75407f4fc9ae51c0676a40aa0d86c65cac7779fc760 SHA512 
0b38eb9fec701ff27842870c4d089f2deede1558f41a02004a8f2eb3fb639dac9c744086794f756b94dc108483ca433ffe4bff33be3031f496e90059f3f5c65b
 WHIRLPOOL 
5c89ef46a0e5372725617f17ef3cf5daa474ed6de1c57884e6b1e49069f93d2aebfe6a176ecb0ae5c8d69def5091432b99b481d81b0d69893fb53c3dce9360f6
 DIST rospkg-1.1.1.tar.gz 89468 SHA256 
193a23db79c72809666f8821399c1118ca18eaa8b6b248acfe27632a17878ccd SHA512 
73c29d9402140793b038f7e831fe38078ee359a77baa319f54d1b1587bb4b899c28073970e591ecaba4fbd5897c455d419d0f68f7179da5655da020bfc08b83c
 WHIRLPOOL 
8fc8affc523f51e9f44bbb91a699bc8411086b5e9787964a2edd41b33a847ccdd294c992ded7bf4a8cf52740fdde360908e3a570c384d3a54a68a09c06a80d6d
+DIST rospkg-1.1.2.tar.gz 89536 SHA256 
2716ecff9b08ec97f000d716a294a043527ada7e6e46586dac063ea36fce6b58 SHA512 
4fcabb88e749c0b756bc7230a8e3343098b3fc35b74bb70332e4a1ffd0df80054b9220604fb168f28ad819a3201c096a9f98ba450921a774aa8400703a7e7525
 WHIRLPOOL 
a41b70a830846678949c4bdbfa6895c3cfb1be12428292540192c683ef62e6023a4b6d4d46c35c0e4be0211beb98009b5b1ee5644f57d79a0f723bb6499d00f0

diff --git a/dev-python/rospkg/rospkg-1.1.2.ebuild 
b/dev-python/rospkg/rospkg-1.1.2.ebuild
new file mode 100644
index 000..dff594067af
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-04-12 Thread Alexis Ballier
commit: e7c8f34bd20cf0421aba55f1f03fd5478679583b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Apr 12 14:55:03 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Apr 12 19:20:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c8f34b

dev-python/rospkg: Bump to 1.1.1

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/rospkg/Manifest|  1 +
 dev-python/rospkg/rospkg-1.1.1.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 20f45e721c4..a0240b37ae5 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.1.0.tar.gz 89282 SHA256 
e1a7c0025c565a969a32d75407f4fc9ae51c0676a40aa0d86c65cac7779fc760 SHA512 
0b38eb9fec701ff27842870c4d089f2deede1558f41a02004a8f2eb3fb639dac9c744086794f756b94dc108483ca433ffe4bff33be3031f496e90059f3f5c65b
 WHIRLPOOL 
5c89ef46a0e5372725617f17ef3cf5daa474ed6de1c57884e6b1e49069f93d2aebfe6a176ecb0ae5c8d69def5091432b99b481d81b0d69893fb53c3dce9360f6
+DIST rospkg-1.1.1.tar.gz 89468 SHA256 
193a23db79c72809666f8821399c1118ca18eaa8b6b248acfe27632a17878ccd SHA512 
73c29d9402140793b038f7e831fe38078ee359a77baa319f54d1b1587bb4b899c28073970e591ecaba4fbd5897c455d419d0f68f7179da5655da020bfc08b83c
 WHIRLPOOL 
8fc8affc523f51e9f44bbb91a699bc8411086b5e9787964a2edd41b33a847ccdd294c992ded7bf4a8cf52740fdde360908e3a570c384d3a54a68a09c06a80d6d

diff --git a/dev-python/rospkg/rospkg-1.1.1.ebuild 
b/dev-python/rospkg/rospkg-1.1.1.ebuild
new file mode 100644
index 000..dff594067af
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/gentoo.patch" )
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2017-02-28 Thread Alexis Ballier
commit: b74bbdb103793752fe430918e31a13825c58fc1b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Feb 28 11:04:00 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Feb 28 11:26:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b74bbdb1

dev-python/rospkg: strip ros_packages/ from path when updating the cache

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/rospkg/files/gentoo.patch  | 15 +++
 .../rospkg/{rospkg-.ebuild => rospkg-1.1.0-r1.ebuild} |  1 +
 dev-python/rospkg/rospkg-.ebuild  |  1 +
 3 files changed, 17 insertions(+)

diff --git a/dev-python/rospkg/files/gentoo.patch 
b/dev-python/rospkg/files/gentoo.patch
new file mode 100644
index 00..5a9e7738b3
--- /dev/null
+++ b/dev-python/rospkg/files/gentoo.patch
@@ -0,0 +1,15 @@
+Strip ros_packages/ from paths. ros_packages is only for avoiding to crawl the
+whole /usr but the real one in the path without it.
+
+Index: rospkg-1.1.0/src/rospkg/rospack.py
+===
+--- rospkg-1.1.0.orig/src/rospkg/rospack.py
 rospkg-1.1.0/src/rospkg/rospack.py
+@@ -59,6 +59,7 @@ def list_by_path(manifest_name, path, ca
+ path = os.path.abspath(path)
+ basename = os.path.basename
+ for d, dirs, files in os.walk(path, topdown=True, followlinks=True):
++d = d.replace('ros_packages/', '')
+ if 'CATKIN_IGNORE' in files:
+ del dirs[:]
+ continue  # leaf

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-1.1.0-r1.ebuild
similarity index 96%
copy from dev-python/rospkg/rospkg-.ebuild
copy to dev-python/rospkg/rospkg-1.1.0-r1.ebuild
index 56908705af..6ed953cac5 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.0-r1.ebuild
@@ -37,6 +37,7 @@ DEPEND="${RDEPEND}
dev-python/coverage[${PYTHON_USEDEP}]
)
 "
+PATCHES=( "${FILESDIR}/gentoo.patch" )
 
 python_test() {
nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 56908705af..6ed953cac5 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -37,6 +37,7 @@ DEPEND="${RDEPEND}
dev-python/coverage[${PYTHON_USEDEP}]
)
 "
+PATCHES=( "${FILESDIR}/gentoo.patch" )
 
 python_test() {
nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-02-28 Thread Alexis Ballier
commit: 63f1781cb78eeed47ea74b7f238fcea083b17b63
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Feb 28 11:04:20 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Feb 28 11:26:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63f1781c

dev-python/rospkg: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/rospkg/rospkg-1.1.0.ebuild | 43 ---
 1 file changed, 43 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.1.0.ebuild 
b/dev-python/rospkg/rospkg-1.1.0.ebuild
deleted file mode 100644
index 56908705af..00
--- a/dev-python/rospkg/rospkg-1.1.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-02-27 Thread Alexis Ballier
commit: 319b0892bc6ff7adabc2e834e96e9a82dbc5d932
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 27 10:11:37 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 27 10:49:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319b0892

dev-python/rospkg: Add python 3.6 support

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/rospkg/rospkg-1.1.0.ebuild | 2 +-
 dev-python/rospkg/rospkg-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.1.0.ebuild 
b/dev-python/rospkg/rospkg-1.1.0.ebuild
index cd2e7b33c7..56908705af 100644
--- a/dev-python/rospkg/rospkg-1.1.0.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.0.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index cd2e7b33c7..56908705af 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-02-27 Thread Alexis Ballier
commit: 9824ab0e4cb78459220ff8d5d3eac42938187201
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 27 10:10:22 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 27 10:49:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9824ab0e

dev-python/rospkg: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/rospkg/Manifest|  1 -
 dev-python/rospkg/rospkg-1.0.41-r1.ebuild | 45 ---
 2 files changed, 46 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 80ad25c2fe..20f45e721c 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1 @@
-DIST rospkg-1.0.41.tar.gz 89625 SHA256 
19e0ebf751a716e312ad848ab2b545f6634d87573109b6164438db210f1f1c12 SHA512 
d831ed5da8c5cf8d01cafcb83c879ef17647bdd8ec40f58e27766c5843bba118553daa932e18d9448120ce0be3e89f20a0ddd728c38ce47b2b3a41fb537123b5
 WHIRLPOOL 
cb1e3a5dec83f0b1612df8dbbf46c845f970916259084fd9c2b8b80d0bb8ea0bc59bf064685461ec64637259c36cedb45f4f431656627beedfddf0c915ad4762
 DIST rospkg-1.1.0.tar.gz 89282 SHA256 
e1a7c0025c565a969a32d75407f4fc9ae51c0676a40aa0d86c65cac7779fc760 SHA512 
0b38eb9fec701ff27842870c4d089f2deede1558f41a02004a8f2eb3fb639dac9c744086794f756b94dc108483ca433ffe4bff33be3031f496e90059f3f5c65b
 WHIRLPOOL 
5c89ef46a0e5372725617f17ef3cf5daa474ed6de1c57884e6b1e49069f93d2aebfe6a176ecb0ae5c8d69def5091432b99b481d81b0d69893fb53c3dce9360f6

diff --git a/dev-python/rospkg/rospkg-1.0.41-r1.ebuild 
b/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
deleted file mode 100644
index b1e0b7c703..00
--- a/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
-   
https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
-   "
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2017-02-09 Thread Alexis Ballier
commit: 8fad6df2d3068e5c37432355605324beb70f7534
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Feb  9 17:24:09 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Feb  9 17:46:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fad6df2

dev-python/rospkg: Add pypy/3 support.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/rospkg/rospkg-1.0.41-r1.ebuild | 4 ++--
 dev-python/rospkg/rospkg-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.0.41-r1.ebuild 
b/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
index 5024f1a3a4..b1e0b7c703 100644
--- a/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
+++ b/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 5024f1a3a4..b1e0b7c703 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2016-10-07 Thread Alexis Ballier
commit: 01d5d3de1190a8355e8d42e739bed44dd427a633
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Oct  7 15:54:09 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Oct  7 15:55:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d5d3de

dev-python/rospkg: drop norecurse patch now that ROS_PACKAGE_PATH is installed 
in /usr/share/ros_packages.

Package-Manager: portage-2.3.1

 dev-python/rospkg/files/norecurse.patch| 64 --
 ...ospkg-1.0.41.ebuild => rospkg-1.0.41-r1.ebuild} | 11 
 dev-python/rospkg/rospkg-.ebuild   | 13 +
 3 files changed, 1 insertion(+), 87 deletions(-)

diff --git a/dev-python/rospkg/files/norecurse.patch 
b/dev-python/rospkg/files/norecurse.patch
deleted file mode 100644
index 4b7aae9..
--- a/dev-python/rospkg/files/norecurse.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-commit c2e06e0ea0b4a1cbb67049ab77a80f53646fb0b2
-Author: Alexis Ballier 
-Date:   Tue Dec 23 12:27:19 2014 +0100
-
-Add support for rospack_norecurse to avoid recursing into all 
subdirectories when looking for a package.
-
-I am installing ros into /usr, hence this searches in /usr/share. I have a 
lot of directories, not ROS related, into /usr/share (e.g. a full TeX Live 
install), and I get these timings:
-
-Without rospack_norecurse in /usr/share:
-$ time rosversion rospack
-2.2.5
-
-real0m2.861s
-user0m1.588s
-sys 0m1.267s
-
-With rospack_norecurse in /usr/share:
-$ time rosversion rospack
-2.2.5
-
-real0m0.135s
-user0m0.100s
-sys 0m0.034s
-
-This is on a desktop with a SSD drive. On an arm board, with much less 
packages in /usr/share but way much slower I/O I remember hitting the 10 
seconds timeout for roscore to start.
-
-diff --git a/src/rospkg/rospack.py b/src/rospkg/rospack.py
-index e55acec..7ed98de 100644
 a/src/rospkg/rospack.py
-+++ b/src/rospkg/rospack.py
-@@ -42,7 +42,7 @@ from .stack import parse_stack_file, InvalidStack
- _cache_lock = Lock()
- 
- 
--def list_by_path(manifest_name, path, cache):
-+def list_by_path(manifest_name, path, cache, recurse=True):
- """
- List ROS stacks or packages within the specified path.
- 
-@@ -53,6 +53,7 @@ def list_by_path(manifest_name, path, cache):
- :param manifest_name: MANIFEST_FILE or STACK_FILE, ``str``
- :param path: path to list resources in, ``str``
- :param cache: path cache to update. Maps resource name to directory path, 
``{str: str}``
-+:param recurse: search recursively in subdirectories ``bool``
- :returns: complete list of resources in ROS environment, ``[str]``
- """
- resources = []
-@@ -89,9 +90,15 @@ def list_by_path(manifest_name, path, cache):
- # optimization for stacks.
- del dirs[:]
- continue #leaf 
--elif 'rospack_nosubdirs' in files:
-+elif 'rospack_nosubdirs' in files or not recurse:
- del dirs[:]
- continue  #leaf
-+elif 'rospack_norecurse' in files:
-+for sd in dirs:
-+spath = os.path.join(d, sd)
-+resources += list_by_path(manifest_name, spath, cache, False)
-+del dirs[:]
-+continue
- # remove hidden dirs (esp. .svn/.git)
- [dirs.remove(di) for di in dirs if di[0] == '.']
- return resources

diff --git a/dev-python/rospkg/rospkg-1.0.41.ebuild 
b/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
similarity index 82%
rename from dev-python/rospkg/rospkg-1.0.41.ebuild
rename to dev-python/rospkg/rospkg-1.0.41-r1.ebuild
index 9939d92..666d51a 100644
--- a/dev-python/rospkg/rospkg-1.0.41.ebuild
+++ b/dev-python/rospkg/rospkg-1.0.41-r1.ebuild
@@ -39,18 +39,7 @@ DEPEND="${RDEPEND}
dev-python/coverage[${PYTHON_USEDEP}]
)
 "
-PATCHES=(
-   "${FILESDIR}/norecurse.patch"
-)
 
 python_test() {
nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
 }
-
-src_install() {
-   distutils-r1_src_install
-
-   # Avoid recursing into /usr/share when looking for packages.
-   dodir /usr/share
-   touch "${ED}/usr/share/rospack_norecurse"
-}

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 5185441..666d51a 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -39,18 +39,7 @@ DEPEND="${RDEPEND}
dev-python/coverage[${PYTHON_USEDEP}]
)
 "
-PATCHES=(
-   "${FILESDIR}/norecurse.patch"
-)
 
 python_test() {
nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
 }
-
-src_install() {
-   distutils-r1_src_install
-
-   # 

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2016-10-07 Thread Alexis Ballier
commit: 50c2823b95ef9099f16a38edd7f653b317d96594
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Oct  7 15:52:27 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Oct  7 15:55:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c2823b

dev-python/rospkg: remove old

Package-Manager: portage-2.3.1

 dev-python/rospkg/Manifest |  3 --
 dev-python/rospkg/rospkg-1.0.38.ebuild | 56 --
 dev-python/rospkg/rospkg-1.0.39.ebuild | 56 --
 dev-python/rospkg/rospkg-1.0.40.ebuild | 56 --
 4 files changed, 171 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 75e73bf..4e3b9ed 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,4 +1 @@
-DIST rospkg-1.0.38.tar.gz 89321 SHA256 
1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 
21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e
 WHIRLPOOL 
109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870
-DIST rospkg-1.0.39.tar.gz 89428 SHA256 
36533bc98c57b0ee99b05b8e22160c1ee3393cd6aec7f87840b420ed7e8464cf SHA512 
c68fe32479e6c800927c73bd6e35a9f644c550a79181525f16713683ad196f2ac0425e5f9eea8eff2ea919de39867b0f31c929f618804aaa93a234f28f16c579
 WHIRLPOOL 
ad446b8f9d21443b7b3416065244964b94a9b0254dee119d7f70ddaaea8b2202401094d6c725629537d97f33429d0f63866dc4c5c7d098d2a8216382e946637a
-DIST rospkg-1.0.40.tar.gz 39548 SHA256 
ccd1d635319d41b79139b7336af64fc17a48a69ce0d728c1578c78f6350dbe1c SHA512 
92a4760922b3d12850ab4a5ab8298048529d9cb427e85e3105b7b45e3c1f061351ee9611aa4b3ee29944e2d5185481b1d96593c04b25109156eb8e8aaafab0ea
 WHIRLPOOL 
e2b0b92228a03ed4d4e31d283f34708d99bb1f3d484a892a3d883110af9f63d78df46ef84c07c368250aba12955cd1f8cbea0db1d539fcf0b02951ec677159d2
 DIST rospkg-1.0.41.tar.gz 89625 SHA256 
19e0ebf751a716e312ad848ab2b545f6634d87573109b6164438db210f1f1c12 SHA512 
d831ed5da8c5cf8d01cafcb83c879ef17647bdd8ec40f58e27766c5843bba118553daa932e18d9448120ce0be3e89f20a0ddd728c38ce47b2b3a41fb537123b5
 WHIRLPOOL 
cb1e3a5dec83f0b1612df8dbbf46c845f970916259084fd9c2b8b80d0bb8ea0bc59bf064685461ec64637259c36cedb45f4f431656627beedfddf0c915ad4762

diff --git a/dev-python/rospkg/rospkg-1.0.38.ebuild 
b/dev-python/rospkg/rospkg-1.0.38.ebuild
deleted file mode 100644
index 5185441..
--- a/dev-python/rospkg/rospkg-1.0.38.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
-   
https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
-   "
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=(
-   "${FILESDIR}/norecurse.patch"
-)
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}
-
-src_install() {
-   distutils-r1_src_install
-
-   # Avoid recursing into /usr/share when looking for packages.
-   dodir /usr/share
-   touch "${ED}/usr/share/rospack_norecurse"
-}

diff --git a/dev-python/rospkg/rospkg-1.0.39.ebuild 
b/dev-python/rospkg/rospkg-1.0.39.ebuild
deleted file mode 100644
index 5185441..
--- a/dev-python/rospkg/rospkg-1.0.39.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2016-09-29 Thread Alexis Ballier
commit: ad57e0b08572ee1ea0e8ece488e4e567955963f1
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Sep 29 12:27:26 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Sep 29 12:52:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad57e0b0

dev-python/rospkg: bump to 1.0.41

Package-Manager: portage-2.3.1

 dev-python/rospkg/Manifest |  1 +
 dev-python/rospkg/rospkg-1.0.41.ebuild | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index b40b5a9..75e73bf 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,3 +1,4 @@
 DIST rospkg-1.0.38.tar.gz 89321 SHA256 
1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 
21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e
 WHIRLPOOL 
109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870
 DIST rospkg-1.0.39.tar.gz 89428 SHA256 
36533bc98c57b0ee99b05b8e22160c1ee3393cd6aec7f87840b420ed7e8464cf SHA512 
c68fe32479e6c800927c73bd6e35a9f644c550a79181525f16713683ad196f2ac0425e5f9eea8eff2ea919de39867b0f31c929f618804aaa93a234f28f16c579
 WHIRLPOOL 
ad446b8f9d21443b7b3416065244964b94a9b0254dee119d7f70ddaaea8b2202401094d6c725629537d97f33429d0f63866dc4c5c7d098d2a8216382e946637a
 DIST rospkg-1.0.40.tar.gz 39548 SHA256 
ccd1d635319d41b79139b7336af64fc17a48a69ce0d728c1578c78f6350dbe1c SHA512 
92a4760922b3d12850ab4a5ab8298048529d9cb427e85e3105b7b45e3c1f061351ee9611aa4b3ee29944e2d5185481b1d96593c04b25109156eb8e8aaafab0ea
 WHIRLPOOL 
e2b0b92228a03ed4d4e31d283f34708d99bb1f3d484a892a3d883110af9f63d78df46ef84c07c368250aba12955cd1f8cbea0db1d539fcf0b02951ec677159d2
+DIST rospkg-1.0.41.tar.gz 89625 SHA256 
19e0ebf751a716e312ad848ab2b545f6634d87573109b6164438db210f1f1c12 SHA512 
d831ed5da8c5cf8d01cafcb83c879ef17647bdd8ec40f58e27766c5843bba118553daa932e18d9448120ce0be3e89f20a0ddd728c38ce47b2b3a41fb537123b5
 WHIRLPOOL 
cb1e3a5dec83f0b1612df8dbbf46c845f970916259084fd9c2b8b80d0bb8ea0bc59bf064685461ec64637259c36cedb45f4f431656627beedfddf0c915ad4762

diff --git a/dev-python/rospkg/rospkg-1.0.41.ebuild 
b/dev-python/rospkg/rospkg-1.0.41.ebuild
new file mode 100644
index ..9939d92
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.0.41.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   
https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=(
+   "${FILESDIR}/norecurse.patch"
+)
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}
+
+src_install() {
+   distutils-r1_src_install
+
+   # Avoid recursing into /usr/share when looking for packages.
+   dodir /usr/share
+   touch "${ED}/usr/share/rospack_norecurse"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2016-09-01 Thread Alexis Ballier
commit: abbd10a06499348e18feee42c5b42a9b975d9195
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Sep  1 10:37:29 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Sep  1 10:39:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbd10a0

dev-python/rospkg: bump to 1.0.40

Package-Manager: portage-2.3.0

 dev-python/rospkg/Manifest |  1 +
 dev-python/rospkg/rospkg-1.0.40.ebuild | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 5373eab..b40b5a9 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1,3 @@
 DIST rospkg-1.0.38.tar.gz 89321 SHA256 
1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 
21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e
 WHIRLPOOL 
109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870
 DIST rospkg-1.0.39.tar.gz 89428 SHA256 
36533bc98c57b0ee99b05b8e22160c1ee3393cd6aec7f87840b420ed7e8464cf SHA512 
c68fe32479e6c800927c73bd6e35a9f644c550a79181525f16713683ad196f2ac0425e5f9eea8eff2ea919de39867b0f31c929f618804aaa93a234f28f16c579
 WHIRLPOOL 
ad446b8f9d21443b7b3416065244964b94a9b0254dee119d7f70ddaaea8b2202401094d6c725629537d97f33429d0f63866dc4c5c7d098d2a8216382e946637a
+DIST rospkg-1.0.40.tar.gz 39548 SHA256 
ccd1d635319d41b79139b7336af64fc17a48a69ce0d728c1578c78f6350dbe1c SHA512 
92a4760922b3d12850ab4a5ab8298048529d9cb427e85e3105b7b45e3c1f061351ee9611aa4b3ee29944e2d5185481b1d96593c04b25109156eb8e8aaafab0ea
 WHIRLPOOL 
e2b0b92228a03ed4d4e31d283f34708d99bb1f3d484a892a3d883110af9f63d78df46ef84c07c368250aba12955cd1f8cbea0db1d539fcf0b02951ec677159d2

diff --git a/dev-python/rospkg/rospkg-1.0.40.ebuild 
b/dev-python/rospkg/rospkg-1.0.40.ebuild
new file mode 100644
index ..9939d92
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.0.40.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   
https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=(
+   "${FILESDIR}/norecurse.patch"
+)
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}
+
+src_install() {
+   distutils-r1_src_install
+
+   # Avoid recursing into /usr/share when looking for packages.
+   dodir /usr/share
+   touch "${ED}/usr/share/rospack_norecurse"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2016-04-25 Thread Alexis Ballier
commit: 4301e070fb2cf7d90beb13e2fbab80899ac4e435
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Apr 25 07:36:06 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Apr 25 08:56:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4301e070

dev-python/rospkg: bump to 1.0.39

Package-Manager: portage-2.2.28

 dev-python/rospkg/Manifest |  1 +
 dev-python/rospkg/rospkg-1.0.39.ebuild | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 1024384..5373eab 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.0.38.tar.gz 89321 SHA256 
1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 
21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e
 WHIRLPOOL 
109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870
+DIST rospkg-1.0.39.tar.gz 89428 SHA256 
36533bc98c57b0ee99b05b8e22160c1ee3393cd6aec7f87840b420ed7e8464cf SHA512 
c68fe32479e6c800927c73bd6e35a9f644c550a79181525f16713683ad196f2ac0425e5f9eea8eff2ea919de39867b0f31c929f618804aaa93a234f28f16c579
 WHIRLPOOL 
ad446b8f9d21443b7b3416065244964b94a9b0254dee119d7f70ddaaea8b2202401094d6c725629537d97f33429d0f63866dc4c5c7d098d2a8216382e946637a

diff --git a/dev-python/rospkg/rospkg-1.0.39.ebuild 
b/dev-python/rospkg/rospkg-1.0.39.ebuild
new file mode 100644
index 000..100d6bc
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.0.39.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=(
+   "${FILESDIR}/norecurse.patch"
+)
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}
+
+src_install() {
+   distutils-r1_src_install
+
+   # Avoid recursing into /usr/share when looking for packages.
+   dodir /usr/share
+   touch "${ED}/usr/share/rospack_norecurse"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2016-02-23 Thread Alexis Ballier
commit: c22b8b1cbac636b4713114f29ed0430454d7352b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Feb 23 18:36:19 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Feb 23 18:36:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22b8b1c

dev-python/rospkg: add python3.5 support

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/rospkg-1.0.38.ebuild | 2 +-
 dev-python/rospkg/rospkg-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/rospkg/rospkg-1.0.38.ebuild 
b/dev-python/rospkg/rospkg-1.0.38.ebuild
index 06dd93b..100d6bc 100644
--- a/dev-python/rospkg/rospkg-1.0.38.ebuild
+++ b/dev-python/rospkg/rospkg-1.0.38.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-python/rospkg/rospkg-.ebuild 
b/dev-python/rospkg/rospkg-.ebuild
index 06dd93b..100d6bc 100644
--- a/dev-python/rospkg/rospkg-.ebuild
+++ b/dev-python/rospkg/rospkg-.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2016-02-23 Thread Alexis Ballier
commit: b8ea6a01778544fd37dacafbfeb35fe5616d081e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Feb 23 18:32:18 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Feb 23 18:32:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ea6a01

dev-python/rospkg: remove old

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 dev-python/rospkg/Manifest|  2 --
 dev-python/rospkg/files/py3.patch | 21 
 dev-python/rospkg/rospkg-1.0.35.ebuild| 56 --
 dev-python/rospkg/rospkg-1.0.37-r1.ebuild | 57 ---
 4 files changed, 136 deletions(-)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 24e6a92..1024384 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,3 +1 @@
-DIST rospkg-1.0.35.tar.gz 88589 SHA256 
9ce13cb1d0f470f24cdb7f665d53948fcd0db19be7c8946ad998cbcf3998da30 SHA512 
01e59dc3eb8290af661dc54902da950649a81b3caa0b65ad7dba18c0c6d0ba1ed08bec802edbced49f65515f20f1b8db719bfb576eb38c87982386aac22a2e31
 WHIRLPOOL 
20ebafd588c6cf8598d155cdd6ec76a9f1b7ce1bb9f1a545159a75d4fe5c3621005ea5abb5b15080716439bdec91a943855a564014eee295999126caed5c34e3
-DIST rospkg-1.0.37.tar.gz 89332 SHA256 
733e9e30d30a1f293f2d2b07060d231746ce88f7cfecb076d466d9aece5a0a8a SHA512 
5e8e938831aac0c14b18d0f5063c8c8d50a2f13a4a15ce15955d854a840a8b46bab42d854b6d61d1e4e6bdef95f90e10008838d16b31e7d5b0d963b1c3c246d6
 WHIRLPOOL 
3d50c070197019b607e23a430affec8950539e0b32dd88f14e85027acea87435abebd8f58c4aeadd11cafee00d2faa26a3d9d88a0afb6efdc42dc0797642ef39
 DIST rospkg-1.0.38.tar.gz 89321 SHA256 
1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 
21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e
 WHIRLPOOL 
109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870

diff --git a/dev-python/rospkg/files/py3.patch 
b/dev-python/rospkg/files/py3.patch
deleted file mode 100644
index 268ff89..000
--- a/dev-python/rospkg/files/py3.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/ros-infrastructure/rospkg/pull/90
-
-commit 7be8d9e5ec3c6bffd970e93053078b707879c7b9
-Author: Alexis Ballier 
-Date:   Tue Oct 13 10:08:42 2015 +0200
-
-src/rospkg/os_detect.py: Use "string in dict" instead of 
"dict.has_key(string)" for python3 compatibility.
-
-diff --git a/src/rospkg/os_detect.py b/src/rospkg/os_detect.py
-index 14b57c2..554b607 100644
 a/src/rospkg/os_detect.py
-+++ b/src/rospkg/os_detect.py
-@@ -150,7 +150,7 @@ class FdoDetect(OsDetector):
- """
- def __init__(self, fdo_id):
- release_info = read_os_release()
--if release_info is not None and release_info.has_key("ID") and 
release_info["ID"] == fdo_id:
-+if release_info is not None and "ID" in release_info and 
release_info["ID"] == fdo_id:
- self.release_info = release_info
- else:
- self.release_info = None

diff --git a/dev-python/rospkg/rospkg-1.0.35.ebuild 
b/dev-python/rospkg/rospkg-1.0.35.ebuild
deleted file mode 100644
index 06dd93b..000
--- a/dev-python/rospkg/rospkg-1.0.35.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Standalone Python library for the ROS package system"
-HOMEPAGE="http://wiki.ros.org/rospkg;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-   # Needed for tests
-   S="${WORKDIR}/${PN}"
-   EGIT_CHECKOUT_DIR="${S}"
-else
-   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
-   
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
-   "
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/coverage[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=(
-   "${FILESDIR}/norecurse.patch"
-)
-
-python_test() {
-   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
-}
-
-src_install() {
-   distutils-r1_src_install
-
-   # Avoid recursing into /usr/share when looking for packages.
-   dodir /usr/share
-   touch "${ED}/usr/share/rospack_norecurse"
-}

diff --git a/dev-python/rospkg/rospkg-1.0.37-r1.ebuild 
b/dev-python/rospkg/rospkg-1.0.37-r1.ebuild
deleted file mode 100644
index 526c071..000
--- a/dev-python/rospkg/rospkg-1.0.37-r1.ebuild

[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2015-10-24 Thread Alexis Ballier
commit: be5d8b19ab2423e9aa71a3e708d0e116822b42ac
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Oct 24 09:01:57 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Oct 24 09:02:10 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5d8b19

dev-python/rospkg: Bump to 1.0.38.

Package-Manager: portage-2.2.23

 dev-python/rospkg/Manifest |  1 +
 dev-python/rospkg/rospkg-1.0.38.ebuild | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index 6400781..24e6a92 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1,2 +1,3 @@
 DIST rospkg-1.0.35.tar.gz 88589 SHA256 
9ce13cb1d0f470f24cdb7f665d53948fcd0db19be7c8946ad998cbcf3998da30 SHA512 
01e59dc3eb8290af661dc54902da950649a81b3caa0b65ad7dba18c0c6d0ba1ed08bec802edbced49f65515f20f1b8db719bfb576eb38c87982386aac22a2e31
 WHIRLPOOL 
20ebafd588c6cf8598d155cdd6ec76a9f1b7ce1bb9f1a545159a75d4fe5c3621005ea5abb5b15080716439bdec91a943855a564014eee295999126caed5c34e3
 DIST rospkg-1.0.37.tar.gz 89332 SHA256 
733e9e30d30a1f293f2d2b07060d231746ce88f7cfecb076d466d9aece5a0a8a SHA512 
5e8e938831aac0c14b18d0f5063c8c8d50a2f13a4a15ce15955d854a840a8b46bab42d854b6d61d1e4e6bdef95f90e10008838d16b31e7d5b0d963b1c3c246d6
 WHIRLPOOL 
3d50c070197019b607e23a430affec8950539e0b32dd88f14e85027acea87435abebd8f58c4aeadd11cafee00d2faa26a3d9d88a0afb6efdc42dc0797642ef39
+DIST rospkg-1.0.38.tar.gz 89321 SHA256 
1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 
21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e
 WHIRLPOOL 
109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870

diff --git a/dev-python/rospkg/rospkg-1.0.38.ebuild 
b/dev-python/rospkg/rospkg-1.0.38.ebuild
new file mode 100644
index 000..06dd93b
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.0.38.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=(
+   "${FILESDIR}/norecurse.patch"
+)
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}
+
+src_install() {
+   distutils-r1_src_install
+
+   # Avoid recursing into /usr/share when looking for packages.
+   dodir /usr/share
+   touch "${ED}/usr/share/rospack_norecurse"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/

2015-10-13 Thread Alexis Ballier
commit: c785022514c75f3c4435e54e7f806a0efcb81a63
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Oct 13 07:57:45 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Oct 13 07:59:19 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7850225

dev-python/rospkg: Version bump to 1.0.37.

Package-Manager: portage-2.2.23

 dev-python/rospkg/Manifest |  1 +
 dev-python/rospkg/rospkg-1.0.37.ebuild | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
index c0522ad..6400781 100644
--- a/dev-python/rospkg/Manifest
+++ b/dev-python/rospkg/Manifest
@@ -1 +1,2 @@
 DIST rospkg-1.0.35.tar.gz 88589 SHA256 
9ce13cb1d0f470f24cdb7f665d53948fcd0db19be7c8946ad998cbcf3998da30 SHA512 
01e59dc3eb8290af661dc54902da950649a81b3caa0b65ad7dba18c0c6d0ba1ed08bec802edbced49f65515f20f1b8db719bfb576eb38c87982386aac22a2e31
 WHIRLPOOL 
20ebafd588c6cf8598d155cdd6ec76a9f1b7ce1bb9f1a545159a75d4fe5c3621005ea5abb5b15080716439bdec91a943855a564014eee295999126caed5c34e3
+DIST rospkg-1.0.37.tar.gz 89332 SHA256 
733e9e30d30a1f293f2d2b07060d231746ce88f7cfecb076d466d9aece5a0a8a SHA512 
5e8e938831aac0c14b18d0f5063c8c8d50a2f13a4a15ce15955d854a840a8b46bab42d854b6d61d1e4e6bdef95f90e10008838d16b31e7d5b0d963b1c3c246d6
 WHIRLPOOL 
3d50c070197019b607e23a430affec8950539e0b32dd88f14e85027acea87435abebd8f58c4aeadd11cafee00d2faa26a3d9d88a0afb6efdc42dc0797642ef39

diff --git a/dev-python/rospkg/rospkg-1.0.37.ebuild 
b/dev-python/rospkg/rospkg-1.0.37.ebuild
new file mode 100644
index 000..06dd93b
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.0.37.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+   # Needed for tests
+   S="${WORKDIR}/${PN}"
+   EGIT_CHECKOUT_DIR="${S}"
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/coverage[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=(
+   "${FILESDIR}/norecurse.patch"
+)
+
+python_test() {
+   nosetests --with-coverage --cover-package=rospkg --with-xunit test || 
die
+}
+
+src_install() {
+   distutils-r1_src_install
+
+   # Avoid recursing into /usr/share when looking for packages.
+   dodir /usr/share
+   touch "${ED}/usr/share/rospack_norecurse"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/, dev-python/rospkg/files/

2015-10-13 Thread Alexis Ballier
commit: 950fe17d65a620b9cdc5f84abe7c75d9dfc52c67
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Oct 13 08:17:05 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Oct 13 08:17:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950fe17d

dev-python/rospkg: Add patch to fix python3 compatibility.

Package-Manager: portage-2.2.23

 dev-python/rospkg/files/py3.patch   | 21 +
 ...rospkg-1.0.37.ebuild => rospkg-1.0.37-r1.ebuild} |  1 +
 2 files changed, 22 insertions(+)

diff --git a/dev-python/rospkg/files/py3.patch 
b/dev-python/rospkg/files/py3.patch
new file mode 100644
index 000..268ff89
--- /dev/null
+++ b/dev-python/rospkg/files/py3.patch
@@ -0,0 +1,21 @@
+https://github.com/ros-infrastructure/rospkg/pull/90
+
+commit 7be8d9e5ec3c6bffd970e93053078b707879c7b9
+Author: Alexis Ballier 
+Date:   Tue Oct 13 10:08:42 2015 +0200
+
+src/rospkg/os_detect.py: Use "string in dict" instead of 
"dict.has_key(string)" for python3 compatibility.
+
+diff --git a/src/rospkg/os_detect.py b/src/rospkg/os_detect.py
+index 14b57c2..554b607 100644
+--- a/src/rospkg/os_detect.py
 b/src/rospkg/os_detect.py
+@@ -150,7 +150,7 @@ class FdoDetect(OsDetector):
+ """
+ def __init__(self, fdo_id):
+ release_info = read_os_release()
+-if release_info is not None and release_info.has_key("ID") and 
release_info["ID"] == fdo_id:
++if release_info is not None and "ID" in release_info and 
release_info["ID"] == fdo_id:
+ self.release_info = release_info
+ else:
+ self.release_info = None

diff --git a/dev-python/rospkg/rospkg-1.0.37.ebuild 
b/dev-python/rospkg/rospkg-1.0.37-r1.ebuild
similarity index 98%
rename from dev-python/rospkg/rospkg-1.0.37.ebuild
rename to dev-python/rospkg/rospkg-1.0.37-r1.ebuild
index 06dd93b..526c071 100644
--- a/dev-python/rospkg/rospkg-1.0.37.ebuild
+++ b/dev-python/rospkg/rospkg-1.0.37-r1.ebuild
@@ -41,6 +41,7 @@ DEPEND="${RDEPEND}
 "
 PATCHES=(
"${FILESDIR}/norecurse.patch"
+   "${FILESDIR}/py3.patch"
 )
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/rospkg/files/, dev-python/rospkg/

2015-09-16 Thread Alexis Ballier
commit: 98d56a43b063e8961a2c2a1e497da87e57c2534e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Sep 16 21:32:31 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Sep 16 21:32:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d56a43

dev-python/rospkg: Initial import. Ebuild by me.

Package-Manager: portage-2.2.20.1

 dev-python/rospkg/Manifest  |  1 +
 dev-python/rospkg/files/norecurse.patch | 64 +
 dev-python/rospkg/metadata.xml  |  5 +++
 dev-python/rospkg/rospkg-1.0.35.ebuild  | 56 +
 dev-python/rospkg/rospkg-.ebuild| 56 +
 5 files changed, 182 insertions(+)

diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
new file mode 100644
index 000..c0522ad
--- /dev/null
+++ b/dev-python/rospkg/Manifest
@@ -0,0 +1 @@
+DIST rospkg-1.0.35.tar.gz 88589 SHA256 
9ce13cb1d0f470f24cdb7f665d53948fcd0db19be7c8946ad998cbcf3998da30 SHA512 
01e59dc3eb8290af661dc54902da950649a81b3caa0b65ad7dba18c0c6d0ba1ed08bec802edbced49f65515f20f1b8db719bfb576eb38c87982386aac22a2e31
 WHIRLPOOL 
20ebafd588c6cf8598d155cdd6ec76a9f1b7ce1bb9f1a545159a75d4fe5c3621005ea5abb5b15080716439bdec91a943855a564014eee295999126caed5c34e3

diff --git a/dev-python/rospkg/files/norecurse.patch 
b/dev-python/rospkg/files/norecurse.patch
new file mode 100644
index 000..4b7aae9
--- /dev/null
+++ b/dev-python/rospkg/files/norecurse.patch
@@ -0,0 +1,64 @@
+commit c2e06e0ea0b4a1cbb67049ab77a80f53646fb0b2
+Author: Alexis Ballier 
+Date:   Tue Dec 23 12:27:19 2014 +0100
+
+Add support for rospack_norecurse to avoid recursing into all 
subdirectories when looking for a package.
+
+I am installing ros into /usr, hence this searches in /usr/share. I have a 
lot of directories, not ROS related, into /usr/share (e.g. a full TeX Live 
install), and I get these timings:
+
+Without rospack_norecurse in /usr/share:
+$ time rosversion rospack
+2.2.5
+
+real0m2.861s
+user0m1.588s
+sys 0m1.267s
+
+With rospack_norecurse in /usr/share:
+$ time rosversion rospack
+2.2.5
+
+real0m0.135s
+user0m0.100s
+sys 0m0.034s
+
+This is on a desktop with a SSD drive. On an arm board, with much less 
packages in /usr/share but way much slower I/O I remember hitting the 10 
seconds timeout for roscore to start.
+
+diff --git a/src/rospkg/rospack.py b/src/rospkg/rospack.py
+index e55acec..7ed98de 100644
+--- a/src/rospkg/rospack.py
 b/src/rospkg/rospack.py
+@@ -42,7 +42,7 @@ from .stack import parse_stack_file, InvalidStack
+ _cache_lock = Lock()
+ 
+ 
+-def list_by_path(manifest_name, path, cache):
++def list_by_path(manifest_name, path, cache, recurse=True):
+ """
+ List ROS stacks or packages within the specified path.
+ 
+@@ -53,6 +53,7 @@ def list_by_path(manifest_name, path, cache):
+ :param manifest_name: MANIFEST_FILE or STACK_FILE, ``str``
+ :param path: path to list resources in, ``str``
+ :param cache: path cache to update. Maps resource name to directory path, 
``{str: str}``
++:param recurse: search recursively in subdirectories ``bool``
+ :returns: complete list of resources in ROS environment, ``[str]``
+ """
+ resources = []
+@@ -89,9 +90,15 @@ def list_by_path(manifest_name, path, cache):
+ # optimization for stacks.
+ del dirs[:]
+ continue #leaf 
+-elif 'rospack_nosubdirs' in files:
++elif 'rospack_nosubdirs' in files or not recurse:
+ del dirs[:]
+ continue  #leaf
++elif 'rospack_norecurse' in files:
++for sd in dirs:
++spath = os.path.join(d, sd)
++resources += list_by_path(manifest_name, spath, cache, False)
++del dirs[:]
++continue
+ # remove hidden dirs (esp. .svn/.git)
+ [dirs.remove(di) for di in dirs if di[0] == '.']
+ return resources

diff --git a/dev-python/rospkg/metadata.xml b/dev-python/rospkg/metadata.xml
new file mode 100644
index 000..c42ea5b
--- /dev/null
+++ b/dev-python/rospkg/metadata.xml
@@ -0,0 +1,5 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+ros
+

diff --git a/dev-python/rospkg/rospkg-1.0.35.ebuild 
b/dev-python/rospkg/rospkg-1.0.35.ebuild
new file mode 100644
index 000..06dd93b
--- /dev/null
+++ b/dev-python/rospkg/rospkg-1.0.35.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Standalone Python library for the ROS package system"
+HOMEPAGE="http://wiki.ros.org/rospkg;
+if [