aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-catkin-pkg/APKBUILD
blob: 3c74007fb9eabb598722ad9c9378d9c53eb81781 (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
# Contributor: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
pkgname=py3-catkin-pkg
_pkgname=catkin_pkg
pkgver=0.4.16
pkgrel=0
pkgdesc="Standalone Python library for the catkin build system."
url="http://wiki.ros.org/catkin_pkg"
arch="noarch"
license="BSD-3-Clause"
options="!check" # python deps not packaged: # flake8-class-newline flake8-comprehensions flake8-deprecated flake8-docstrings
depends="python3 py3-docutils py3-dateutil py3-parsing"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py3-catkin-pkg-modules" # module was renamed in pypi
provides="py3-catkin-pkg-modules=$pkgver-r$pkgrel"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="e4589b22823688561af2ef6e583d14280705e5fcc6e397d6e329e83f2cf4626fef538428e234590cf4522a90cecfc18184bec43ff1c19deafed60feba33bf683  catkin_pkg-0.4.16.tar.gz"