summaryrefslogtreecommitdiff
path: root/testing/rosdep/APKBUILD
blob: 1325e9d99082a1d7f784003108398c25e967a7cd (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
# Contributor: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
pkgname=rosdep
pkgver=0.19.0
pkgrel=3
pkgdesc="ROS multi-package manager system dependency tool"
url="http://ros.org/wiki/rosdep"
arch="noarch"
license="BSD-3-Clause"
options="!check"  # tests are not very robust https://github.com/ros-infrastructure/rosdep/issues/765
depends="python3 py3-yaml py3-catkin-pkg py3-rosdistro py3-rospkg"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-mock py3-flake8"
source="$pkgname-$pkgver.tar.gz::https://github.com/ros-infrastructure/rosdep/archive/$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	nosetests --cover-package=rospkg --with-xunit test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="3e1d5829689646d583da2eaaf3b8bbddec3cb4ca3dc3941ee2697f6367510a4dcff11984fa1792a400f49132778d7869f0a8274e42bc8c04f2e326e6a663c494  rosdep-0.19.0.tar.gz"