diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2020-04-02 14:46:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-02 14:46:58 +0300 |
| commit | 803dd9c739fa392150adc1b1dda9fa84ba3ce454 (patch) | |
| tree | 3f48e030be3ab66d8fc446065257a6382c97a97c /lang/python/python-yaml | |
| parent | 8d53a5605d1cf2f9e0721ce0891c50ebf91a00c6 (diff) | |
| parent | 658b1b67587c4698f6a4c182e9afea7cb5fba2ee (diff) | |
Merge pull request #11740 from jefferyto/python2-remove-libraries
python-libraries: Remove Python 2 variants/libraries
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)) |
