summaryrefslogtreecommitdiff
path: root/pcr/python-rosinstall
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-22 15:47:55 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-22 15:48:07 +0100
commitf6bd8c6730af0a79862f66c9a9887e1a93eba28b (patch)
tree9340f4edd682a7749eebd4138952968a01caf576 /pcr/python-rosinstall
parenta3c8089437a1033fc4531c714067bcd59bdac469 (diff)
downloadabslibre-f6bd8c6730af0a79862f66c9a9887e1a93eba28b.tar.gz
abslibre-f6bd8c6730af0a79862f66c9a9887e1a93eba28b.tar.bz2
abslibre-f6bd8c6730af0a79862f66c9a9887e1a93eba28b.zip
pcr/python-rosinstall: moved from python2-rosinstall and updated
Diffstat (limited to 'pcr/python-rosinstall')
-rw-r--r--pcr/python-rosinstall/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/python-rosinstall/PKGBUILD b/pcr/python-rosinstall/PKGBUILD
new file mode 100644
index 000000000..22fa54793
--- /dev/null
+++ b/pcr/python-rosinstall/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+_pkgname=rosinstall
+pkgname=(python-$_pkgname)
+pkgver=0.7.8
+pkgrel=3
+pkgdesc='Tool to download/boostrap the ROS stack'
+arch=(any)
+url='http://www.ros.org/'
+license=('BSD3')
+
+makedepends=(python-setuptools)
+source=("https://files.pythonhosted.org/packages/source/r/rosinstall/rosinstall-$pkgver.tar.gz")
+sha256sums=('2ba808bf8bac2cc3f13af9745184b9714c1426e11d09eb96468611b2ad47ed40')
+
+_package() {
+ depends=($1 $1-rosdistro $1-vcstools $1-wstool $1-yaml)
+ cd "$srcdir"/$_pkgname-$pkgver
+ $1 setup.py install --root="$pkgdir"
+}
+
+for _pkg in "${pkgname[@]}"; do
+ eval "package_$_pkg () { _package ${_pkg%%-*}; }"
+done