mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/py3-pytest-expect: build with gpep517
This commit is contained in:
parent
03b8f0d300
commit
962652eb6c
@ -3,24 +3,29 @@
|
||||
pkgname=py3-pytest-expect
|
||||
_pkgname=pytest-expect
|
||||
pkgver=1.1.0
|
||||
pkgrel=9
|
||||
pkgrel=10
|
||||
pkgdesc="A pytest plugin that stores test expectations"
|
||||
options="!check" # no test suite
|
||||
url="https://github.com/gsnedders/pytest-expect"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-pytest py3-u-msgpack"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$_pkgname-$pkgver.tar.gz::https://github.com/gsnedders/pytest-expect/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check" # no test suite
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="dbef3c394e974663179e91ca3cd6f096fdb055693b3e540dd0f27d6bf59a5c7298144598eb069f8f0acddd82ecce0bdce14ccd25728eb6a024d41895403e5144 pytest-expect-1.1.0.tar.gz"
|
||||
sha512sums="
|
||||
dbef3c394e974663179e91ca3cd6f096fdb055693b3e540dd0f27d6bf59a5c7298144598eb069f8f0acddd82ecce0bdce14ccd25728eb6a024d41895403e5144 pytest-expect-1.1.0.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user