2 Commits

Author SHA1 Message Date
Alexandru Ardelean
2ab7c24e28 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 <alex@shruggie.ro>
(cherry picked from commit 974dc9753c)
2025-12-04 22:07:35 +01:00
Josef Schlehofer
ca47b6ce11 python-unidecode: drop unmaintained package
It looks like based on opened PRs [1],
there is no official support for Python 3.12+.

Unfortunately, this project is still using setup.py,
which is deprecated and no longer supported.
These days project metadata are stored in pyproject.toml
according to PEP 621.

Also, this project does not follow PEP625 as their
wheel name is in uppercase and it should be in lowercase.

[1] https://github.com/avian2/unidecode/pulls
[2] https://peps.python.org/pep-0621/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 09951a9cfd)
2025-12-04 22:04:58 +01:00
4 changed files with 4 additions and 82 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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=[

View File

@@ -1,40 +0,0 @@
#
# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-unidecode
PKG_VERSION:=1.3.6
PKG_RELEASE:=1
PYPI_NAME:=Unidecode
PKG_HASH:=fed09cf0be8cf415b391642c2a5addfc72194407caee4f98719e40ec2a72b830
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-unidecode
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=ASCII transliterations of Unicode text
URL:=https://github.com/avian2/unidecode
DEPENDS:=+python3-light
endef
define Package/python-unidecode/description
Unidecode, lossy ASCII transliterations of Unicode text
endef
$(eval $(call Py3Package,python3-unidecode))
$(eval $(call BuildPackage,python3-unidecode))
$(eval $(call BuildPackage,python3-unidecode-src))