forked from ports/contrib
17 lines
543 B
Plaintext
17 lines
543 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=23.11.0
|
|
release=1
|
|
source=(https://pypi.org/packages/source/t/treq/treq-$version.tar.gz)
|
|
|
|
build() {
|
|
cd treq-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|