contrib/python3-h2/Pkgfile

19 lines
487 B
Plaintext

# Description: HTTP/2 State-Machine based protocol implementation
# URL: https://hyper.rtfd.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hpack python3-hyperframe
name=python3-h2
version=4.1.0
release=1
source=(https://github.com/python-hyper/hyper-h2/archive/v$version/$name-$version.tar.gz)
build() {
cd h2-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build \
-O1
}