summaryrefslogtreecommitdiff
path: root/repo/python-distlib
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/python-distlib
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/python-distlib')
-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
+}