1 |
commit: 68b9a65b6ef6c5e845296a654132a0403a8d7017 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 25 13:40:07 2018 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 25 13:48:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b9a65b |
7 |
|
8 |
dev-util/rosdep: bump to 0.12.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-util/rosdep/Manifest | 1 + |
13 |
dev-util/rosdep/rosdep-0.12.2.ebuild | 61 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/rosdep/Manifest b/dev-util/rosdep/Manifest |
17 |
index 8b4c163e62c..2d9708efe29 100644 |
18 |
--- a/dev-util/rosdep/Manifest |
19 |
+++ b/dev-util/rosdep/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rosdep-0.12.1.tar.gz 117102 BLAKE2B 42b0f6e7b6b0c2a4219bce24ff74ec01efb61ac0799a89baa5dc7f6b698e8f69a1578f744179252e7123c87c9fb0368b43a9a293609b28f6bfbc32c87b5f4627 SHA512 031bdfb4877865cacfab63a4494807ecf157d8514e89c7ab15e38fcbd4664df1247874975d7b1af42a8a1fc24cb62a558bd6b43732946f3122ffa6448a7631da |
22 |
+DIST rosdep-0.12.2.tar.gz 118343 BLAKE2B 98163feef406707772a54bf6d1825900ac593113d635de92adcac0ae7ce201c2e312116104c76c13b9c1e3b1847ef4dcc0cfb4fd1edcb2795c6b323fa9cc7167 SHA512 0932a5ff9874bbdffa1160fe0a391d27eef9a2f2435d7a89fa3b5e4eab0fc08205d4417aaea1254ab7bfe679cfeb61a6f1b199f06d65154b30505e2a280c0b61 |
23 |
|
24 |
diff --git a/dev-util/rosdep/rosdep-0.12.2.ebuild b/dev-util/rosdep/rosdep-0.12.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..842ec4941e9 |
27 |
--- /dev/null |
28 |
+++ b/dev-util/rosdep/rosdep-0.12.2.ebuild |
29 |
@@ -0,0 +1,61 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) |
35 |
+ |
36 |
+SCM="" |
37 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
38 |
+ SCM="git-r3" |
39 |
+ EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep" |
40 |
+fi |
41 |
+ |
42 |
+inherit ${SCM} distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Command-line tool for installing ROS system dependencies" |
45 |
+HOMEPAGE="http://wiki.ros.org/rosdep" |
46 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
47 |
+ SRC_URI="" |
48 |
+ KEYWORDS="" |
49 |
+else |
50 |
+ SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz |
51 |
+ https://github.com/ros-infrastructure/rosdep/archive/${PV}.tar.gz -> ${P}.tar.gz |
52 |
+ " |
53 |
+ KEYWORDS="~amd64 ~arm" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="BSD" |
57 |
+SLOT="0" |
58 |
+IUSE="test" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ dev-python/catkin_pkg[${PYTHON_USEDEP}] |
62 |
+ dev-python/rospkg[${PYTHON_USEDEP}] |
63 |
+ dev-python/rosdistro[${PYTHON_USEDEP}] |
64 |
+ dev-python/pyyaml[${PYTHON_USEDEP}]" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ dev-python/nose[${PYTHON_USEDEP}] |
67 |
+ test? ( |
68 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
69 |
+ dev-python/mock[${PYTHON_USEDEP}] |
70 |
+ dev-python/flake8[${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 |
+} |