diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyyaml_3.11.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python-pyyaml_3.11.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyyaml_3.11.bb b/meta-python/recipes-devtools/python/python-pyyaml_3.11.bb new file mode 100644 index 0000000000..a017e0e65b --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyyaml_3.11.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Python support for YAML" | ||
2 | HOMEPAGE = "http://www.pyyaml.org" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" | ||
6 | DEPENDS = "libyaml python-cython-native" | ||
7 | |||
8 | SRC_URI = "http://pyyaml.org/download/pyyaml/PyYAML-${PV}.tar.gz \ | ||
9 | file://setup.py \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "f50e08ef0fe55178479d3a618efe21db" | ||
13 | SRC_URI[sha256sum] = "c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8" | ||
14 | |||
15 | S = "${WORKDIR}/PyYAML-${PV}" | ||
16 | |||
17 | inherit distutils | ||
18 | |||
19 | do_configure_prepend() { | ||
20 | # upstream setup.py overcomplicated, use ours | ||
21 | install -m 0644 ${WORKDIR}/setup.py ${S} | ||
22 | } | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||