# Description: Hatch plugin for versioning with your preferred VCS # URL: https://github.com/ofek/hatch-vcs # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3-hatchling name=python3-hatch-vcs version=0.2.0 release=1 source=(https://github.com/ofek/hatch-vcs/archive/v$version/hatch-vcs-$version.tar.gz) build() { cd hatch-vcs-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl }