# Description: Handles managing your python package versions in scm metadata.
# URL: https://github.com/pypa/setuptools_scm
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-typing_extensions python3-wheel

name=python3-setuptools-scm
version=7.1.0
release=1
source=(https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-$version.tar.gz)

build() {
  cd setuptools_scm-$version

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