aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-treq/APKBUILD
blob: 45207d936d35113baff403e028075c28252075b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-treq
pkgver=20.3.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="8daacffd94f0547c9b11e49cea9fe6f11f27493b9434333679aad0db4f7cb869890fdacc6aefad9c4590e38f522b31a45039dc37a784dd755e5cce807583d9e8  py3-treq-20.3.0.tar.gz"