2017-11-05 18:19:11 +11:00
|
|
|
# Description: Self-service finite-state machines for the programmer on the go.
|
|
|
|
# URL: https://pypi.python.org/pypi/automat
|
2023-08-06 22:26:19 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-attrs python3-m2r python3-six
|
2017-11-05 18:19:11 +11:00
|
|
|
|
2021-06-30 20:18:25 +10:00
|
|
|
name=python3-automat
|
2022-10-29 22:04:47 +00:00
|
|
|
version=22.10.0
|
2017-11-05 18:19:11 +11:00
|
|
|
release=1
|
2023-08-06 22:26:19 +02:00
|
|
|
source=(https://pypi.org/packages/source/A/Automat/Automat-$version.tar.gz)
|
2017-11-05 18:19:11 +11:00
|
|
|
|
|
|
|
build() {
|
2023-08-06 22:26:19 +02:00
|
|
|
cd Automat-$version
|
2022-06-29 18:07:43 +02:00
|
|
|
|
2023-08-06 22:26:19 +02:00
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
|
2022-06-29 18:07:43 +02:00
|
|
|
|
2023-08-06 22:26:19 +02:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
--skip-build
|
2017-11-05 18:19:11 +11:00
|
|
|
}
|