summaryrefslogtreecommitdiff
path: root/repo/python-aiohttp-socks/python-aiohttp-socks.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-aiohttp-socks/python-aiohttp-socks.xibuild')
-rw-r--r--repo/python-aiohttp-socks/python-aiohttp-socks.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-aiohttp-socks/python-aiohttp-socks.xibuild b/repo/python-aiohttp-socks/python-aiohttp-socks.xibuild
new file mode 100644
index 0000000..0652947
--- /dev/null
+++ b/repo/python-aiohttp-socks/python-aiohttp-socks.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-aiohttp python-attrs python-python-python-socks[python-asyncio]python-"
+
+PKG_VER=0.7.1
+SOURCE=https://files.pythonhosted.org/packages/source/a/aiohttp-socks/aiohttp-socks-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="Proxy connector for aiohttp"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}