diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2017-11-05 18:18:41 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2017-11-05 18:18:41 +1100 |
commit | 2b2f5590a8d3441e0a7559c587943a8a32696ee4 (patch) | |
tree | cb3d3d25b7452fde3f4684b7e4e36d85ee5396e4 /python-Automat/Pkgfile | |
parent | 96ca46ac562c0d07d33c8c1c37fd837810c03295 (diff) | |
download | contrib-2b2f5590a8d3441e0a7559c587943a8a32696ee4.tar.gz contrib-2b2f5590a8d3441e0a7559c587943a8a32696ee4.tar.xz |
python-Automat: initial import
Diffstat (limited to 'python-Automat/Pkgfile')
-rw-r--r-- | python-Automat/Pkgfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python-Automat/Pkgfile b/python-Automat/Pkgfile new file mode 100644 index 000000000..c9ddc846a --- /dev/null +++ b/python-Automat/Pkgfile @@ -0,0 +1,15 @@ +# 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: python-attrs + +name=python-Automat +version=0.6.0 +release=1 +source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz) + +build() { + cd ${name#*-}-$version + /usr/bin/python setup.py build + /usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1 +} |