From 658b1b67587c4698f6a4c182e9afea7cb5fba2ee Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 1 Apr 2020 22:21:16 +0800 Subject: python-libraries: Remove Python 2 variants The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To --- lang/python/text-unidecode/Makefile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'lang/python/text-unidecode') diff --git a/lang/python/text-unidecode/Makefile b/lang/python/text-unidecode/Makefile index cb351c53a..88acb06f8 100644 --- a/lang/python/text-unidecode/Makefile +++ b/lang/python/text-unidecode/Makefile @@ -20,7 +20,6 @@ PKG_MAINTAINER:=Josef Schlehofer include ../pypi.mk include $(INCLUDE_DIR)/package.mk -include ../python-package.mk include ../python3-package.mk define Package/python-text-unidecode/Default @@ -31,13 +30,6 @@ define Package/python-text-unidecode/Default URL:=https://github.com/kmike/text-unidecode/ endef -define Package/python-text-unidecode -$(call Package/python-text-unidecode/Default) - DEPENDS:= \ - +PACKAGE_python-text-unidecode:python-light - VARIANT:=python -endef - define Package/python3-text-unidecode $(call Package/python-text-unidecode/Default) DEPENDS:= \ @@ -45,20 +37,12 @@ $(call Package/python-text-unidecode/Default) VARIANT:=python3 endef -define Package/python-text-unidecode/description -text-unidecode is the most basic port of the Text::Unidecode Perl library. -endef - define Package/python3-text-unidecode/description -$(call Package/python-text-unidecode/description) +text-unidecode is the most basic port of the Text::Unidecode Perl library. . (Variant for Python3) endef -$(eval $(call PyPackage,python-text-unidecode)) -$(eval $(call BuildPackage,python-text-unidecode)) -$(eval $(call BuildPackage,python-text-unidecode-src)) - $(eval $(call Py3Package,python3-text-unidecode)) $(eval $(call BuildPackage,python3-text-unidecode)) $(eval $(call BuildPackage,python3-text-unidecode-src)) -- cgit