summaryrefslogtreecommitdiff
path: root/repo/python-pep517/python-pep517.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-pep517/python-pep517.xibuild')
-rw-r--r--repo/python-pep517/python-pep517.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-pep517/python-pep517.xibuild b/repo/python-pep517/python-pep517.xibuild
new file mode 100644
index 0000000..f82ad58
--- /dev/null
+++ b/repo/python-pep517/python-pep517.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python python-tomli"
+
+PKG_VER=0.12.0
+SOURCE="https://files.pythonhosted.org/packages/source/p/pep517/pep517-$PKG_VER.tar.gz"
+DESC="Correct PEP517 package builder"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}