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: Sun, 28 Jan 2018 12:54:47
Message-Id: 1517144072.0b9d09a839b4e4aa38b73f8da4ed525a235a93e6.aballier@gentoo
1 commit: 0b9d09a839b4e4aa38b73f8da4ed525a235a93e6
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 28 09:42:58 2018 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 12:54:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9d09a8
7
8 dev-python/rosdistro: 0.6.6
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11
12 dev-python/rosdistro/Manifest | 1 +
13 dev-python/rosdistro/rosdistro-0.6.6.ebuild | 43 +++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/rosdistro/Manifest b/dev-python/rosdistro/Manifest
17 index 372bc819cde..2df43d31176 100644
18 --- a/dev-python/rosdistro/Manifest
19 +++ b/dev-python/rosdistro/Manifest
20 @@ -1 +1,2 @@
21 DIST rosdistro-0.6.4.tar.gz 58603 BLAKE2B 9eed482987826b69eba51f1776df0d2285c496130d500f082f82fe7fbbb8e8d5767dcaec93582328a33c164a862ac2a46ac6d0ed0f770ebb16b25e680dc1e9af SHA512 92365b556cc6615245bd69cce35efb2fe879fe42fb4aafef08b2472c67b43e14e3088c1186e8b1d4f5f3781bfebbe826b3c361a9435ce27745a3506d20d40f85
22 +DIST rosdistro-0.6.6.tar.gz 58881 BLAKE2B 9daa5c08b97509606d5077f55e8a85d2cd278f69aebff22feefd9661d455f38cff549ee26f894b040cad7192f044828a20cf749d83a257a8b5604f07d382f081 SHA512 2a4b0dfcaa43a8e4d4a0fff5ed204ad81317156128d9050e0c67dfe2cd9efda2bfc84f454e424ebd457e7c62c7c6add113ceb31e99310c34a9fc9f206e510922
23
24 diff --git a/dev-python/rosdistro/rosdistro-0.6.6.ebuild b/dev-python/rosdistro/rosdistro-0.6.6.ebuild
25 new file mode 100644
26 index 00000000000..8780e241c60
27 --- /dev/null
28 +++ b/dev-python/rosdistro/rosdistro-0.6.6.ebuild
29 @@ -0,0 +1,43 @@
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/rosdistro"
40 +fi
41 +
42 +inherit ${SCM} distutils-r1
43 +
44 +DESCRIPTION="Tools to work with catkinized rosdistro files"
45 +HOMEPAGE="http://wiki.ros.org/rosdistro"
46 +if [ "${PV#9999}" != "${PV}" ] ; then
47 + SRC_URI=""
48 + KEYWORDS=""
49 +else
50 + SRC_URI="https://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm"
52 +fi
53 +
54 +LICENSE="BSD"
55 +SLOT="0"
56 +IUSE="test"
57 +
58 +RDEPEND="
59 + dev-python/catkin_pkg[${PYTHON_USEDEP}]
60 + dev-python/rospkg[${PYTHON_USEDEP}]
61 + dev-python/pyyaml[${PYTHON_USEDEP}]
62 + dev-python/setuptools[${PYTHON_USEDEP}]"
63 +DEPEND="${RDEPEND}
64 + test? (
65 + dev-python/nose[${PYTHON_USEDEP}]
66 + dev-python/mock[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +python_test() {
71 + nosetests --with-xunit test || die
72 +}