# Description: A python package that provides useful locks
# URL: https://github.com/harlowja/fasteners
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer
# Optional: python3-six

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

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