# Contributor: Russ Webber # Maintainer: Russ Webber pkgname=py3-rospkg _pkgname=rospkg pkgver=1.2.9 pkgrel=4 pkgdesc="Standalone Python library for the ROS package system" url="http://wiki.ros.org/rospkg" arch="noarch" license="BSD-3-Clause" options="!check" # tests fail https://github.com/ros-infrastructure/rospkg/issues/202 depends="python3 py3-yaml py3-catkin-pkg py3-distro" makedepends="py3-setuptools" checkdepends="py3-nose py3-mock" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/ros-infrastructure/rospkg/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { nosetests --cover-package=rospkg --with-xunit test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="e2e97b2454919a35b5a2ab938a3ab519a125457857c34badb9354f8322b1de704d429753589828500b46814ddad5ad6a7573149ab0a58a925bf7347eadf93746 py3-rospkg-1.2.9.tar.gz"