Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rosinstall/
Date: Thu, 26 May 2016 09:31:46
Message-Id: 1464254925.2498949dfcc605bbd29058ef61b8f618149066b8.aballier@gentoo
1 commit: 2498949dfcc605bbd29058ef61b8f618149066b8
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 09:06:12 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 09:28:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2498949d
7
8 dev-util/rosinstall: bump to 0.7.8
9
10 Package-Manager: portage-2.3.0_rc1
11
12 dev-util/rosinstall/Manifest | 1 +
13 dev-util/rosinstall/rosinstall-0.7.8.ebuild | 61 +++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-util/rosinstall/Manifest b/dev-util/rosinstall/Manifest
17 index 4090fde..b966e5f 100644
18 --- a/dev-util/rosinstall/Manifest
19 +++ b/dev-util/rosinstall/Manifest
20 @@ -1,2 +1,3 @@
21 DIST rosinstall-0.7.6.tar.gz 64788 SHA256 e5abe3ddb34a84cb77ce926a71112ccda985ed95462f757a24cb67f0e6aa3d9e SHA512 e7e480995e612557e146c9f8c5158aa3109dbc3a3b324f67d9a533cae75a10bae45bdd1573e63bb8bda2b3d7d1ef494c2de3eb06e8ee4f1e05d50f10e5015997 WHIRLPOOL 3affdbb949906007382bd1e2f59b48d0cb8d842d3f93ce6027066dbe644954b1ba337e44ea2d02acd26e9381a308452f84dd2d8ff3993eeb3d180ee82431e734
22 DIST rosinstall-0.7.7.tar.gz 64838 SHA256 286802588ae4b16c5e081b52d46a0b1023deafa42200ee2f1c04c758fcae744d SHA512 1d36d78d4d8a770fda09f4db6463012a8c9a63f76d01e4cfe29505b388ae0f5289e70590b418730b1d04bfc2efa7f2554300787b6757e1ec85d39dcd514fdf52 WHIRLPOOL 5b06382611c95c7c192a45beb641f532aa468cf289a10d867938f98e9dd8586e0c87e8155a320d93fe306abe16eaff7bd92a646f54d45995a3e1c92809144b33
23 +DIST rosinstall-0.7.8.tar.gz 26430 SHA256 2ba808bf8bac2cc3f13af9745184b9714c1426e11d09eb96468611b2ad47ed40 SHA512 a53ae8fb96f9dda4671b22dfd9dbadc18d1e4adbf34a50b6706baf971c1c7ee418e14641d334346b02638f06c10d1bc984b4759c92a39510dd0044fbc346be67 WHIRLPOOL ef84d3cc5c37792a6b1b7c85b8ae2caa9cf8ed36a3150c3270a9230a1cec32597041db7d73a03ed57cb2686d0791fb5c36764ea79518c6da6a9bca4e358e83a7
24
25 diff --git a/dev-util/rosinstall/rosinstall-0.7.8.ebuild b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
26 new file mode 100644
27 index 0000000..c9c0d41
28 --- /dev/null
29 +++ b/dev-util/rosinstall/rosinstall-0.7.8.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
37 +
38 +SCM=""
39 +if [ "${PV#9999}" != "${PV}" ] ; then
40 + SCM="git-r3"
41 + EGIT_REPO_URI="https://github.com/vcstools/rosinstall"
42 +fi
43 +
44 +inherit ${SCM} distutils-r1
45 +
46 +DESCRIPTION="Command-line tools for maintaining a workspace of projects for ROS"
47 +HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate"
48 +if [ "${PV#9999}" != "${PV}" ] ; then
49 + SRC_URI=""
50 + KEYWORDS=""
51 +else
52 + SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
53 + https://github.com/vcstools/rosinstall/archive/${PV}.tar.gz -> ${P}.tar.gz
54 + "
55 + KEYWORDS="~amd64 ~arm"
56 +fi
57 +
58 +LICENSE="BSD"
59 +SLOT="0"
60 +IUSE="test"
61 +
62 +RDEPEND="
63 + dev-python/catkin_pkg[${PYTHON_USEDEP}]
64 + >=dev-python/vcstools-0.1.38[${PYTHON_USEDEP}]
65 + dev-python/rosdistro[${PYTHON_USEDEP}]
66 + >=dev-util/wstool-0.1.12[${PYTHON_USEDEP}]
67 + dev-python/pyyaml[${PYTHON_USEDEP}]"
68 +DEPEND="${RDEPEND}
69 + test? (
70 + dev-python/nose[${PYTHON_USEDEP}]
71 + dev-vcs/git
72 + dev-vcs/bzr
73 + dev-vcs/mercurial
74 + app-shells/zsh
75 + )
76 +"
77 +
78 +python_test() {
79 + # From travis.yml
80 + # Set git config to silence some stuff in the tests
81 + git config --global user.email "foo@×××××××.com"
82 + git config --global user.name "Foo Bar"
83 + # Set the hg user
84 + echo -e "[ui]\nusername = Your Name <your@××××.com>" >> ~/.hgrc
85 + # Set the bzr user
86 + bzr whoami "Your Name <name@×××××××.com>"
87 + # command to run tests
88 + # Local tests work even if ros.org is down
89 + export ROSINSTALL_SKIP_PYTHON3=1
90 + nosetests test || die
91 +}