blob: e2375003e620968efcc15fbb0b347ef833dc7ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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>
pkgname=python2-rospkg
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')
makedepends=('python2-distribute')
conflicts=()
replaces=()
backup=()
source=("https://pypi.python.org/packages/source/r/rospkg/rospkg-${pkgver}.tar.gz")
md5sums=('de31059c920121b691f7bbdf6973e8dc')
build() {
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 build
}
package() {
cd ${srcdir}/rospkg-${pkgver}
python2 setup.py install --optimize=1 --skip-build --prefix="/usr" --root="${pkgdir}"
}
|