1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-pytest-sugar/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

35 lines
912 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pytest-sugar
pkgver=0.9.6
pkgrel=1
pkgdesc="A plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly)"
url="https://github.com/Teemu/pytest-sugar/"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-packaging
py3-pytest
py3-termcolor
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/p/pytest-sugar/pytest-sugar-$pkgver.tar.gz"
builddir="$srcdir/pytest-sugar-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
955e28478854c6751e7470b49f130bce2904c1f74d46caa2a6e212c132e3f1f0565f2f31ac360a32d2d9c4999f4dcdd19e7373508660bfd7da530981aef9cd62 pytest-sugar-0.9.6.tar.gz
"