aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-urllib3/APKBUILD
blob: 7bd5887cfb99edfa76082cc6e67bb8af3b358bf5 (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
25
26
27
28
29
30
# Contributor: Yura Kushnir <kushnir.yura@gmail.com>
# Maintainer: Yura Kushnir <kushnir.yura@gmail.com>
pkgname=py-urllib3
_pkgname=${pkgname/py-/}
pkgver=1.18
pkgrel=0
pkgdesc="HTTP library with thread-safe connection pooling, file post, and more."
url="https://github.com/shazow/urllib3"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="$pkgname-$pkgver.zip::https://github.com/shazow/urllib3/archive/$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$_builddir"
	python2 setup.py build
}

package() {
	cd "$_builddir"
	python2 setup.py install --root="$pkgdir" --optimize=1
}
md5sums="a5c3fd74a8d72803b0a9b19bdcb4d99f  py-urllib3-1.18.zip"
sha256sums="24b0213a304ebd4da902dfdcc5a9cc6abff788f6f10e85aea5f77b463bb72e15  py-urllib3-1.18.zip"
sha512sums="535639543c5258be236f2098c74d0e089687a82f9c39c77d967da5e57f5cdc42506375bf4ee5ee209b57f9b0a4e56144a38e3addff6754ff380fe3fc20b5aaab  py-urllib3-1.18.zip"