mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 16:24:48 +02:00
47 lines
1.5 KiB
Text
47 lines
1.5 KiB
Text
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=py3-softlayer-zeep
|
|
pkgver=5.0.0
|
|
pkgrel=5
|
|
pkgdesc="modern/fast Python SOAP client based on lxml / requests"
|
|
url="https://docs.python-zeep.org/en/master/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-attrs
|
|
py3-isodate
|
|
py3-lxml
|
|
py3-platformdirs
|
|
py3-requests
|
|
py3-requests-file
|
|
py3-requests-toolbelt
|
|
py3-tz
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-freezegun py3-pretend py3-pytest py3-pytest-asyncio py3-pytest-httpx py3-requests-mock"
|
|
# test deps not available
|
|
if [ "$CARCH" = "armhf" ] || [ "$CARCH" = "ppc64le" ]; then options="!check"; fi
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/s/softlayer-zeep/softlayer-zeep-$pkgver.tar.gz
|
|
fix-xsd-date-parsing.patch
|
|
fix-proxy.patch
|
|
"
|
|
builddir="$srcdir/softlayer-zeep-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH=build/lib python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
8dc85f7692410068fb1b6d1de9c8f7c6e03125773fb6b80de127642dd7303107f14cbe9d175b0a316b4a15697e8ffc3a91077fda1edf625ce5614abc6fd5489e softlayer-zeep-5.0.0.tar.gz
|
|
81046c96571a510a4153fc6e2735ea20d5a2431a0914f22b24ef219e47f254648daa4f7a93ec322ebadce8922d7cc76ec15e3ff8727b7e7164ea917c74de4490 fix-xsd-date-parsing.patch
|
|
0c9a8d2705e265f620f1aa33c17f127863ff237d724cc044eba6bf5746801896522a47e2ed669a9eb42d8735af2916b549bf9d5069f0b51d7e04d0a34572e1e7 fix-proxy.patch
|
|
"
|