summaryrefslogtreecommitdiff
path: root/repo/python-requests/python-requests.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-requests/python-requests.xibuild')
-rw-r--r--repo/python-requests/python-requests.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-requests/python-requests.xibuild b/repo/python-requests/python-requests.xibuild
new file mode 100644
index 0000000..b2dd292
--- /dev/null
+++ b/repo/python-requests/python-requests.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-urllib3 python-certifi python-chardet python-idna python-idna python-chardet"
+
+PKG_VER=2.27.1
+SOURCE=https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-$PKG_VER.tar.gz
+DESC="Python HTTP for Humans."
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}