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/rosdep/
Date: Fri, 04 Aug 2017 18:40:18
Message-Id: 1501871998.d936f671272a0c9d9882e2a89efdf2bd69a08203.aballier@gentoo
1 commit: d936f671272a0c9d9882e2a89efdf2bd69a08203
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 4 18:39:50 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 4 18:39:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d936f671
7
8 dev-util/rosdep: bump to 0.11.8
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-util/rosdep/Manifest | 1 +
13 dev-util/rosdep/rosdep-0.11.8.ebuild | 60 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-util/rosdep/Manifest b/dev-util/rosdep/Manifest
17 index 5fc0f28b26e..e564ddb6c35 100644
18 --- a/dev-util/rosdep/Manifest
19 +++ b/dev-util/rosdep/Manifest
20 @@ -1,2 +1,3 @@
21 DIST rosdep-0.11.5.tar.gz 76136 SHA256 46e072074270a1ea25411829814f4bdc1f34b358c950e9b8a7b75b4a40efd96a SHA512 593ca209714945e79ec878e0e84d086645bea9095bc2fbf0a3ac48b8696c8694990f554f160b8271734e2980d95390dc2dffbd3da765c43c505d8b2e1e05e381 WHIRLPOOL 59b04fbfa5521a8df7c9d556bc7faf0da3d425a56d6dfeafb8583bf24a24f6c762dac7e9f1abb747fa7604c9cb1c621c13537a7eb2dcf88408b50a183ac85da9
22 DIST rosdep-0.11.6.tar.gz 79121 SHA256 d30b46fe89832fd47e03f74f0d720d94793875aa02ee9e86f403195fb66c9218 SHA512 f662ab62951d84db1af48978791304e0c1800929a1ae89c360a042a17bc48c2ff6b7ea790fa7fc16852fb5f09f62e9b800d7be7f71ee18124102e48f030e3b2a WHIRLPOOL 7111e702777e9fb5ca3d2c9a716def34f6dd985cf7523b49b150d140622aeb18487bf0ded727add2a43d88deb226568df8e6bea61e8c5e4e0e8d777d61c102dd
23 +DIST rosdep-0.11.8.tar.gz 112899 SHA256 2d5b3c73caa1af5a92b2d1d5356614fff4947d62ac9985e96f62ef801a078137 SHA512 9fe44eb2dbcdfce0ac6df9b4f6926d26fa12d9fe4089976a460448dc6d4ecb893c0c7cb6b6e9f16bd07da0be4088d7d3eb594d2c0fad6f77d8728e2873cbc344 WHIRLPOOL 4ad977497fb85d41c94d68ce68cfd8b8ff3b3e4b8ae1dcd89c0bc4f38899e315e68471e87591a4f91784168dd45f8387a34bbba4a4d38f04b62607b098126ba7
24
25 diff --git a/dev-util/rosdep/rosdep-0.11.8.ebuild b/dev-util/rosdep/rosdep-0.11.8.ebuild
26 new file mode 100644
27 index 00000000000..463cc83cafb
28 --- /dev/null
29 +++ b/dev-util/rosdep/rosdep-0.11.8.ebuild
30 @@ -0,0 +1,60 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
36 +
37 +SCM=""
38 +if [ "${PV#9999}" != "${PV}" ] ; then
39 + SCM="git-r3"
40 + EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep"
41 +fi
42 +
43 +inherit ${SCM} distutils-r1
44 +
45 +DESCRIPTION="Command-line tool for installing ROS system dependencies"
46 +HOMEPAGE="http://wiki.ros.org/rosdep"
47 +if [ "${PV#9999}" != "${PV}" ] ; then
48 + SRC_URI=""
49 + KEYWORDS=""
50 +else
51 + SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
52 + https://github.com/ros-infrastructure/rosdep/archive/${PV}.tar.gz -> ${P}.tar.gz
53 + "
54 + KEYWORDS="~amd64 ~arm"
55 +fi
56 +
57 +LICENSE="BSD"
58 +SLOT="0"
59 +IUSE="test"
60 +
61 +RDEPEND="
62 + dev-python/catkin_pkg[${PYTHON_USEDEP}]
63 + dev-python/rospkg[${PYTHON_USEDEP}]
64 + dev-python/rosdistro[${PYTHON_USEDEP}]
65 + dev-python/pyyaml[${PYTHON_USEDEP}]"
66 +DEPEND="${RDEPEND}
67 + dev-python/nose[${PYTHON_USEDEP}]
68 + test? (
69 + dev-python/coverage[${PYTHON_USEDEP}]
70 + dev-python/mock[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +python_test() {
75 + nosetests --with-coverage --cover-package=rosdep2 --with-xunit test || die
76 +}
77 +
78 +pkg_postrm() {
79 + if [ "${ROOT:-/}" = "/" ] ; then
80 + einfo "Removing rosdep default sources list."
81 + rm -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list"
82 + fi
83 +}
84 +
85 +pkg_postinst() {
86 + if [ "${ROOT:-/}" = "/" -a ! -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" ] ; then
87 + einfo "Initializing rosdep"
88 + rosdep init
89 + fi
90 +}