From 870c58f982e9ea5399de458a025406545da71535 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 1 Mar 2025 11:41:28 -0500 Subject: [PATCH] python3-automat: update to 24.8.1. --- srcpkgs/python3-automat/template | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/srcpkgs/python3-automat/template b/srcpkgs/python3-automat/template index c56800232e0..a7b4a6f3daa 100644 --- a/srcpkgs/python3-automat/template +++ b/srcpkgs/python3-automat/template @@ -1,26 +1,19 @@ # Template file for 'python3-automat' pkgname=python3-automat -version=22.10.0 -revision=4 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=24.8.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel" depends="python3-setuptools python3-attrs python3-six" checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-graphviz" short_desc="Finite-state machines in Python (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/glyph/Automat" -distfiles="${PYPI_SITE}/A/Automat/Automat-${version}.tar.gz" -checksum=e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e +distfiles="${PYPI_SITE}/a/automat/automat-${version}.tar.gz" +checksum=b34227cf63f6325b8ad2399ede780675083e439b20c323d376373d8ee6306d88 alternatives="automat:automat-visualize:/usr/bin/automat-visualize3" -pre_build() { - sed -i setup.py \ - -e '/print(/d' \ - -e '/setup_requires=/,+3d' \ - -e "s/use_scm_version=True/version='${version}'/" -} - # do_check() { # PYTHONPATH="$(cd build/lib* && pwd)" \ # python3 -m pytest ${testjobs} automat/_test