2017-07-13 17:04:07 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2015-09-17 16:47:55 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
2017-07-13 17:04:07 +03:00
|
|
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
2015-09-17 16:47:55 +03:00
|
|
|
|
|
|
|
SCM=""
|
|
|
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
|
|
|
SCM="git-r3"
|
|
|
|
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosinstall_generator"
|
|
|
|
fi
|
|
|
|
|
|
|
|
inherit ${SCM} distutils-r1
|
|
|
|
|
2017-12-02 21:06:34 +03:00
|
|
|
DESCRIPTION="Generates rosinstall metadata about repositories with ROS packages/stacks"
|
2015-09-17 16:47:55 +03:00
|
|
|
HOMEPAGE="http://wiki.ros.org/rosinstall_generator"
|
|
|
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
|
|
|
SRC_URI=""
|
|
|
|
KEYWORDS=""
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/ros-infrastructure/rosinstall_generator/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~arm"
|
|
|
|
fi
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
>=dev-python/catkin_pkg-0.1.28[${PYTHON_USEDEP}]
|
2016-12-14 09:03:19 +03:00
|
|
|
>=dev-python/rosdistro-0.5.0[${PYTHON_USEDEP}]
|
2015-09-17 16:47:55 +03:00
|
|
|
dev-python/rospkg[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|