summaryrefslogtreecommitdiff
path: root/pcr/python-rosdistro/PKGBUILD
blob: b7d93e7e0850bc2318c587700cbbfd66c7ea3f6e (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
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

_pkgname=rosdistro
pkgname=(python-$_pkgname)
pkgver=0.7.2
pkgrel=1
pkgdesc="A tool to work with rosdistro files"
arch=(any)
url="http://wiki.ros.org/rosdistro"
license=(BSD3 MIT)

makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/r/rosdistro/rosdistro-$pkgver.tar.gz")
sha256sums=('6623545067d5f0098f8f6f460c7613321ab418d04bad3b479cd1cafc1df56195')

_package() {
  depends=($1)
  cd "$srcdir"/$_pkgname-$pkgver
  $1 setup.py install --root="$pkgdir"
}

for _pkg in "${pkgname[@]}"; do
  eval "package_$_pkg () { _package ${_pkg%%-*}; }"
done