mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/py3-soappy: build with gpep517
This commit is contained in:
parent
bbf94a1432
commit
e46e2d5b42
@ -2,24 +2,27 @@
|
|||||||
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
|
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
|
||||||
pkgname=py3-soappy
|
pkgname=py3-soappy
|
||||||
pkgver=0.52.28
|
pkgver=0.52.28
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Simple to use SOAP library for Python"
|
pkgdesc="Simple to use SOAP library for Python"
|
||||||
url="https://github.com/Synerty/SOAPpy-py3"
|
url="https://github.com/Synerty/SOAPpy-py3"
|
||||||
options="!check" # Requires running servere
|
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="BSD-3-Clause-Attribution"
|
license="BSD-3-Clause-Attribution"
|
||||||
depends="py3-defusedxml py3-wstools py3-m2crypto"
|
depends="py3-defusedxml py3-wstools py3-m2crypto"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://pypi.io/packages/source/S/SOAPpy-py3/SOAPpy-py3-$pkgver.tar.gz"
|
source="https://pypi.io/packages/source/S/SOAPpy-py3/SOAPpy-py3-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/SOAPpy-py3-$pkgver"
|
builddir="$srcdir/SOAPpy-py3-$pkgver"
|
||||||
|
options="!check" # Requires running server
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
Loading…
Reference in New Issue
Block a user