1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
8 if [ "${PV#9999}" != "${PV}" ] ; then
10 EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdistro"
13 inherit ${SCM} distutils-r1
15 DESCRIPTION="Tools to work with catkinized rosdistro files"
16 HOMEPAGE="http://wiki.ros.org/rosdistro"
17 if [ "${PV#9999}" != "${PV}" ] ; then
21 SRC_URI="https://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz"
22 KEYWORDS="~amd64 ~arm"
28 RESTRICT="!test? ( test )"
31 dev-python/catkin_pkg[${PYTHON_USEDEP}]
32 dev-python/rospkg[${PYTHON_USEDEP}]
33 dev-python/pyyaml[${PYTHON_USEDEP}]
34 dev-python/setuptools[${PYTHON_USEDEP}]"
36 dev-python/setuptools[${PYTHON_USEDEP}]
37 test? ( dev-python/nose[${PYTHON_USEDEP}] )
41 dev-python/mock[${PYTHON_USEDEP}]
44 PATCHES=( "${FILESDIR}/yaml.patch" )
47 # Requires network access
48 rm -f test/test_manifest_providers.py
53 nosetests --with-xunit test || die