summaryrefslogtreecommitdiff
path: root/repo/python-distlib/python-distlib.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-distlib/python-distlib.xibuild')
-rw-r--r--repo/python-distlib/python-distlib.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-distlib/python-distlib.xibuild b/repo/python-distlib/python-distlib.xibuild
new file mode 100644
index 0000000..e7aa0de
--- /dev/null
+++ b/repo/python-distlib/python-distlib.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python python-pep517"
+
+PKG_VER=0.3.6
+SOURCE=https://files.pythonhosted.org/packages/source/d/distlib/distlib-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="Distribution utilities"
+
+build() {
+ python -m build --no-isolation --wheel
+}
+
+package () {
+ python -m installer -d "$PKG_DEST" dist/distlib-$PKG_VER-py2.py3-none-any.whl
+}