| Name |
python-h2 |
| Description |
HTTP/2 State-Machine based protocol implementation |
| Version |
4.3.0-3 |
| Package Base |
python-h2 |
| Homepage |
https://hyper.rtfd.org |
| Maintainers |
['Felix Yan <felixonmars@archlinux.org>', 'Jelle van der Waa <jelle@archlinux.org>'] |
| Contributors |
[] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/python-h2 |
| Sources |
['git+https://github.com/python-hyper/h2.git#tag=v4.3.0'] |
| Dependencies |
['python-hpack', 'python-hyperframe'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['git', 'python-setuptools', 'python-build', 'python-installer', 'python-wheel'] |
| Provides |
[] |
| Builddate |
14-12-2025 16:17:04 |
| Architecture |
any |
| Distro-Version |
|
| Licenses |
['MIT'] |
| Hash |
2e23a6e533b0871a6900a6e2de7043038b324cce0064084791244e3c5d2afdc0 |
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-h2
pkgver=4.3.0
pkgrel=3
pkgdesc="HTTP/2 State-Machine based protocol implementation"
arch=('any')
license=('MIT')
url="https://hyper.rtfd.org"
depends=('python-hpack' 'python-hyperframe')
makedepends=('git' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
checkdepends=('python-pytest' 'python-hypothesis')
source=("git+https://github.com/python-hyper/h2.git#tag=v$pkgver")
sha512sums=('8d2ae5ec4b96cc60def583cc879f40717e611df1520fea01c1912f2b1bfd457b8c794e7c0708d365fa77348cea30eb8591352f3c27135d2d4a5c243c727695f4')
build() {
cd h2
python -m build --wheel --no-isolation
}
check() {
cd h2
PYTHONPATH="$PWD/src" pytest
}
package() {
cd h2
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}