forked from ports/contrib
19 lines
470 B
Plaintext
19 lines
470 B
Plaintext
|
# Description: A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
|
||
|
# URL: https://github.com/njsmith/h11
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: python3-setuptools
|
||
|
|
||
|
name=python3-h11
|
||
|
version=0.12.0
|
||
|
release=1
|
||
|
source=(https://pypi.io/packages/source/h/h11/h11-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd h11-$version
|
||
|
/usr/bin/python3 setup.py build
|
||
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
||
|
--root=$PKG \
|
||
|
--skip-build \
|
||
|
-O1
|
||
|
}
|