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} pypy3 )
8 if [ "${PV#9999}" != "${PV}" ] ; then
10 EGIT_REPO_URI="https://github.com/ros-infrastructure/catkin_pkg"
13 inherit ${SCM} distutils-r1
15 DESCRIPTION="Standalone Python library for the catkin package system"
16 HOMEPAGE="http://wiki.ros.org/catkin_pkg"
17 if [ "${PV#9999}" != "${PV}" ] ; then
21 SRC_URI="https://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}-gh.tar.gz"
22 KEYWORDS="~amd64 ~arm"
28 RESTRICT="!test? ( test )"
31 dev-python/setuptools[${PYTHON_USEDEP}]
32 dev-python/docutils[${PYTHON_USEDEP}]
33 dev-python/python-dateutil[${PYTHON_USEDEP}]
34 dev-python/pyparsing[${PYTHON_USEDEP}]
38 dev-python/nose[${PYTHON_USEDEP}]
41 DEPEND="${RDEPEND} ${BDEPEND}
43 dev-python/flake8[${PYTHON_USEDEP}]
44 dev-python/mock[${PYTHON_USEDEP}]
47 !<dev-util/catkin-0.7.14"
49 "${FILESDIR}/catkin_prefix2.patch"
50 "${FILESDIR}/ros_packages.patch"
51 "${FILESDIR}/infinite_loop3.patch"
55 nosetests -s --tests test || die