Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] Add pyyaml package
@ 2015-07-26 12:12 Geoffrey Ragot
  2015-07-26 12:12 ` [Buildroot] [PATCH 2/2] Add pycli package Geoffrey Ragot
  2015-07-27 22:11 ` [Buildroot] [PATCH 1/2] Add pyyaml package Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Geoffrey Ragot @ 2015-07-26 12:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Geoffrey Ragot <geoffrey.ragot@gmail.com>
---
 package/Config.in                      |  1 +
 package/python-pyyaml/Config.in        |  8 ++++++++
 package/python-pyyaml/python-pyyaml.mk | 15 +++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 package/python-pyyaml/Config.in
 create mode 100644 package/python-pyyaml/python-pyyaml.mk

diff --git a/package/Config.in b/package/Config.in
index cfa7512..8bc27a4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -649,6 +649,7 @@ menu "external python modules"
 	source "package/python-pyusb/Config.in"
 	source "package/python-pyxb/Config.in"
 	source "package/python-pyxml/Config.in"
+	source "package/python-pyyaml/Config.in"
 	source "package/python-pyzmq/Config.in"
 	source "package/python-requests/Config.in"
 	source "package/python-rtslib-fb/Config.in"
diff --git a/package/python-pyyaml/Config.in b/package/python-pyyaml/Config.in
new file mode 100644
index 0000000..a63c445
--- /dev/null
+++ b/package/python-pyyaml/Config.in
@@ -0,0 +1,8 @@
+comment "python-pyyaml require libyaml"
+	depends on !BR2_PACKAGE_LIBYAML
+
+config BR2_PACKAGE_PYTHON_PYYAML
+	bool "python-pyyaml"
+	depends on BR2_PACKAGE_LIBYAML
+	help
+	  The PyYAML package contains binding to the libyaml API.
diff --git a/package/python-pyyaml/python-pyyaml.mk b/package/python-pyyaml/python-pyyaml.mk
new file mode 100644
index 0000000..ef10dac
--- /dev/null
+++ b/package/python-pyyaml/python-pyyaml.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-pyyaml
+#
+################################################################################
+
+PYTHON_PYYAML_VERSION = 3.11
+PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz
+PYTHON_PYYAML_SITE = https://pypi.python.org/packages/source/P/PyYAML/
+PYTHON_PYYAML_SETUP_TYPE = distutils
+PYTHON_PYYAML_LICENSE = Python software foundation license v2
+PYTHON_PYYAML_LICENSE_FILES = LICENSE
+PYTHON_PYYAML_DEPENDENCIES = libyaml
+
+$(eval $(python-package))
-- 
2.4.6

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-28 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 12:12 [Buildroot] [PATCH 1/2] Add pyyaml package Geoffrey Ragot
2015-07-26 12:12 ` [Buildroot] [PATCH 2/2] Add pycli package Geoffrey Ragot
2015-07-28 22:04   ` Thomas Petazzoni
2015-07-27 22:11 ` [Buildroot] [PATCH 1/2] Add pyyaml package Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox