1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/community/py3-subunit/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

27 lines
893 B
Text

# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=py3-subunit
pkgver=1.4.2
pkgrel=0
pkgdesc="Python implementation of subunit test streaming protocol"
url="https://launchpad.net/subunit"
arch="noarch"
license="Apache-2.0 OR BSD-3-Clause"
options="!check" # Test suite issues
depends="python3 py3-extras py3-testtools"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz"
builddir="$srcdir/python-subunit-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3.8/site-packages/subunit/tests
}
sha512sums="
605b8f2886cf4bf253564f153aefe887b2da2a6cdc5bf41eddfd36886d0471b32efd4c014e17f6356a1bd7f7765b3327c86ad06465e78b3f97215a35d266572c python-subunit-1.4.2.tar.gz
"