python-automat: update to 0.7.0.

Closes #25.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-06-15 04:20:35 -03:00 committed by Enno Boland
parent 2d61507684
commit 2e161b1822
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@ build_style=python-module
pycompile_module="automat" pycompile_module="automat"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-attrs python-six" depends="python-setuptools python-attrs python-six"
checkdepends="python3-attrs python3-six python3-Twisted python3-graphviz"
short_desc="Finite-state machines in Python (Python2)" short_desc="Finite-state machines in Python (Python2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/glyph/Automat" homepage="https://github.com/glyph/Automat"
@ -22,6 +23,11 @@ pre_build() {
-e '/setup_requires=/,+3d' \ -e '/setup_requires=/,+3d' \
-e "s/use_scm_version=True/version='${version}'/" -e "s/use_scm_version=True/version='${version}'/"
} }
do_check() {
python3 setup.py test
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }