1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-pytest-vcr/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

30 lines
804 B
Text

# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-pytest-vcr
pkgver=1.0.2
pkgrel=2
pkgdesc="py.test integration with vcr.py"
url="https://github.com/ktosiek/pytest-vcr"
arch="noarch"
license="MIT"
depends="python3 py3-vcrpy"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
options="!check" # tests not compattible with py3-pytest >= 5.0"
source="$pkgname-$pkgver.tar.gz::https://github.com/ktosiek/pytest-vcr/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/pytest-vcr-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
29dceb51092d73f2190b89e82e88b59506591a35cfe4f141bb877c05420d67a8ab2f21f63c2630972c35697d01b242891917d1be19b14fdfa810c1799f8542c2 py3-pytest-vcr-1.0.2.tar.gz
"