1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-service-identity
6 pkgdesc="Service identity verification for pyOpenSSL"
9 url="https://pypi.python.org/pypi/service_identity"
10 depends=('python-attrs' 'python-pyasn1-modules' 'python-pyasn1' 'python-cryptography' 'python-six')
11 makedepends=('python-setuptools' 'python-idna')
12 checkdepends=('python-pytest-runner')
13 optdepends=('python-idna: for Internationalized Domain Names support')
14 replaces=('python-service_identity')
15 source=("https://github.com/pyca/service-identity/archive/$pkgver/$pkgname-$pkgver.tar.gz")
16 sha512sums=('6375bc5e8329118b2beb163ffffecc1479839e4e98173576e4737deebcc4c057ac357315976d3f53a280defd4e2c1f6b74e9604ec1aa94144240c2fb4bf07461')
19 cd service-identity-$pkgver
24 cd service-identity-$pkgver
25 python setup.py pytest
29 cd service-identity-$pkgver
30 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
31 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/