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-python/rospkg/
Date: Mon, 25 Apr 2016 08:57:35
Message-Id: 1461574595.4301e070fb2cf7d90beb13e2fbab80899ac4e435.aballier@gentoo
1 commit: 4301e070fb2cf7d90beb13e2fbab80899ac4e435
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 25 07:36:06 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 25 08:56:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4301e070
7
8 dev-python/rospkg: bump to 1.0.39
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/rospkg/Manifest | 1 +
13 dev-python/rospkg/rospkg-1.0.39.ebuild | 56 ++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/rospkg/Manifest b/dev-python/rospkg/Manifest
17 index 1024384..5373eab 100644
18 --- a/dev-python/rospkg/Manifest
19 +++ b/dev-python/rospkg/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/dev-python/rospkg/rospkg-1.0.39.ebuild b/dev-python/rospkg/rospkg-1.0.39.ebuild
25 new file mode 100644
26 index 0000000..100d6bc
27 --- /dev/null
28 +++ b/dev-python/rospkg/rospkg-1.0.39.ebuild
29 @@ -0,0 +1,56 @@
30 +# Copyright 1999-2014 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
36 +
37 +SCM=""
38 +if [ "${PV#9999}" != "${PV}" ] ; then
39 + SCM="git-r3"
40 + EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg"
41 +fi
42 +
43 +inherit ${SCM} distutils-r1
44 +
45 +DESCRIPTION="Standalone Python library for the ROS package system"
46 +HOMEPAGE="http://wiki.ros.org/rospkg"
47 +if [ "${PV#9999}" != "${PV}" ] ; then
48 + SRC_URI=""
49 + KEYWORDS=""
50 + # Needed for tests
51 + S="${WORKDIR}/${PN}"
52 + EGIT_CHECKOUT_DIR="${S}"
53 +else
54 + SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
55 + http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
56 + "
57 + KEYWORDS="~amd64 ~arm"
58 +fi
59 +
60 +LICENSE="BSD"
61 +SLOT="0"
62 +IUSE="test"
63 +
64 +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
65 +DEPEND="${RDEPEND}
66 + test? (
67 + dev-python/nose[${PYTHON_USEDEP}]
68 + dev-python/coverage[${PYTHON_USEDEP}]
69 + )
70 +"
71 +PATCHES=(
72 + "${FILESDIR}/norecurse.patch"
73 +)
74 +
75 +python_test() {
76 + nosetests --with-coverage --cover-package=rospkg --with-xunit test || die
77 +}
78 +
79 +src_install() {
80 + distutils-r1_src_install
81 +
82 + # Avoid recursing into /usr/share when looking for packages.
83 + dodir /usr/share
84 + touch "${ED}/usr/share/rospack_norecurse"
85 +}