1 |
commit: 58ee940d6e0c8981218dd210e2cae14e5dc7691f |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 8 11:21:18 2019 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 8 11:21:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ee940d |
7 |
|
8 |
dev-util/rosdep: bump to 0.15.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-util/rosdep/Manifest | 1 + |
14 |
dev-util/rosdep/rosdep-0.15.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/rosdep/Manifest b/dev-util/rosdep/Manifest |
18 |
index 648e4ca95e9..dc629c1666f 100644 |
19 |
--- a/dev-util/rosdep/Manifest |
20 |
+++ b/dev-util/rosdep/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rosdep-0.13.0.tar.gz 301327 BLAKE2B 39c39903bb2e6c07dfd4e3aa9546acf434498db518c3bda04ef79c46ed5d13b7cd55978c78bea8294d8e5b84ddddef22814436566f3f958d91d3964650399a08 SHA512 c42aa17ee9b31f7013415e99a484a66a7a7fb52abef4cc9045658150ce0c36b475f2885ebfff537f9ce9f8fd5eeaef5482226c5bff5b4a3df03cc72b149db07a |
23 |
DIST rosdep-0.14.0.tar.gz 301534 BLAKE2B 86e4fb42e682218dc1d68851a0023f2fbddc5a8a89d90dd33cc7223080792e3d3dea7607a57692428f81589abc693c9f843be4c10ca81b6419da7e383d1c7987 SHA512 abf9c294b9fb01aa4c32bd7ad563119874e162d6031255edce642eeee1512da39a03383aa6cd55f090587df2b6bd1dc83bc53163be9d2b53be6178ec8a422f66 |
24 |
+DIST rosdep-0.15.0.tar.gz 301659 BLAKE2B c7e5602e78e8f4892f16ef41d7423e653750def24f043c2519646b8c038bcb39b62d60323ef4e8a496a863bb74f51cdce7aebb1b5423120562a34c1988437510 SHA512 d9def23a4c01636a42dbccf99be96b9704eb96641da00db4305c63b18fa0f69de1ae402bcf7fff4030bc20097496086ff9168794d1e5cd44153cb3a84ba18509 |
25 |
|
26 |
diff --git a/dev-util/rosdep/rosdep-0.15.0.ebuild b/dev-util/rosdep/rosdep-0.15.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6f344ec5df7 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/rosdep/rosdep-0.15.0.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) |
37 |
+ |
38 |
+SCM="" |
39 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
40 |
+ SCM="git-r3" |
41 |
+ EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep" |
42 |
+fi |
43 |
+ |
44 |
+inherit ${SCM} distutils-r1 |
45 |
+ |
46 |
+DESCRIPTION="Command-line tool for installing ROS system dependencies" |
47 |
+HOMEPAGE="http://wiki.ros.org/rosdep" |
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/ros-infrastructure/rosdep/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/rospkg[${PYTHON_USEDEP}] |
65 |
+ dev-python/rosdistro[${PYTHON_USEDEP}] |
66 |
+ dev-python/pyyaml[${PYTHON_USEDEP}]" |
67 |
+DEPEND="${RDEPEND}" |
68 |
+BDEPEND=" |
69 |
+ dev-python/nose[${PYTHON_USEDEP}] |
70 |
+ test? ( |
71 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
72 |
+ dev-python/mock[${PYTHON_USEDEP}] |
73 |
+ dev-python/flake8[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+python_test() { |
78 |
+ nosetests --with-coverage --cover-package=rosdep2 --with-xunit test || die |
79 |
+} |
80 |
+ |
81 |
+pkg_postrm() { |
82 |
+ if [ "${ROOT:-/}" = "/" ] ; then |
83 |
+ einfo "Removing rosdep default sources list." |
84 |
+ rm -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" |
85 |
+ fi |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ if [ "${ROOT:-/}" = "/" -a ! -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" ] ; then |
90 |
+ einfo "Initializing rosdep" |
91 |
+ rosdep init |
92 |
+ fi |
93 |
+} |