diff options
| author | Geoffrey Ragot <geoffreyragot@gmail.com> | 2015-07-26 14:12:17 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-28 00:09:21 +0200 |
| commit | f098adb66cf744b8e3700990f5ee9857483e010f (patch) | |
| tree | a7a7fb4381f7a060f8335fdb661b556e02dcfcfa /package/python-pyyaml | |
| parent | c0f4bb97e4bc29b67bd1e17918cf3e694f137523 (diff) | |
| download | buildroot-f098adb66cf744b8e3700990f5ee9857483e010f.tar.gz buildroot-f098adb66cf744b8e3700990f5ee9857483e010f.zip | |
python-pyyaml: new package
[Thomas:
- use 'select' rather than 'depends on' for the yaml library
dependency
- add hash file.
- add upstream URL in Config.in help text
- rework commit title.]
Signed-off-by: Geoffrey Ragot <geoffrey.ragot@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pyyaml')
| -rw-r--r-- | package/python-pyyaml/Config.in | 7 | ||||
| -rw-r--r-- | package/python-pyyaml/python-pyyaml.hash | 4 | ||||
| -rw-r--r-- | package/python-pyyaml/python-pyyaml.mk | 15 |
3 files changed, 26 insertions, 0 deletions
diff --git a/package/python-pyyaml/Config.in b/package/python-pyyaml/Config.in new file mode 100644 index 0000000000..45e818b7e7 --- /dev/null +++ b/package/python-pyyaml/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYYAML + bool "python-pyyaml" + select BR2_PACKAGE_LIBYAML + help + The PyYAML package contains binding to the libyaml API. + + http://pyyaml.org/ diff --git a/package/python-pyyaml/python-pyyaml.hash b/package/python-pyyaml/python-pyyaml.hash new file mode 100644 index 0000000000..a6d9a776a0 --- /dev/null +++ b/package/python-pyyaml/python-pyyaml.hash @@ -0,0 +1,4 @@ +# From https://pypi.python.org/pypi?:action=show_md5&digest=f50e08ef0fe55178479d3a618efe21db +md5 f50e08ef0fe55178479d3a618efe21db PyYAML-3.11.tar.gz +# Locally computed +sha256 c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8 PyYAML-3.11.tar.gz diff --git a/package/python-pyyaml/python-pyyaml.mk b/package/python-pyyaml/python-pyyaml.mk new file mode 100644 index 0000000000..ef10dac922 --- /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)) |

