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>
This commit is contained in:
Geoffrey Ragot 2015-07-26 14:12:17 +02:00 committed by Thomas Petazzoni
parent c0f4bb97e4
commit f098adb66c
4 changed files with 27 additions and 0 deletions

View File

@ -652,6 +652,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"

View File

@ -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/

View File

@ -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

View File

@ -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))