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/python-voluptuous/Makefile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'lang/python/python-voluptuous/Makefile') diff --git a/lang/python/python-voluptuous/Makefile b/lang/python/python-voluptuous/Makefile index 910f82a51..bcac10b07 100644 --- a/lang/python/python-voluptuous/Makefile +++ b/lang/python/python-voluptuous/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-voluptuous/Default @@ -31,13 +30,6 @@ define Package/python-voluptuous/Default URL:=https://github.com/alecthomas/voluptuous endef -define Package/python-voluptuous -$(call Package/python-voluptuous/Default) - DEPENDS:= \ - +PACKAGE_python-voluptuous:python-light - VARIANT:=python -endef - define Package/python3-voluptuous $(call Package/python-voluptuous/Default) DEPENDS:= \ @@ -45,20 +37,12 @@ $(call Package/python-voluptuous/Default) VARIANT:=python3 endef -define Package/python-voluptuous/description -It is primarily intended for validating data coming into Python as JSON, YAML, etc. -endef - define Package/python3-voluptuous/description -$(call Package/python-voluptuous/description) +It is primarily intended for validating data coming into Python as JSON, YAML, etc. . (Variant for Python3) endef -$(eval $(call PyPackage,python-voluptuous)) -$(eval $(call BuildPackage,python-voluptuous)) -$(eval $(call BuildPackage,python-voluptuous-src)) - $(eval $(call Py3Package,python3-voluptuous)) $(eval $(call BuildPackage,python3-voluptuous)) $(eval $(call BuildPackage,python3-voluptuous-src)) -- cgit