mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-util/rosdep: treeclean
Closes: https://bugs.gentoo.org/882423 Closes: https://bugs.gentoo.org/836638 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST rosdep-0.21.0.tar.gz 312028 BLAKE2B 7ad3bfe027c574fdc82952085a5ea447e811b6858fca13121ad25cf1bda04e33091782b69c4a8f9a71383f1716678bd19c8752600987f7c41016ee93eed1ddcb SHA512 fb784c1603087b62444d767f1ce9e45303d2161e69ac82fec0edeeefd99f0c70e14b25b64a516df01e72aaa3a1b4a25b9507855edaa169c3af945e6581d9751d
|
||||
DIST rosdep-0.22.1.tar.gz 313822 BLAKE2B 537756d107e0cdea2333743bf387cfacde295a1cd368d212800fcfc9a967861b5ecd0a30e9ad53870fce7ea69d604650bb74d7331b3eb46adacffe9c2b8a0b57 SHA512 62964b2ca876cdf0cb392ba7b15a0bc5f5a735469fa9abfd0a0b0117a99fa47d5f8b7a415d9d0b7ebce1d399a964b6ee12d46c2ace8ff856cb17f2153f5cabd3
|
||||
@@ -1,20 +0,0 @@
|
||||
Index: rosdep-0.19.0/test/test_rosdep_gentoo.py
|
||||
===================================================================
|
||||
--- rosdep-0.19.0.orig/test/test_rosdep_gentoo.py
|
||||
+++ rosdep-0.19.0/test/test_rosdep_gentoo.py
|
||||
@@ -183,13 +183,11 @@ def test_PortageInstaller():
|
||||
|
||||
mock_method.return_value = ['a', 'b']
|
||||
|
||||
- expected = [['sudo', '-H', 'emerge', 'a'],
|
||||
- ['sudo', '-H', 'emerge', 'b']]
|
||||
+ expected = [['sudo', '-H', 'emerge', 'a', 'b']]
|
||||
val = installer.get_install_command(['whatever'], interactive=False)
|
||||
assert val == expected, val
|
||||
|
||||
- expected = [['sudo', '-H', 'emerge', '-a', 'a'],
|
||||
- ['sudo', '-H', 'emerge', '-a', 'b']]
|
||||
+ expected = [['sudo', '-H', 'emerge', '-a', 'a', 'b']]
|
||||
val = installer.get_install_command(['whatever'], interactive=True)
|
||||
assert val == expected, val
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ros@gentoo.org</email>
|
||||
<name>Gentoo ROS Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ros-infrastructure/rosdep</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
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="https://wiki.ros.org/rosdep"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
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"
|
||||
|
||||
# Tests need network
|
||||
RESTRICT="test"
|
||||
PROPERTIES+=" test_network"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/tests.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
unset ROS_DISTRO
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line tool for installing ROS system dependencies"
|
||||
HOMEPAGE="https://wiki.ros.org/rosdep"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep"
|
||||
inherit git-r3
|
||||
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"
|
||||
|
||||
# Tests need network
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/tests.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
unset ROS_DISTRO
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line tool for installing ROS system dependencies"
|
||||
HOMEPAGE="https://wiki.ros.org/rosdep"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep"
|
||||
inherit git-r3
|
||||
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"
|
||||
|
||||
# Tests need network
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/tests.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
unset ROS_DISTRO
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -373,7 +373,6 @@ dev-python/rospkg
|
||||
dev-python/urdf_parser_py
|
||||
dev-python/vcstools
|
||||
dev-util/catkin
|
||||
dev-util/rosdep
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2022-12-23)
|
||||
# Packages that still use dev-python/nose and have no revdeps.
|
||||
|
||||
Reference in New Issue
Block a user