summaryrefslogtreecommitdiff
path: root/lang/python/python-yaml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-yaml/Makefile')
-rw-r--r--lang/python/python-yaml/Makefile21
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))