1 |
commit: abbd10a06499348e18feee42c5b42a9b975d9195 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 10:37:29 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 10:39:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbd10a0 |
7 |
|
8 |
dev-python/rospkg: bump to 1.0.40 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/rospkg/Manifest | 1 + |
13 |
dev-python/rospkg/rospkg-1.0.40.ebuild | 56 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest |
17 |
index 5373eab..b40b5a9 100644 |
18 |
--- a/dev-python/rospkg/Manifest |
19 |
+++ b/dev-python/rospkg/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST rospkg-1.0.38.tar.gz 89321 SHA256 1a1567d3e33c3910518dbfbb09760c499153b1c0ad6b8ddc5045488c11db43e4 SHA512 21cc9057a445b06db66b454e46c3ecdf8d83e54bbf4c204c63b13278dc93cdad60a80f4cab29eba7bc1811d43b406f91435499f7e58fa97814302dfb786f483e WHIRLPOOL 109e8d5ddc3f432c28959b7e6f15703aa2d67cd3ee524e4964e5388a7982b6aea144e5afcf0d22add230e33beb485ade0656025b77f2b56be75d313aa1e52870 |
22 |
DIST rospkg-1.0.39.tar.gz 89428 SHA256 36533bc98c57b0ee99b05b8e22160c1ee3393cd6aec7f87840b420ed7e8464cf SHA512 c68fe32479e6c800927c73bd6e35a9f644c550a79181525f16713683ad196f2ac0425e5f9eea8eff2ea919de39867b0f31c929f618804aaa93a234f28f16c579 WHIRLPOOL ad446b8f9d21443b7b3416065244964b94a9b0254dee119d7f70ddaaea8b2202401094d6c725629537d97f33429d0f63866dc4c5c7d098d2a8216382e946637a |
23 |
+DIST rospkg-1.0.40.tar.gz 39548 SHA256 ccd1d635319d41b79139b7336af64fc17a48a69ce0d728c1578c78f6350dbe1c SHA512 92a4760922b3d12850ab4a5ab8298048529d9cb427e85e3105b7b45e3c1f061351ee9611aa4b3ee29944e2d5185481b1d96593c04b25109156eb8e8aaafab0ea WHIRLPOOL e2b0b92228a03ed4d4e31d283f34708d99bb1f3d484a892a3d883110af9f63d78df46ef84c07c368250aba12955cd1f8cbea0db1d539fcf0b02951ec677159d2 |
24 |
|
25 |
diff --git a/dev-python/rospkg/rospkg-1.0.40.ebuild b/dev-python/rospkg/rospkg-1.0.40.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..9939d92 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/rospkg/rospkg-1.0.40.ebuild |
30 |
@@ -0,0 +1,56 @@ |
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,3_5} ) |
37 |
+ |
38 |
+SCM="" |
39 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
40 |
+ SCM="git-r3" |
41 |
+ EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg" |
42 |
+fi |
43 |
+ |
44 |
+inherit ${SCM} distutils-r1 |
45 |
+ |
46 |
+DESCRIPTION="Standalone Python library for the ROS package system" |
47 |
+HOMEPAGE="http://wiki.ros.org/rospkg" |
48 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
49 |
+ SRC_URI="" |
50 |
+ KEYWORDS="" |
51 |
+ # Needed for tests |
52 |
+ S="${WORKDIR}/${PN}" |
53 |
+ EGIT_CHECKOUT_DIR="${S}" |
54 |
+else |
55 |
+ SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz |
56 |
+ https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz |
57 |
+ " |
58 |
+ KEYWORDS="~amd64 ~arm" |
59 |
+fi |
60 |
+ |
61 |
+LICENSE="BSD" |
62 |
+SLOT="0" |
63 |
+IUSE="test" |
64 |
+ |
65 |
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ test? ( |
68 |
+ dev-python/nose[${PYTHON_USEDEP}] |
69 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+PATCHES=( |
73 |
+ "${FILESDIR}/norecurse.patch" |
74 |
+) |
75 |
+ |
76 |
+python_test() { |
77 |
+ nosetests --with-coverage --cover-package=rospkg --with-xunit test || die |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ distutils-r1_src_install |
82 |
+ |
83 |
+ # Avoid recursing into /usr/share when looking for packages. |
84 |
+ dodir /usr/share |
85 |
+ touch "${ED}/usr/share/rospack_norecurse" |
86 |
+} |