diff options
Diffstat (limited to 'repo/python-platformdirs/python-platformdirs.xibuild')
-rw-r--r-- | repo/python-platformdirs/python-platformdirs.xibuild | 16 |
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 +} |