summaryrefslogtreecommitdiff
path: root/repo/python-platformdirs/python-platformdirs.xibuild
blob: 2b9ac5e2de6b799f3c940e10bbbcfa61ed38d2c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}