contrib/python3-fasteners/Pkgfile

17 lines
557 B
Plaintext

# 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 python3-wheel
# Optional: python3-six
name=python3-fasteners
version=0.19
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
}