[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2022-01-28 Thread Arthur Zamarin
commit: f6db8cf2d7b1993ed43317b5444822ee88b26cd3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 29 06:28:53 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 29 06:30:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6db8cf2

dev-util/rosinstall: enable py3.9, py3.10, cleanup

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

 dev-util/rosinstall/rosinstall-0.7.8.ebuild | 41 +
 dev-util/rosinstall/rosinstall-.ebuild  | 41 +
 2 files changed, 38 insertions(+), 44 deletions(-)

diff --git a/dev-util/rosinstall/rosinstall-0.7.8.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
index e77de122d88a..9ad54ef86e60 100644
--- a/dev-util/rosinstall/rosinstall-0.7.8.ebuild
+++ b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
@@ -1,21 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
 
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
-fi
-
-inherit ${SCM} distutils-r1
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_IN_SOURCE_BUILD="yes"
+inherit distutils-r1
 
 DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
 HOMEPAGE="https://wiki.ros.org/rosinstall https://wiki.ros.org/roslocate;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
 else
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 
${P}.tar.gz
@@ -25,8 +22,6 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
dev-python/catkin_pkg[${PYTHON_USEDEP}]
@@ -34,9 +29,8 @@ RDEPEND="
dev-python/rosdistro[${PYTHON_USEDEP}]
>=dev-util/wstool-0.1.12[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
test? (
-   dev-python/nose[${PYTHON_USEDEP}]
dev-vcs/git
dev-vcs/bzr
dev-vcs/mercurial
@@ -44,17 +38,20 @@ DEPEND="${RDEPEND}
)
 "
 
-python_test() {
+distutils_enable_tests nose
+
+src_test() {
# From travis.yml
# Set git config to silence some stuff in the tests
-   git config --global user.email "f...@example.com"
-   git config --global user.name "Foo Bar"
+   git config --global user.email "f...@example.com" || die
+   git config --global user.name "Foo Bar" || die
# Set the hg user
-   echo -e "[ui]\nusername = Your Name " >> ~/.hgrc
+   echo -e "[ui]\nusername = Your Name " >> ~/.hgrc || die
# Set the bzr user
-   bzr whoami "Your Name "
+   bzr whoami "Your Name " || die
# command to run tests
# Local tests work even if ros.org is down
-   export ROSINSTALL_SKIP_PYTHON3=1
-   nosetests test || die
+   local -x ROSINSTALL_SKIP_PYTHON3=1
+
+   distutils-r1_src_test
 }

diff --git a/dev-util/rosinstall/rosinstall-.ebuild 
b/dev-util/rosinstall/rosinstall-.ebuild
index e77de122d88a..9ad54ef86e60 100644
--- a/dev-util/rosinstall/rosinstall-.ebuild
+++ b/dev-util/rosinstall/rosinstall-.ebuild
@@ -1,21 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
 
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
-fi
-
-inherit ${SCM} distutils-r1
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_IN_SOURCE_BUILD="yes"
+inherit distutils-r1
 
 DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
 HOMEPAGE="https://wiki.ros.org/rosinstall https://wiki.ros.org/roslocate;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
 else
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 
${P}.tar.gz
@@ -25,8 +22,6 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
dev-python/catkin_pkg[${PYTHON_USEDEP}]
@@ -34,9 +29,8 @@ RDEPEND="
dev-python/rosdistro[${PYTHON_USEDEP}]
>=dev-util/wstool-0.1.12[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
test? (
-   dev-python/nose[${PYTHON_USEDEP}]
dev-vcs/git
dev-vcs/bzr

[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2020-08-17 Thread Sam James
commit: e4787bd3ba9e30cf79653d8be7d72979bfd4b70c
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jun  7 19:49:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 17 12:53:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4787bd3

dev-util/rosinstall: 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-util/rosinstall/rosinstall-0.7.8.ebuild | 2 +-
 dev-util/rosinstall/rosinstall-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/rosinstall/rosinstall-0.7.8.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
index cf32eb31fff..989f4ba428a 100644
--- a/dev-util/rosinstall/rosinstall-0.7.8.ebuild
+++ b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
@@ -13,7 +13,7 @@ fi
 inherit ${SCM} distutils-r1
 
 DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
-HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
+HOMEPAGE="https://wiki.ros.org/rosinstall https://wiki.ros.org/roslocate;
 if [ "${PV#}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""

diff --git a/dev-util/rosinstall/rosinstall-.ebuild 
b/dev-util/rosinstall/rosinstall-.ebuild
index cf32eb31fff..989f4ba428a 100644
--- a/dev-util/rosinstall/rosinstall-.ebuild
+++ b/dev-util/rosinstall/rosinstall-.ebuild
@@ -13,7 +13,7 @@ fi
 inherit ${SCM} distutils-r1
 
 DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
-HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
+HOMEPAGE="https://wiki.ros.org/rosinstall https://wiki.ros.org/roslocate;
 if [ "${PV#}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""



[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2018-06-26 Thread Pacho Ramos
commit: 7384811b877ee78a538a8dd796cc62aedebffbc3
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun 26 18:48:56 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun 26 19:04:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7384811b

dev-util/rosinstall: Support python3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/rosinstall/rosinstall-0.7.8.ebuild | 4 ++--
 dev-util/rosinstall/rosinstall-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/rosinstall/rosinstall-0.7.8.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
index 42178438216..34fc06b21e2 100644
--- a/dev-util/rosinstall/rosinstall-0.7.8.ebuild
+++ b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-util/rosinstall/rosinstall-.ebuild 
b/dev-util/rosinstall/rosinstall-.ebuild
index 42178438216..34fc06b21e2 100644
--- a/dev-util/rosinstall/rosinstall-.ebuild
+++ b/dev-util/rosinstall/rosinstall-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2017-02-20 Thread Alexis Ballier
commit: 8e6dd9666a5c00456b7c922bb653339230734a45
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 20 15:03:34 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 20 15:21:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6dd966

dev-util/rosinstall: Add python 3.5 support.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-util/rosinstall/rosinstall-0.7.8.ebuild | 4 ++--
 dev-util/rosinstall/rosinstall-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/rosinstall/rosinstall-0.7.8.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
index ba1b77be0f..a8606a6650 100644
--- a/dev-util/rosinstall/rosinstall-0.7.8.ebuild
+++ b/dev-util/rosinstall/rosinstall-0.7.8.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} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then

diff --git a/dev-util/rosinstall/rosinstall-.ebuild 
b/dev-util/rosinstall/rosinstall-.ebuild
index 435dd7d7bd..a8606a6650 100644
--- a/dev-util/rosinstall/rosinstall-.ebuild
+++ b/dev-util/rosinstall/rosinstall-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 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} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 SCM=""
 if [ "${PV#}" != "${PV}" ] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2017-02-20 Thread Alexis Ballier
commit: 8936252c43f915aa4438963dfb4f81ad75905315
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Feb 20 14:50:30 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Feb 20 15:21:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8936252c

dev-util/rosinstall: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-util/rosinstall/Manifest|  2 -
 dev-util/rosinstall/rosinstall-0.7.6.ebuild | 61 -
 dev-util/rosinstall/rosinstall-0.7.7.ebuild | 61 -
 3 files changed, 124 deletions(-)

diff --git a/dev-util/rosinstall/Manifest b/dev-util/rosinstall/Manifest
index b966e5f60e..2ef9f77703 100644
--- a/dev-util/rosinstall/Manifest
+++ b/dev-util/rosinstall/Manifest
@@ -1,3 +1 @@
-DIST rosinstall-0.7.6.tar.gz 64788 SHA256 
e5abe3ddb34a84cb77ce926a71112ccda985ed95462f757a24cb67f0e6aa3d9e SHA512 
e7e480995e612557e146c9f8c5158aa3109dbc3a3b324f67d9a533cae75a10bae45bdd1573e63bb8bda2b3d7d1ef494c2de3eb06e8ee4f1e05d50f10e5015997
 WHIRLPOOL 
3affdbb949906007382bd1e2f59b48d0cb8d842d3f93ce6027066dbe644954b1ba337e44ea2d02acd26e9381a308452f84dd2d8ff3993eeb3d180ee82431e734
-DIST rosinstall-0.7.7.tar.gz 64838 SHA256 
286802588ae4b16c5e081b52d46a0b1023deafa42200ee2f1c04c758fcae744d SHA512 
1d36d78d4d8a770fda09f4db6463012a8c9a63f76d01e4cfe29505b388ae0f5289e70590b418730b1d04bfc2efa7f2554300787b6757e1ec85d39dcd514fdf52
 WHIRLPOOL 
5b06382611c95c7c192a45beb641f532aa468cf289a10d867938f98e9dd8586e0c87e8155a320d93fe306abe16eaff7bd92a646f54d45995a3e1c92809144b33
 DIST rosinstall-0.7.8.tar.gz 26430 SHA256 
2ba808bf8bac2cc3f13af9745184b9714c1426e11d09eb96468611b2ad47ed40 SHA512 
a53ae8fb96f9dda4671b22dfd9dbadc18d1e4adbf34a50b6706baf971c1c7ee418e14641d334346b02638f06c10d1bc984b4759c92a39510dd0044fbc346be67
 WHIRLPOOL 
ef84d3cc5c37792a6b1b7c85b8ae2caa9cf8ed36a3150c3270a9230a1cec32597041db7d73a03ed57cb2686d0791fb5c36764ea79518c6da6a9bca4e358e83a7

diff --git a/dev-util/rosinstall/rosinstall-0.7.6.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.6.ebuild
deleted file mode 100644
index 61d199d2b0..00
--- a/dev-util/rosinstall/rosinstall-0.7.6.ebuild
+++ /dev/null
@@ -1,61 +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_4} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
-HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-else
-   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
-   https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   "
-   KEYWORDS="~amd64 ~arm"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="
-   dev-python/catkin_pkg[${PYTHON_USEDEP}]
-   dev-python/vcstools[${PYTHON_USEDEP}]
-   dev-python/rosdistro[${PYTHON_USEDEP}]
-   dev-util/wstool[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   dev-vcs/git
-   dev-vcs/bzr
-   dev-vcs/mercurial
-   app-shells/zsh
-   )
-"
-
-python_test() {
-   # From travis.yml
-   # Set git config to silence some stuff in the tests
-   git config --global user.email "f...@example.com"
-   git config --global user.name "Foo Bar"
-   # Set the hg user
-   echo -e "[ui]\nusername = Your Name " >> ~/.hgrc
-   # Set the bzr user
-   bzr whoami "Your Name "
-   # command to run tests
-   # Local tests work even if ros.org is down
-   export ROSINSTALL_SKIP_PYTHON3=1
-   nosetests test || die
-}

diff --git a/dev-util/rosinstall/rosinstall-0.7.7.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.7.ebuild
deleted file mode 100644
index 435dd7d7bd..00
--- a/dev-util/rosinstall/rosinstall-0.7.7.ebuild
+++ /dev/null
@@ -1,61 +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_4} )
-
-SCM=""
-if [ "${PV#}" != "${PV}" ] ; then
-   SCM="git-r3"
-   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
-fi
-
-inherit ${SCM} distutils-r1
-
-DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
-HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
-if [ "${PV#}" != "${PV}" ] ; then
-   SRC_URI=""
-   KEYWORDS=""
-else
-   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
-   https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 

[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2016-05-26 Thread Alexis Ballier
commit: 2498949dfcc605bbd29058ef61b8f618149066b8
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu May 26 09:06:12 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu May 26 09:28:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2498949d

dev-util/rosinstall: bump to 0.7.8

Package-Manager: portage-2.3.0_rc1

 dev-util/rosinstall/Manifest|  1 +
 dev-util/rosinstall/rosinstall-0.7.8.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/dev-util/rosinstall/Manifest b/dev-util/rosinstall/Manifest
index 4090fde..b966e5f 100644
--- a/dev-util/rosinstall/Manifest
+++ b/dev-util/rosinstall/Manifest
@@ -1,2 +1,3 @@
 DIST rosinstall-0.7.6.tar.gz 64788 SHA256 
e5abe3ddb34a84cb77ce926a71112ccda985ed95462f757a24cb67f0e6aa3d9e SHA512 
e7e480995e612557e146c9f8c5158aa3109dbc3a3b324f67d9a533cae75a10bae45bdd1573e63bb8bda2b3d7d1ef494c2de3eb06e8ee4f1e05d50f10e5015997
 WHIRLPOOL 
3affdbb949906007382bd1e2f59b48d0cb8d842d3f93ce6027066dbe644954b1ba337e44ea2d02acd26e9381a308452f84dd2d8ff3993eeb3d180ee82431e734
 DIST rosinstall-0.7.7.tar.gz 64838 SHA256 
286802588ae4b16c5e081b52d46a0b1023deafa42200ee2f1c04c758fcae744d SHA512 
1d36d78d4d8a770fda09f4db6463012a8c9a63f76d01e4cfe29505b388ae0f5289e70590b418730b1d04bfc2efa7f2554300787b6757e1ec85d39dcd514fdf52
 WHIRLPOOL 
5b06382611c95c7c192a45beb641f532aa468cf289a10d867938f98e9dd8586e0c87e8155a320d93fe306abe16eaff7bd92a646f54d45995a3e1c92809144b33
+DIST rosinstall-0.7.8.tar.gz 26430 SHA256 
2ba808bf8bac2cc3f13af9745184b9714c1426e11d09eb96468611b2ad47ed40 SHA512 
a53ae8fb96f9dda4671b22dfd9dbadc18d1e4adbf34a50b6706baf971c1c7ee418e14641d334346b02638f06c10d1bc984b4759c92a39510dd0044fbc346be67
 WHIRLPOOL 
ef84d3cc5c37792a6b1b7c85b8ae2caa9cf8ed36a3150c3270a9230a1cec32597041db7d73a03ed57cb2686d0791fb5c36764ea79518c6da6a9bca4e358e83a7

diff --git a/dev-util/rosinstall/rosinstall-0.7.8.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
new file mode 100644
index 000..c9c0d41
--- /dev/null
+++ b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
@@ -0,0 +1,61 @@
+# 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} )
+
+SCM=""
+if [ "${PV#}" != "${PV}" ] ; then
+   SCM="git-r3"
+   EGIT_REPO_URI="https://github.com/vcstools/rosinstall;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
+HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]
+   >=dev-python/vcstools-0.1.38[${PYTHON_USEDEP}]
+   dev-python/rosdistro[${PYTHON_USEDEP}]
+   >=dev-util/wstool-0.1.12[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-vcs/git
+   dev-vcs/bzr
+   dev-vcs/mercurial
+   app-shells/zsh
+   )
+"
+
+python_test() {
+   # From travis.yml
+   # Set git config to silence some stuff in the tests
+   git config --global user.email "f...@example.com"
+   git config --global user.name "Foo Bar"
+   # Set the hg user
+   echo -e "[ui]\nusername = Your Name " >> ~/.hgrc
+   # Set the bzr user
+   bzr whoami "Your Name "
+   # command to run tests
+   # Local tests work even if ros.org is down
+   export ROSINSTALL_SKIP_PYTHON3=1
+   nosetests test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/

2015-09-17 Thread Alexis Ballier
commit: be3ad5ab84f2e687fde019acb679a67b2e2631cf
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Sep 17 11:22:34 2015 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Sep 17 11:22:45 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3ad5ab

dev-util/rosinstall: initial import. ebuild by me.

Package-Manager: portage-2.2.20.1

 dev-util/rosinstall/Manifest|  1 +
 dev-util/rosinstall/metadata.xml|  5 +++
 dev-util/rosinstall/rosinstall-0.7.6.ebuild | 61 +
 dev-util/rosinstall/rosinstall-.ebuild  | 61 +
 4 files changed, 128 insertions(+)

diff --git a/dev-util/rosinstall/Manifest b/dev-util/rosinstall/Manifest
new file mode 100644
index 000..c68cf3b
--- /dev/null
+++ b/dev-util/rosinstall/Manifest
@@ -0,0 +1 @@
+DIST rosinstall-0.7.6.tar.gz 64788 SHA256 
e5abe3ddb34a84cb77ce926a71112ccda985ed95462f757a24cb67f0e6aa3d9e SHA512 
e7e480995e612557e146c9f8c5158aa3109dbc3a3b324f67d9a533cae75a10bae45bdd1573e63bb8bda2b3d7d1ef494c2de3eb06e8ee4f1e05d50f10e5015997
 WHIRLPOOL 
3affdbb949906007382bd1e2f59b48d0cb8d842d3f93ce6027066dbe644954b1ba337e44ea2d02acd26e9381a308452f84dd2d8ff3993eeb3d180ee82431e734

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

diff --git a/dev-util/rosinstall/rosinstall-0.7.6.ebuild 
b/dev-util/rosinstall/rosinstall-0.7.6.ebuild
new file mode 100644
index 000..57d4b29
--- /dev/null
+++ b/dev-util/rosinstall/rosinstall-0.7.6.ebuild
@@ -0,0 +1,61 @@
+# 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="https://github.com/vcstools/rosinstall;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
+HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]
+   dev-python/vcstools[${PYTHON_USEDEP}]
+   dev-python/rosdistro[${PYTHON_USEDEP}]
+   dev-util/wstool[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-vcs/git
+   dev-vcs/bzr
+   dev-vcs/mercurial
+   app-shells/zsh
+   )
+"
+
+python_test() {
+   # From travis.yml
+   # Set git config to silence some stuff in the tests
+   git config --global user.email "f...@example.com"
+   git config --global user.name "Foo Bar"
+   # Set the hg user
+   echo -e "[ui]\nusername = Your Name " >> ~/.hgrc
+   # Set the bzr user
+   bzr whoami "Your Name "
+   # command to run tests
+   # Local tests work even if ros.org is down
+   export ROSINSTALL_SKIP_PYTHON3=1
+   nosetests test || die
+}

diff --git a/dev-util/rosinstall/rosinstall-.ebuild 
b/dev-util/rosinstall/rosinstall-.ebuild
new file mode 100644
index 000..57d4b29
--- /dev/null
+++ b/dev-util/rosinstall/rosinstall-.ebuild
@@ -0,0 +1,61 @@
+# 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="https://github.com/vcstools/rosinstall;
+fi
+
+inherit ${SCM} distutils-r1
+
+DESCRIPTION="Command-line tools for maintaining a workspace of projects for 
ROS"
+HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate;
+if [ "${PV#}" != "${PV}" ] ; then
+   SRC_URI=""
+   KEYWORDS=""
+else
+   SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
+   https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+   dev-python/catkin_pkg[${PYTHON_USEDEP}]
+   dev-python/vcstools[${PYTHON_USEDEP}]
+   dev-python/rosdistro[${PYTHON_USEDEP}]
+   dev-util/wstool[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-vcs/git
+   dev-vcs/bzr
+