# Description: A platform independent file lock for Python
# URL: https://github.com/benediktschmitt/py-filelock
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hatch-vcs python3-trove-classifiers

name=python3-filelock
version=3.12.2
release=1
source=(https://pypi.python.org/packages/source/f/filelock/filelock-$version.tar.gz)

build() {
  cd filelock-$version

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