aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cachecontrol
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-02 04:13:40 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 16:20:35 +0000
commit7d919eea59b00d4106addd01b69b216af97ea952 (patch)
treea9d955ee7155ed8368402f925833f86ab48a189d /testing/py3-cachecontrol
parenta6fdbab71ce3824bb71a124317d3555b6c078e39 (diff)
downloadaports-7d919eea59b00d4106addd01b69b216af97ea952.tar.bz2
aports-7d919eea59b00d4106addd01b69b216af97ea952.tar.xz
testing/py3-cachecontrol: new aport
httplib2 caching for requests https://github.com/ionrock/cachecontrol Closes GH-8381
Diffstat (limited to 'testing/py3-cachecontrol')
-rw-r--r--testing/py3-cachecontrol/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/py3-cachecontrol/APKBUILD b/testing/py3-cachecontrol/APKBUILD
new file mode 100644
index 0000000000..3a7a1a4db5
--- /dev/null
+++ b/testing/py3-cachecontrol/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=py3-cachecontrol
+_realname=CacheControl
+pkgver=0.12.5
+pkgrel=0
+pkgdesc="httplib2 caching for requests"
+options="!check" # Later
+url="https://github.com/ionrock/cachecontrol"
+arch="noarch"
+license="Apache-2.0"
+depends="python3 py3-requests py3-msgpack py3-lockfile"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
+builddir="$srcdir/$_realname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="b7be614c84405ad4bc1125d3d4d149131ffd56455925c7eea4706c4a2d3841e1edfca58f9612cd85dc2a2838313b4c0e56df4ba93a5297b12ebafbb900ea20f6 CacheControl-0.12.5.tar.gz"