From 974dc9753c852a1c37b2ce1276e55235b5a3b31f Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sun, 9 Nov 2025 19:19:09 +0200 Subject: [PATCH] python-automat: bump to version 25.4.16 Patches can be dropped. They don't seem to be needed anymore. The 'visualize' parts seem to be optional. Signed-off-by: Alexandru Ardelean --- lang/python/python-automat/Makefile | 9 ++++----- .../patches/002-omit-visualize.patch | 18 ------------------ .../patches/003-omit-tests.patch | 19 ------------------- 3 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 lang/python/python-automat/patches/002-omit-visualize.patch delete mode 100644 lang/python/python-automat/patches/003-omit-tests.patch diff --git a/lang/python/python-automat/Makefile b/lang/python/python-automat/Makefile index 83fc3ced67..2d35f4a39d 100644 --- a/lang/python/python-automat/Makefile +++ b/lang/python/python-automat/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-automat -PKG_VERSION:=22.10.0 +PKG_VERSION:=25.4.16 PKG_RELEASE:=1 -PYPI_NAME:=Automat -PKG_HASH:=e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e +PYPI_NAME:=automat +PKG_HASH:=0017591a5477066e90d26b0e696ddc143baafd87b588cfac8100bc6be9634de0 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -32,8 +32,7 @@ define Package/python3-automat URL:=https://github.com/glyph/Automat DEPENDS:= \ +python3-light \ - +python3-attrs \ - +python3-six + +python3-attrs endef define Package/python3-automat/description diff --git a/lang/python/python-automat/patches/002-omit-visualize.patch b/lang/python/python-automat/patches/002-omit-visualize.patch deleted file mode 100644 index 977f961300..0000000000 --- a/lang/python/python-automat/patches/002-omit-visualize.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -22,15 +22,6 @@ setup( - "attrs>=19.2.0", - "six", - ], -- extras_require={ -- "visualize": ["graphviz>0.5.1", -- "Twisted>=16.1.1"], -- }, -- entry_points={ -- "console_scripts": [ -- "automat-visualize = automat._visualize:tool" -- ], -- }, - author='Glyph', - author_email='glyph@twistedmatrix.com', - include_package_data=True, diff --git a/lang/python/python-automat/patches/003-omit-tests.patch b/lang/python/python-automat/patches/003-omit-tests.patch deleted file mode 100644 index 58eccf0075..0000000000 --- a/lang/python/python-automat/patches/003-omit-tests.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,7 @@ setup( - Self-service finite-state machines for the programmer on the go. - """.strip(), - readme='README.md', -- packages=find_packages(exclude=[]), -+ packages=find_packages(exclude=["*._test", "*._test.*"]), - package_dir={'automat': 'automat'}, - setup_requires=[ - 'wheel', -@@ -25,6 +25,7 @@ setup( - author='Glyph', - author_email='glyph@twistedmatrix.com', - include_package_data=True, -+ exclude_package_data={'':['_test/*']}, - license="MIT", - keywords='fsm finite state machine automata', - classifiers=[ -- 2.30.2