From c37b15e1c49cf27de8f34f43e93a7a5c184be9e0 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 1 Apr 2020 22:11:07 +0800 Subject: python-libraries: Remove Python 2-only packages These are either libraries that backport Python 3 features for Python 2 programs, or libraries that have not had Python 3 variants added to them by anyone. These packages will be added to the abandoned packages feed. Signed-off-by: Jeffery To --- lang/python/python-enum34/Makefile | 52 ---------------------- .../python-enum34/patches/001-omit-docs.patch | 18 -------- 2 files changed, 70 deletions(-) delete mode 100644 lang/python/python-enum34/Makefile delete mode 100644 lang/python/python-enum34/patches/001-omit-docs.patch (limited to 'lang/python/python-enum34') diff --git a/lang/python/python-enum34/Makefile b/lang/python/python-enum34/Makefile deleted file mode 100644 index f988e2fc4..000000000 --- a/lang/python/python-enum34/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# -# Copyright (C) 2015-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-enum34 -PKG_VERSION:=1.1.10 -PKG_RELEASE:=1 - -PYPI_NAME:=enum34 -PKG_HASH:=cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248 - -PKG_LICENSE:=BSD-3-Clause -PKG_LICENSE_FILES:=enum/LICENSE -PKG_MAINTAINER:=Jeffery To -PKG_CPE_ID:=cpe:/a:python:enum34 - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python-package.mk - -define Package/python-enum34/Default - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Backported Python 3.4 enum - URL:=https://bitbucket.org/stoneleaf/enum34 -endef - -define Package/python-enum34 -$(call Package/python-enum34/Default) - DEPENDS:=+PACKAGE_python-enum34:python-light - VARIANT:=python -endef - -define Package/python-enum34/description -enum34 is the new Python stdlib enum module available in Python 3.4 -backported for previous versions of Python from 2.4 to 3.3. -endef - -define PyPackage/python-enum34/filespec -+|$(PYTHON_PKG_DIR) --|$(PYTHON_PKG_DIR)/enum/test.py -endef - -$(eval $(call PyPackage,python-enum34)) -$(eval $(call BuildPackage,python-enum34)) -$(eval $(call BuildPackage,python-enum34-src)) diff --git a/lang/python/python-enum34/patches/001-omit-docs.patch b/lang/python/python-enum34/patches/001-omit-docs.patch deleted file mode 100644 index 85faa0e8c..000000000 --- a/lang/python/python-enum34/patches/001-omit-docs.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -71,15 +71,6 @@ data = dict( - version='1.1.10', - url='https://bitbucket.org/stoneleaf/enum34', - packages=packages, -- package_data={ -- 'enum' : [ -- 'LICENSE', -- 'README', -- 'doc/enum.rst', -- 'doc/enum.pdf', -- 'test.py', -- ] -- }, - license='BSD License', - description='Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4', - long_description=long_desc, -- cgit