1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/py3-subtesthack/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
833 B
Text

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-subtesthack
_pyname=pytest-subtesthack
pkgver=0.2.0
pkgrel=1
pkgdesc="Explicitly set up and tear down fixtures"
url="https://github.com/untitaker/pytest-subtesthack"
arch="noarch"
license="Unlicense"
options="!check" # no tests
depends="python3 py3-pytest"
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"
}
sha512sums="
aac3c1f946cf7b0f91985d88b0706477b23938d30d088df2de80e6089a3503ec8171c54098fd7a271cf3b1956d21876927774896d4c95cdae4efccf5975c1d59 pytest-subtesthack-0.2.0.tar.gz
"