python-parsley: drop package
authorJosef Schlehofer <[email protected]>
Wed, 3 Dec 2025 10:09:46 +0000 (11:09 +0100)
committerJosef Schlehofer <[email protected]>
Wed, 3 Dec 2025 19:14:16 +0000 (20:14 +0100)
This looks like it is not maintained anymore.
The last commit in the repository [1] is from 2017,
and the last tarball uploaded on PyPI is from 2015.

That tarball does not follow PEP625, because the
wheel and tarball begins with uppercase, it should be
in lowercase and as well it is still using setup.py.

Python these days is using pyproject.toml.

[1] https://github.com/washort/parsley

Signed-off-by: Josef Schlehofer <[email protected]>
lang/python/python-parsley/Makefile [deleted file]
lang/python/python-parsley/patches/001-py3-read-utf8.patch [deleted file]
lang/python/python-parsley/patches/002-omit-tests.patch [deleted file]

diff --git a/lang/python/python-parsley/Makefile b/lang/python/python-parsley/Makefile
deleted file mode 100644 (file)
index cff3d3e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright (C) 2015, 2017-2018 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=python-parsley
-PKG_VERSION:=1.3
-PKG_RELEASE:=6
-
-PYPI_NAME:=Parsley
-PKG_HASH:=9444278d47161d5f2be76a767809a3cbe6db4db822f46a4fd7481d4057208d41
-
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=LICENSE
-PKG_MAINTAINER:=Jeffery To <[email protected]>
-
-include ../pypi.mk
-include $(INCLUDE_DIR)/package.mk
-include ../python3-package.mk
-
-define Package/python3-parsley
-  SECTION:=lang
-  CATEGORY:=Languages
-  SUBMENU:=Python
-  TITLE:=Parsing and pattern matching
-  URL:=http://launchpad.net/parsley
-  DEPENDS:=+python3-light
-endef
-
-define Package/python3-parsley/description
-Parsing and pattern matching made easy.
-endef
-
-$(eval $(call Py3Package,python3-parsley))
-$(eval $(call BuildPackage,python3-parsley))
-$(eval $(call BuildPackage,python3-parsley-src))
diff --git a/lang/python/python-parsley/patches/001-py3-read-utf8.patch b/lang/python/python-parsley/patches/001-py3-read-utf8.patch
deleted file mode 100644 (file)
index f3e63dc..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -4,6 +4,7 @@
- Setup script for the Parsley distribution.
- """
-+import io
- from distutils.core import setup
- setup(
-     name="Parsley",
-@@ -13,7 +14,7 @@ setup(
-     author="Allen Short",
-     author_email="[email protected]",
-     license="MIT License",
--    long_description=open("README").read(),
-+    long_description=io.open("README", encoding="utf-8").read(),
-     packages=["ometa", "terml", "ometa._generated", "terml._generated",
-               "ometa.test", "terml.test"],
-     py_modules=["parsley"]
diff --git a/lang/python/python-parsley/patches/002-omit-tests.patch b/lang/python/python-parsley/patches/002-omit-tests.patch
deleted file mode 100644 (file)
index 4fe43b8..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -15,7 +15,6 @@ setup(
-     author_email="[email protected]",
-     license="MIT License",
-     long_description=io.open("README", encoding="utf-8").read(),
--    packages=["ometa", "terml", "ometa._generated", "terml._generated",
--              "ometa.test", "terml.test"],
-+    packages=["ometa", "terml", "ometa._generated", "terml._generated"],
-     py_modules=["parsley"]
- )