# Description: A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir"
# URL: https://pypi.org/project/platformdirs/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools-scm python3-hatchling python3-hatch-vcs

name=python3-platformdirs
version=3.8.1
release=1
source=(https://pypi.python.org/packages/source/p/platformdirs/platformdirs-$version.tar.gz)

build() {
  cd platformdirs-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
