python-automat: update to 22.10.0.

drop python3-Twisted in checkdepends as it was a cyclic dependency.
This commit is contained in:
Joel Beckmeyer 2022-11-08 10:11:11 -05:00 committed by Michal Vasilek
parent 3b82f3eea0
commit ba011241b3
1 changed files with 6 additions and 5 deletions

View File

@ -1,17 +1,17 @@
# Template file for 'python-automat'
pkgname=python-automat
version=20.2.0
revision=5
version=22.10.0
revision=1
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-attrs python-six"
checkdepends="python3-attrs python3-six python3-Twisted python3-graphviz"
checkdepends="python3-pytest python3-attrs python3-six python3-graphviz"
short_desc="Finite-state machines in Python (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/glyph/Automat"
distfiles="${PYPI_SITE}/A/Automat/Automat-${version}.tar.gz"
checksum=7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33
checksum=e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e
alternatives="automat:automat-visualize:/usr/bin/automat-visualize2"
pre_build() {
@ -22,7 +22,8 @@ pre_build() {
}
do_check() {
python3 setup.py test
PYTHONPATH="$(cd build/lib* && pwd)" \
python3 -m pytest ${testjobs} automat/_test
}
post_install() {