From ba011241b33fa0384e4ef10a810917465ba883e2 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 8 Nov 2022 10:11:11 -0500 Subject: [PATCH] python-automat: update to 22.10.0. drop python3-Twisted in checkdepends as it was a cyclic dependency. --- srcpkgs/python-automat/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-automat/template b/srcpkgs/python-automat/template index 8b3f99f1961..865b70d6a4b 100644 --- a/srcpkgs/python-automat/template +++ b/srcpkgs/python-automat/template @@ -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 " 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() {