mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
testing/crossplane: build with gpep517
This commit is contained in:
parent
d00b7757cb
commit
4dfe720238
1 changed files with 8 additions and 8 deletions
|
@ -2,26 +2,26 @@
|
|||
# Maintainer: Hugo Rodrigues <hugorodrigues@hugorodrigues.xyz>>
|
||||
pkgname=crossplane
|
||||
pkgver=0.5.8
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Quick and reliable way to convert NGINX configurations into JSON and back."
|
||||
url="https://github.com/nginxinc/crossplane/"
|
||||
arch="noarch"
|
||||
license="Apache-2.0"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://pypi.io/packages/source/c/crossplane/crossplane-$pkgver.tar.gz"
|
||||
options="!check" # no tests ran
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
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="
|
||||
|
|
Loading…
Reference in a new issue