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/rosdistro/
Date: Tue, 15 Jan 2019 10:47:01
Message-Id: 1547549206.a11deac68c646add7dc2b6a6fd28bf70ec5863d3.aballier@gentoo
1 commit: a11deac68c646add7dc2b6a6fd28bf70ec5863d3
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 15 10:42:34 2019 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 15 10:46:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11deac6
7
8 dev-python/rosdistro: bump to 0.7.1
9
10 Package-Manager: Portage-2.3.56, Repoman-2.3.12
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 dev-python/rosdistro/Manifest | 1 +
14 dev-python/rosdistro/rosdistro-0.7.1.ebuild | 46 +++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/dev-python/rosdistro/Manifest b/dev-python/rosdistro/Manifest
18 index ea31ab9b12f..be0821c4f24 100644
19 --- a/dev-python/rosdistro/Manifest
20 +++ b/dev-python/rosdistro/Manifest
21 @@ -1 +1,2 @@
22 DIST rosdistro-0.7.0.tar.gz 60092 BLAKE2B f68dde51a3e6b5efe26608130d3a69536803baad92565c7d7cb25b22f71be4cc8bb3869d72abefa7e4de4446ff7f3f49037e789c39d9ac401fff30dd8d9fc082 SHA512 8def3e3d405483f9cd51dbe82bfbb7605a50d2d14dcd9712e3e93c5c091953df430203b2383d46c1db2248678fbf2b84638328f47a256296c78229b7783e724e
23 +DIST rosdistro-0.7.1.tar.gz 60093 BLAKE2B b6e16af1b20ccc31a23365e9c74123c6cd2b17b4b522b925e66628cec0608c29bb73ffd22ca21e05f85ea20681b37d1acb95634f652e16e515e4615aec65b1b8 SHA512 cb22d331fc71324de518336b1e3afd8b9e54180b3deae55dedc619aa6308dd5ec0ffe22dfd7e2e8e362bb56b14602db9242a8b81d71f2745c9f94db94aa91ccb
24
25 diff --git a/dev-python/rosdistro/rosdistro-0.7.1.ebuild b/dev-python/rosdistro/rosdistro-0.7.1.ebuild
26 new file mode 100644
27 index 00000000000..df8542c9a22
28 --- /dev/null
29 +++ b/dev-python/rosdistro/rosdistro-0.7.1.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
36 +
37 +SCM=""
38 +if [ "${PV#9999}" != "${PV}" ] ; then
39 + SCM="git-r3"
40 + EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdistro"
41 +fi
42 +
43 +inherit ${SCM} distutils-r1
44 +
45 +DESCRIPTION="Tools to work with catkinized rosdistro files"
46 +HOMEPAGE="http://wiki.ros.org/rosdistro"
47 +if [ "${PV#9999}" != "${PV}" ] ; then
48 + SRC_URI=""
49 + KEYWORDS=""
50 +else
51 + SRC_URI="https://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm"
53 +fi
54 +
55 +LICENSE="BSD"
56 +SLOT="0"
57 +IUSE="test"
58 +
59 +RDEPEND="
60 + dev-python/catkin_pkg[${PYTHON_USEDEP}]
61 + dev-python/rospkg[${PYTHON_USEDEP}]
62 + dev-python/pyyaml[${PYTHON_USEDEP}]
63 + dev-python/setuptools[${PYTHON_USEDEP}]"
64 +BDEPEND="
65 + dev-python/setuptools[${PYTHON_USEDEP}]
66 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
67 +"
68 +DEPEND="${RDEPEND}
69 + test? (
70 + dev-python/mock[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +python_test() {
75 + nosetests --with-xunit test || die
76 +}