mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this doesn't really "optimise" the python or do much to improve performance. it's identical to running python with -O or setting PYTHONOPTIMISE= in the environment. doing it here just doubles the disk space for the pre-cached files generated by python on startup with optimisations
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
pkgname=py3-wstools
|
|
pkgver=0.4.10
|
|
pkgrel=4
|
|
url="https://github.com/pycontribs/wstools"
|
|
pkgdesc="WSDL parsing services package for Web Services for Python"
|
|
arch="noarch"
|
|
license="BSD-3-Clause AND BSD-3-Clause-LBNL AND ZPL-2.0"
|
|
depends="py3-six"
|
|
makedepends="py3-pbr py3-setuptools py3-pytest-runner"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz
|
|
python3.10-support.patch
|
|
"
|
|
builddir="$srcdir/wstools-$pkgver"
|
|
|
|
build() {
|
|
export PBR_VERSION=$pkgver
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
1acd8e62d71c7d330f1e953a0da1956291c5dfb25ff9b8b8799c83feaa4230e384955735b131bab7b430b92ae6c18498927d416d2d1e11fb5c5dad93417c671a py3-wstools-0.4.10.tar.gz
|
|
9c19ae50724249dacb91206301417238c04df3afd841fe5b3ef2280dfd57ce635e01690e6d28c88798aebc6b7b2bea7a83eeb1f45eeb07bb94ddcd00d3c6ed94 python3.10-support.patch
|
|
"
|