1 |
commit: d720858567c3c758ca5543201d5016f2f235afa9 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 28 12:41:41 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 12:45:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7208585 |
7 |
|
8 |
dev-python/rospkg: bump to 1.1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
dev-python/rospkg/Manifest | 1 + |
13 |
dev-python/rospkg/rospkg-1.1.3.ebuild | 43 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest |
17 |
index 327e5c864a1..fd12c4bc1a5 100644 |
18 |
--- a/dev-python/rospkg/Manifest |
19 |
+++ b/dev-python/rospkg/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rospkg-1.1.2.tar.gz 89536 SHA256 2716ecff9b08ec97f000d716a294a043527ada7e6e46586dac063ea36fce6b58 SHA512 4fcabb88e749c0b756bc7230a8e3343098b3fc35b74bb70332e4a1ffd0df80054b9220604fb168f28ad819a3201c096a9f98ba450921a774aa8400703a7e7525 WHIRLPOOL a41b70a830846678949c4bdbfa6895c3cfb1be12428292540192c683ef62e6023a4b6d4d46c35c0e4be0211beb98009b5b1ee5644f57d79a0f723bb6499d00f0 |
22 |
+DIST rospkg-1.1.3.tar.gz 89534 SHA256 ba0948fbb3be14082f9e83763cbe3a12857127eb78e142748c9d16d41ab4479c SHA512 2bb0521fbb87492dbc83d2582a8de3034f2e5548c1a464cfc558915157f3ef9d34d6166a4378d5e5cb226f2c8f714df86879220f7041d37b58a9ad33be2ce3cd WHIRLPOOL 77082d0927626a5350300c556fd15eceb3527ee3a64239ade75aa2758288c1835e3f7797425ea6921674cab187593ec494406717a8daa88093dea874efad95d0 |
23 |
|
24 |
diff --git a/dev-python/rospkg/rospkg-1.1.3.ebuild b/dev-python/rospkg/rospkg-1.1.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..dff594067af |
27 |
--- /dev/null |
28 |
+++ b/dev-python/rospkg/rospkg-1.1.3.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2017 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/rospkg" |
40 |
+fi |
41 |
+ |
42 |
+inherit ${SCM} distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Standalone Python library for the ROS package system" |
45 |
+HOMEPAGE="http://wiki.ros.org/rospkg" |
46 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
47 |
+ SRC_URI="" |
48 |
+ KEYWORDS="" |
49 |
+ # Needed for tests |
50 |
+ S="${WORKDIR}/${PN}" |
51 |
+ EGIT_CHECKOUT_DIR="${S}" |
52 |
+else |
53 |
+ SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ KEYWORDS="~amd64 ~arm" |
55 |
+fi |
56 |
+ |
57 |
+LICENSE="BSD" |
58 |
+SLOT="0" |
59 |
+IUSE="test" |
60 |
+ |
61 |
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ test? ( |
64 |
+ dev-python/nose[${PYTHON_USEDEP}] |
65 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+PATCHES=( "${FILESDIR}/gentoo.patch" ) |
69 |
+ |
70 |
+python_test() { |
71 |
+ nosetests --with-coverage --cover-package=rospkg --with-xunit test || die |
72 |
+} |