summaryrefslogtreecommitdiff
path: root/repo/python-tomli/python-tomli.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-tomli/python-tomli.xibuild')
-rw-r--r--repo/python-tomli/python-tomli.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/python-tomli/python-tomli.xibuild b/repo/python-tomli/python-tomli.xibuild
new file mode 100644
index 0000000..7d2a8aa
--- /dev/null
+++ b/repo/python-tomli/python-tomli.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+NAME="python-tomli"
+DESC="Lil' TOML parser"
+
+MAKEDEPS="python-installer"
+
+PKG_VER=2.0.1
+SOURCE="https://files.pythonhosted.org/packages/source/t/tomli/tomli-$PKG_VER.tar.gz"
+ADDITIONAL="https://files.pythonhosted.org/packages/py3/t/tomli/tomli-$PKG_VER-py3-none-any.whl"
+
+build() {
+ return 0
+}
+
+package() {
+ python3 -m installer -d "$PKG_DEST" "$BUILD_ROOT"/tomli-$PKG_VER-py3-none-any.whl
+}