summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 02:21:47 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 02:21:47 -0500
commite3c7ded77779c5a66638864351513c25de0c346d (patch)
tree0c8e7134f7b1f19a6d9a2bef45a864e1a43df54e /pcr
parent3c851928794a78ebce8e946acaf6af44d3398bbe (diff)
downloadabslibre-e3c7ded77779c5a66638864351513c25de0c346d.tar.gz
abslibre-e3c7ded77779c5a66638864351513c25de0c346d.tar.bz2
abslibre-e3c7ded77779c5a66638864351513c25de0c346d.zip
python2-rospkg-1.0.35-2: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python2-rospkg/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/pcr/python2-rospkg/PKGBUILD b/pcr/python2-rospkg/PKGBUILD
index 875904f45..e2375003e 100644
--- a/pcr/python2-rospkg/PKGBUILD
+++ b/pcr/python2-rospkg/PKGBUILD
@@ -1,23 +1,30 @@
-# Contributor (Arch): Somebody <somebody[at]foo[dot]tld>
+# Contributor (Arch): Lukas Linhart <bugs@almad.net>
+# Contributor (Arch): Changaco <changaco ατ changaco δοτ net>
+# Contributor (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor (Arch): Sean Greenslade <zootboysean@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
-_name=rospkg
+
pkgname=python2-rospkg
-pkgver=1.0.15
-pkgrel=1
-pkgdesc="provides basic utilities for querying information about ROS packages, stacks, and distributions."
-url="http://ros.org/doc/api/rospkg/html/python_api.html"
-arch=('x86_64' 'i686')
-license=('BSD')
+pkgver=1.0.35
+pkgrel=2
+pkgdesc="ROS - provides basic utilities for querying information about ROS packages, stacks, and distributions."
+url="http://docs.ros.org/independent/api/rospkg/html/"
+arch=('any')
+license=('BSD3')
depends=('python2')
-optdepends=()
makedepends=('python2-distribute')
conflicts=()
replaces=()
backup=()
-source=(http://pr.willowgarage.com/downloads/${_name}/${_name}-${pkgver}.tar.gz)
+source=("https://pypi.python.org/packages/source/r/rospkg/rospkg-${pkgver}.tar.gz")
+md5sums=('de31059c920121b691f7bbdf6973e8dc')
build() {
- cd ${srcdir}/${_name}-${pkgver}
+ cd ${srcdir}/rospkg-${pkgver}
find -type f -print0 | xargs -0 sed -i -e 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/g'
- python2 setup.py install --root="${pkgdir}" --optimize=1 || return 1
+ python2 setup.py build
+}
+package() {
+ cd ${srcdir}/rospkg-${pkgver}
+ python2 setup.py install --optimize=1 --skip-build --prefix="/usr" --root="${pkgdir}"
}