testing/py3-soappy: build with gpep517

This commit is contained in:
ptrcnull 2024-08-10 00:11:34 +02:00
parent bbf94a1432
commit e46e2d5b42

View File

@ -2,24 +2,27 @@
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
pkgname=py3-soappy
pkgver=0.52.28
pkgrel=2
pkgrel=3
pkgdesc="Simple to use SOAP library for Python"
url="https://github.com/Synerty/SOAPpy-py3"
options="!check" # Requires running servere
arch="noarch"
license="BSD-3-Clause-Attribution"
depends="py3-defusedxml py3-wstools py3-m2crypto"
makedepends="py3-setuptools"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/S/SOAPpy-py3/SOAPpy-py3-$pkgver.tar.gz"
builddir="$srcdir/SOAPpy-py3-$pkgver"
options="!check" # Requires running server
build() {
python3 setup.py build
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 setup.py install --root="$pkgdir"
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="