# Description: Setuptools extension for CalVer package versions
# URL: https://github.com/di/calver
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools

name=python3-calver
version=2022.6.26
release=1
source=(https://pypi.org/packages/source/c/calver/calver-$version.tar.gz)

build() {
  cd calver-$version

  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    --skip-build
}
