diff options
author | Jeffery To <jeffery.to@gmail.com> | 2020-04-01 22:21:16 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-02 14:57:30 +0800 |
commit | 658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch) | |
tree | 94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/python-yaml | |
parent | c37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff) |
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>
Diffstat (limited to 'lang/python/python-yaml')
-rw-r--r-- | lang/python/python-yaml/Makefile | 21 |
1 files changed, 1 insertions, 20 deletions
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)) |