mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/py3-pysimplesoap: build with gpep517
This commit is contained in:
parent
98dc2f31a1
commit
a4b4934003
@ -3,24 +3,29 @@
|
|||||||
pkgname=py3-pysimplesoap
|
pkgname=py3-pysimplesoap
|
||||||
_pkgname=PySimpleSOAP
|
_pkgname=PySimpleSOAP
|
||||||
pkgver=1.16.2
|
pkgver=1.16.2
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Simple SOAP library"
|
pkgdesc="Simple SOAP library"
|
||||||
options="!check" # Tests only work on python2
|
|
||||||
url="https://github.com/pysimplesoap/pysimplesoap"
|
url="https://github.com/pysimplesoap/pysimplesoap"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="LGPL-3.0-or-later"
|
license="LGPL-3.0-or-later"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$_pkgname-$pkgver"
|
builddir="$srcdir/$_pkgname-$pkgver"
|
||||||
|
options="!check" # Tests only work on python2
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --skip-build --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="179387328d81a08413820cd0ce6cb92fedc13cd8be4451c38bd70b7a4408555acd80ca25cdf2ddc5d5295bcd9346d646c65f93b36368a35f81399dd07eba0643 PySimpleSOAP-1.16.2.tar.gz"
|
sha512sums="
|
||||||
|
179387328d81a08413820cd0ce6cb92fedc13cd8be4451c38bd70b7a4408555acd80ca25cdf2ddc5d5295bcd9346d646c65f93b36368a35f81399dd07eba0643 PySimpleSOAP-1.16.2.tar.gz
|
||||||
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user