# Description: Self-service finite-state machines for the programmer on the go.
# URL: https://pypi.python.org/pypi/automat
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-attrs python3-m2r python3-six

name=python3-automat
version=22.10.0
release=1
source=(https://pypi.org/packages/source/A/Automat/Automat-$version.tar.gz)

build() {
  cd Automat-$version

  export SETUPTOOLS_SCM_PRETEND_VERSION=$version

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