aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-rosdistro/APKBUILD
blob: a1b5e65847c4dae473b1689424c8805657f0d6f1 (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: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
pkgname=py3-rosdistro
_pkgname=rosdistro
pkgver=0.8.3
pkgrel=0
pkgdesc="Tools to work with catkinized rosdistro files"
url="https://github.com/ros-infrastructure/rosdistro"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-yaml py3-catkin-pkg"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-mock"

source="$pkgname-$pkgver.tar.gz::https://github.com/ros-infrastructure/rosdistro/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	nosetests --with-xunit test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="19e248497b4001c522a84a52d768bc9f20a08020c88574d1a8345cf2173dc2aadd8a1480d4fddf2285ac579ee69dd0b6d4b930333cd6a9cbe32708efed2e5747  py3-rosdistro-0.8.3.tar.gz"