blob: 0ddf0a89bb01ed0d8234460adeeff6bad48cd29e (
plain)
1 # Description: A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir"
2 # URL: https://pypi.org/project/platformdirs/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-setuptools-scm python3-hatchling python3-hatch-vcs
5
6 name=python3-platformdirs
7 version=2.6.2
8 release=1
9 source=(https://pypi.python.org/packages/source/p/platformdirs/platformdirs-$version.tar.gz)
10
11 build() {
12 cd platformdirs-$version
13
14 /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
15 /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
16 }
|