From 598dc276f755bd468c574b8203b3410cfbfc8ab8 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Wed, 3 Dec 2025 11:09:46 +0100 Subject: [PATCH] python-parsley: drop package 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 --- lang/python/python-parsley/Makefile | 40 ------------------- .../patches/001-py3-read-utf8.patch | 19 --------- .../patches/002-omit-tests.patch | 11 ----- 3 files changed, 70 deletions(-) delete mode 100644 lang/python/python-parsley/Makefile delete mode 100644 lang/python/python-parsley/patches/001-py3-read-utf8.patch delete mode 100644 lang/python/python-parsley/patches/002-omit-tests.patch diff --git a/lang/python/python-parsley/Makefile b/lang/python/python-parsley/Makefile deleted file mode 100644 index cff3d3ed64..0000000000 --- a/lang/python/python-parsley/Makefile +++ /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 - -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 index f3e63dccd0..0000000000 --- a/lang/python/python-parsley/patches/001-py3-read-utf8.patch +++ /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="washort42@gmail.com", - 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 index 4fe43b8707..0000000000 --- a/lang/python/python-parsley/patches/002-omit-tests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -15,7 +15,6 @@ setup( - author_email="washort42@gmail.com", - 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"] - ) -- 2.30.2