mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Russ Webber <russ@rw.id.au>
|
|
# Maintainer: Russ Webber <russ@rw.id.au>
|
|
pkgname=py3-catkin-pkg
|
|
_pkgname=catkin_pkg
|
|
pkgver=0.5.2
|
|
pkgrel=1
|
|
pkgdesc="Standalone Python library for the catkin build system."
|
|
url="http://wiki.ros.org/catkin_pkg"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-docutils py3-dateutil py3-parsing"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-mock"
|
|
source="https://github.com/ros-infrastructure/catkin_pkg/archive/refs/tags/$pkgver/catkin-pkg-$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"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
# skip lint checks
|
|
rm test/test_flake8.py
|
|
}
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH=build/lib python3 -m unittest test/test_*.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
40e7e3839017ad430ee36dccf87a90727e5efd92e6c605cdba3e9f8850b71a6a80da79bd8760d94e356dadebdd842c8a3f8b530782fb75503d3e620add79be4a catkin-pkg-0.5.2.tar.gz
|
|
"
|