summaryrefslogtreecommitdiff
path: root/repo/python-cachecontrol/python-cachecontrol.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-cachecontrol/python-cachecontrol.xibuild')
-rw-r--r--repo/python-cachecontrol/python-cachecontrol.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/python-cachecontrol/python-cachecontrol.xibuild b/repo/python-cachecontrol/python-cachecontrol.xibuild
new file mode 100644
index 0000000..26c15ce
--- /dev/null
+++ b/repo/python-cachecontrol/python-cachecontrol.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+
+
+PKG_VER=0.12.11
+SOURCE=https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DEPS="python-msgpack"
+DESC="httplib2 caching for requests"
+
+build() {
+ python -m build --no-isolation --wheel
+}
+
+package () {
+ python -m installer -d "$PKG_DEST" dist/CacheControl-$PKG_VER-py2.py3-none-any.whl
+}