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
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2021-06-30 20:18:25 +10:00
|
|
|
# Depends on: python3-attrs python3-m2r python3-setuptools-scm python3-pip
|
2017-11-05 18:19:11 +11:00
|
|
|
|
2021-06-30 20:18:25 +10:00
|
|
|
name=python3-automat
|
|
|
|
_name=python3-Automat
|
2020-03-05 19:22:06 +11:00
|
|
|
version=20.2.0
|
2017-11-05 18:19:11 +11:00
|
|
|
release=1
|
2021-06-30 20:18:25 +10:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${_name:8:1}/${_name#*-}/${_name#*-}-$version.tar.gz)
|
2017-11-05 18:19:11 +11:00
|
|
|
|
|
|
|
build() {
|
2021-06-30 20:18:25 +10:00
|
|
|
cd ${_name#*-}-$version
|
2017-11-05 18:19:11 +11:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
|
|
|
|
mv $PKG/usr/bin/automat-visualize{,3}
|
|
|
|
}
|