aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py-urllib3/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py-urllib3/APKBUILD b/testing/py-urllib3/APKBUILD
new file mode 100644
index 0000000000..4043f37be5
--- /dev/null
+++ b/testing/py-urllib3/APKBUILD
@@ -0,0 +1,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"
+ python setup.py build
+}
+
+package() {
+ cd "$_builddir"
+ python 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"