python-libraries: Remove Python 2 variants

The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2020-04-01 22:21:16 +08:00
parent c37b15e1c4
commit 658b1b6758
78 changed files with 89 additions and 1501 deletions

View File

@@ -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))