diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-01 20:15:00 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-01 20:15:00 -0300 |
commit | 7aa50048929eb479e7beb26e300231ae785b5652 (patch) | |
tree | e8f6979b0ac4f82ce1274fd4acb745c87274bc17 /testing/py3-treq/APKBUILD | |
parent | 28a74a27e6703d5293bfef659c89bf693e215b31 (diff) | |
download | aports-7aa50048929eb479e7beb26e300231ae785b5652.tar.bz2 aports-7aa50048929eb479e7beb26e300231ae785b5652.tar.xz |
testing/py3-treq: new aport
https://github.com/twisted/treq
py3-requests-like API build on top of Twisted's HTTP client
Diffstat (limited to 'testing/py3-treq/APKBUILD')
-rw-r--r-- | testing/py3-treq/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/py3-treq/APKBUILD b/testing/py3-treq/APKBUILD new file mode 100644 index 0000000000..ecec18625a --- /dev/null +++ b/testing/py3-treq/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Maintainer: Leo <thinkabit.ukim@gmail.com> +pkgname=py3-treq +pkgver=18.6.0 +pkgrel=0 +pkgdesc="py3-requests-like API build on top of Twisted's HTTP client" +options="!check" # Requires unpackaged httpbin +url="https://github.com/twisted/treq" +arch="noarch" +license="MIT" +depends="python3 py3-incremental py3-requests py3-six py3-twisted py3-attrs" +makedepends="py3-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/twisted/treq/archive/release-$pkgver.tar.gz" +builddir="$srcdir/treq-release-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="1d0d793725647c6b451853f166436040e49095fca43f6c74053f3ba18ec8f8ae0095ed78c7d141cc95dfba9674339ac44262943225bec7be0f0cb05253758688 py3-treq-18.6.0.tar.gz" |