aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuss Webber <russ@rw.id.au>2020-06-08 01:14:00 +1000
committerRasmus Thomsen <oss@cogitri.dev>2020-07-11 07:30:03 +0000
commit6689541213131d91e1dce5f6cf709bc6803f48ac (patch)
treeddeea9a1dbe00a1731e150a247347675a225e244
parentf1ca6573d453dbe801dc24ad904aa3419e2fe7fd (diff)
downloadaports-6689541213131d91e1dce5f6cf709bc6803f48ac.tar.gz
aports-6689541213131d91e1dce5f6cf709bc6803f48ac.tar.bz2
aports-6689541213131d91e1dce5f6cf709bc6803f48ac.tar.xz
testing/rosdep: new aport
http://ros.org/wiki/rosdep ROS multi-package manager system dependency tool.
-rw-r--r--testing/rosdep/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/rosdep/APKBUILD b/testing/rosdep/APKBUILD
new file mode 100644
index 0000000000..969140d9d9
--- /dev/null
+++ b/testing/rosdep/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Russ Webber <russ@rw.id.au>
+# Maintainer: Russ Webber <russ@rw.id.au>
+pkgname=rosdep
+pkgver=0.19.0
+pkgrel=0
+pkgdesc="ROS multi-package manager system dependency tool"
+url="http://ros.org/wiki/rosdep"
+arch="noarch"
+license="BSD-3-Clause"
+options="!check" # tests are not very robust https://github.com/ros-infrastructure/rosdep/issues/765
+depends="python3 py3-yaml py3-catkin-pkg py3-rosdistro py3-rospkg"
+makedepends="py3-setuptools"
+checkdepends="py3-nose py3-mock py3-flake8"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ros-infrastructure/rosdep/archive/$pkgver.tar.gz"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ nosetests --cover-package=rospkg --with-xunit test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="3e1d5829689646d583da2eaaf3b8bbddec3cb4ca3dc3941ee2697f6367510a4dcff11984fa1792a400f49132778d7869f0a8274e42bc8c04f2e326e6a663c494 rosdep-0.19.0.tar.gz"