contrib/python3-Automat/Pkgfile
2020-03-05 19:27:49 +11:00

18 lines
541 B
Plaintext

# 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
# Depends on: python3-attrs
name=python3-Automat
version=20.2.0
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/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}
}