1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/py3-pytest-instafail/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

29 lines
838 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pytest-instafail
pkgver=0.4.2
pkgrel=2
pkgdesc="pytest plugin to show failures instantly"
url="https://github.com/pytest-dev/pytest-instafail"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-pytest"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-$pkgver.tar.gz"
builddir="$srcdir/pytest-instafail-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
19191d2e0c003ff06e5ef98d5696d9085971c86f13759d9a464315ca78f35f65f75ac66a1f03886db4a3c118e72673f4cad3067a23e2a4fddcdd85ac164e31ae py3-pytest-instafail-0.4.2.tar.gz
"