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-yaml/Makefile | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'lang/python/python-yaml') diff --git a/lang/python/python-yaml/Makefile b/lang/python/python-yaml/Makefile index 46eaeaeb1..dbca6deb5 100644 --- a/lang/python/python-yaml/Makefile +++ b/lang/python/python-yaml/Makefile @@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml include ../pypi.mk include $(INCLUDE_DIR)/package.mk -include ../python-package.mk include ../python3-package.mk define Package/python-yaml/Default @@ -33,39 +32,21 @@ define Package/python-yaml/Default DEPENDS:=+libyaml endef -define Package/python-yaml -$(call Package/python-yaml/Default) - DEPENDS+= \ - +PACKAGE_python-yaml:python-light \ - +PACKAGE_python-yaml:python-codecs - VARIANT:=python -endef - define Package/python3-yaml $(call Package/python-yaml/Default) DEPENDS+=+PACKAGE_python3-yaml:python3-light VARIANT:=python3 endef -define Package/python-yaml/description - PyYAML is a YAML parser and emitter for the Python programming language. -endef - define Package/python3-yaml/description -$(call Package/python-yaml/description) + PyYAML is a YAML parser and emitter for the Python programming language. . (Variant for Python3) endef -PYTHON_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml -PYTHON_PKG_SETUP_ARGS:= PYTHON3_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml PYTHON3_PKG_SETUP_ARGS:= -$(eval $(call PyPackage,python-yaml)) -$(eval $(call BuildPackage,python-yaml)) -$(eval $(call BuildPackage,python-yaml-src)) - $(eval $(call Py3Package,python3-yaml)) $(eval $(call BuildPackage,python3-yaml)) $(eval $(call BuildPackage,python3-yaml-src)) -- cgit v1.2.3