1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="WSDL parsing services package for Web Services for Python"
8 url="https://github.com/pycontribs/wstools"
10 depends=('python-six')
11 makedepends=('python-pbr' 'python-setuptools')
12 checkdepends=('python-pytest-runner' 'autopep8' 'python-pytest-cov')
13 source=("https://github.com/pycontribs/wstools/archive/$pkgver/$pkgname-$pkgver.tar.gz"
15 sha512sums=('1acd8e62d71c7d330f1e953a0da1956291c5dfb25ff9b8b8799c83feaa4230e384955735b131bab7b430b92ae6c18498927d416d2d1e11fb5c5dad93417c671a'
16 'd1eb690578eaf7f5e79d9dbc0494b545d88e124e11f9927c5c17c9e64b7cba209fbe5ad68b43afd84c850d22c36133e39e305d214ea55e8a7935e06a465f8947')
18 export PBR_VERSION=$pkgver
22 patch -Np1 -i ../python310.patch
37 python setup.py install --root="$pkgdir" --optimize=1
39 install -d "$pkgdir/usr/share/licenses/$pkgname"
40 install -Dm644 docs/* "$pkgdir/usr/share/licenses/$pkgname"/