summaryrefslogtreecommitdiff
path: root/repo/python-platformdirs
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-platformdirs
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/python-platformdirs')
-rw-r--r--repo/python-platformdirs/python-platformdirs.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-platformdirs/python-platformdirs.xibuild b/repo/python-platformdirs/python-platformdirs.xibuild
new file mode 100644
index 0000000..2b9ac5e
--- /dev/null
+++ b/repo/python-platformdirs/python-platformdirs.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python python-hatchling python-hatch-vcs"
+
+
+PKG_VER=2.6.0
+SOURCE=https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-$PKG_VER.tar.gz
+DESC="A small Python package for determining appropriate platform-specific dirs, e.g. a 'user data dir'."
+
+build() {
+ python -m build --wheel --no-isolation
+}
+
+package () {
+ python -m installer -d "$PKG_DEST" dist/platformdirs-$PKG_VER-py3-none-any.whl
+}