contrib/python3-filelock/Pkgfile

17 lines
520 B
Plaintext

# 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
name=python3-filelock
version=3.13.1
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
}