python-automat: drop broken automat-visualize entry point
authorAlexandru Ardelean <redacted>
Sun, 7 Jun 2026 11:02:45 +0000 (14:02 +0300)
committerAlexandru Ardelean <redacted>
Tue, 9 Jun 2026 14:18:01 +0000 (17:18 +0300)
The package excludes automat/_visualize.py (it needs the optional graphviz
dependency), but the automat-visualize console script was still installed and
imports that module, so it failed at runtime and broke the CI generic test.
Skip the /usr/bin install so the package ships as a pure library.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-automat/Makefile

index 7c68f39e96ec39e892e2698a665b55d2d2ce5026..4f2045007ae546b850dfacea863d52bedf2ea183 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-automat
 PKG_VERSION:=25.4.16
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PYPI_NAME:=automat
 PKG_HASH:=0017591a5477066e90d26b0e696ddc143baafd87b588cfac8100bc6be9634de0
@@ -46,6 +46,12 @@ define Py3Package/python3-automat/filespec
 -|$(PYTHON3_PKG_DIR)/automat/_visualize.py
 endef
 
+# Drop the automat-visualize binary: it imports automat._visualize,
+# which is excluded above because it needs the optional graphviz dependency.
+define Py3Package/python3-automat/install
+       :
+endef
+
 $(eval $(call Py3Package,python3-automat))
 $(eval $(call BuildPackage,python3-automat))
 $(eval $(call BuildPackage,python3-automat-src))
git clone https://git.99rst.org/PROJECT