1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-hyperframe
6 pkgdesc="HTTP/2 framing layer for Python"
9 url="https://hyper.rtfd.org"
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/hyperframe/archive/v$pkgver.tar.gz")
14 sha512sums=('b4170194ef7504f0897a9cee689b32e22784e9b0d98d6da267b62983f013758acbfe53df9d6f6fad5f9709299e95ed32e1e73213f9515a4de20bd5c36fa39814')
17 cd "$srcdir"/hyperframe-$pkgver
22 cd "$srcdir"/hyperframe-$pkgver
23 python setup.py pytest
26 package_python-hyperframe() {
28 python setup.py install --root="$pkgdir" --optimize=1
29 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE