1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-testrepository/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

26 lines
927 B
Text

# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=py3-testrepository
_pyname=testrepository
pkgver=0.0.20
pkgrel=3
pkgdesc="A repository of test results"
url="https://launchpad.net/testrepository"
arch="noarch"
license="Apache-2.0 OR BSD-3-Clause"
options="!check" # Test suite issues
depends="python3 py3-fixtures py3-subunit py3-testtools"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3.8/site-packages/testrepository/tests
}
sha512sums="df14500e2b27b6f39d9d4c4f42961efd63dfe25186e561eb1678952a8ab9311f17c36b78819fea33e0ac879c47a33d45c31ff58be017609c8a6157905ee712d6 testrepository-0.0.20.tar.gz"