2021-07-14 23:20:26 +02:00
|
|
|
# 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
|
2022-04-18 22:41:56 +02:00
|
|
|
# Depends on: python3-setuptools-scm python3-hatchling python3-hatch-vcs
|
2021-07-14 23:20:26 +02:00
|
|
|
|
|
|
|
name=python3-platformdirs
|
2022-04-18 22:41:56 +02:00
|
|
|
version=2.5.2
|
2021-07-14 23:20:26 +02:00
|
|
|
release=1
|
|
|
|
source=(https://pypi.python.org/packages/source/p/platformdirs/platformdirs-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd platformdirs-$version
|
2022-04-18 22:41:56 +02:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m install --optimize=1 --destdir=$PKG dist/*.whl
|
2021-07-14 23:20:26 +02:00
|
|
|
}
|