diff options
author | Alexis Ballier <aballier@gentoo.org> | 2019-01-15 11:46:04 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2019-01-15 11:46:46 +0100 |
commit | 1f5d719b09277df4a2e2382ca3a7281d14f60152 (patch) | |
tree | 31c54ecbbcd47023ad9c926d86c5bc4716ef1c26 /dev-util | |
parent | dev-util/rosdep: Remove old (diff) | |
download | gentoo-1f5d719b09277df4a2e2382ca3a7281d14f60152.tar.gz gentoo-1f5d719b09277df4a2e2382ca3a7281d14f60152.tar.bz2 gentoo-1f5d719b09277df4a2e2382ca3a7281d14f60152.zip |
dev-util/rosdep: bump to 0.14.0
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/rosdep/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rosdep/rosdep-0.14.0.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/rosdep/Manifest b/dev-util/rosdep/Manifest index 97181a88fbfb..648e4ca95e93 100644 --- a/dev-util/rosdep/Manifest +++ b/dev-util/rosdep/Manifest @@ -1 +1,2 @@ DIST rosdep-0.13.0.tar.gz 301327 BLAKE2B 39c39903bb2e6c07dfd4e3aa9546acf434498db518c3bda04ef79c46ed5d13b7cd55978c78bea8294d8e5b84ddddef22814436566f3f958d91d3964650399a08 SHA512 c42aa17ee9b31f7013415e99a484a66a7a7fb52abef4cc9045658150ce0c36b475f2885ebfff537f9ce9f8fd5eeaef5482226c5bff5b4a3df03cc72b149db07a +DIST rosdep-0.14.0.tar.gz 301534 BLAKE2B 86e4fb42e682218dc1d68851a0023f2fbddc5a8a89d90dd33cc7223080792e3d3dea7607a57692428f81589abc693c9f843be4c10ca81b6419da7e383d1c7987 SHA512 abf9c294b9fb01aa4c32bd7ad563119874e162d6031255edce642eeee1512da39a03383aa6cd55f090587df2b6bd1dc83bc53163be9d2b53be6178ec8a422f66 diff --git a/dev-util/rosdep/rosdep-0.14.0.ebuild b/dev-util/rosdep/rosdep-0.14.0.ebuild new file mode 100644 index 000000000000..6f344ec5df72 --- /dev/null +++ b/dev-util/rosdep/rosdep-0.14.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep" +fi + +inherit ${SCM} distutils-r1 + +DESCRIPTION="Command-line tool for installing ROS system dependencies" +HOMEPAGE="http://wiki.ros.org/rosdep" +if [ "${PV#9999}" != "${PV}" ] ; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz + https://github.com/ros-infrastructure/rosdep/archive/${PV}.tar.gz -> ${P}.tar.gz + " + KEYWORDS="~amd64 ~arm" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-python/catkin_pkg[${PYTHON_USEDEP}] + dev-python/rospkg[${PYTHON_USEDEP}] + dev-python/rosdistro[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/nose[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/flake8[${PYTHON_USEDEP}] + ) +" + +python_test() { + nosetests --with-coverage --cover-package=rosdep2 --with-xunit test || die +} + +pkg_postrm() { + if [ "${ROOT:-/}" = "/" ] ; then + einfo "Removing rosdep default sources list." + rm -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" + fi +} + +pkg_postinst() { + if [ "${ROOT:-/}" = "/" -a ! -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" ] ; then + einfo "Initializing rosdep" + rosdep init + fi +} |