forked from ports/contrib
19 lines
544 B
Plaintext
19 lines
544 B
Plaintext
# Description: A requests-like API built on top of twisted.web's Agent
|
|
# URL: https://github.com/twisted/treq
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: httpbin python3-requests python3-service-identity python3-twisted
|
|
|
|
name=python3-treq
|
|
version=22.2.0
|
|
release=1
|
|
source=(https://github.com/twisted/treq/archive/release-$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd treq-release-$version
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
-O1 \
|
|
--skip-build
|
|
}
|