summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-pyyaml_3.10.bb
blob: 625efd59bd3bcedb266ff67d9097c2afe3b5b9a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "Python support for YAML"
HOMEPAGE = "http://www.pyyaml.org"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17"
DEPENDS = "libyaml python-cython-native"

SRC_URI = "http://pyyaml.org/download/pyyaml/PyYAML-${PV}.tar.gz \
           file://setup.py \
           "

SRC_URI[md5sum] = "74c94a383886519e9e7b3dd1ee540247"
SRC_URI[sha256sum] = "e713da45c96ca53a3a8b48140d4120374db622df16ab71759c9ceb5b8d46fe7c"

S = "${WORKDIR}/PyYAML-${PV}"

inherit distutils

do_configure_prepend() {
	# upstream setup.py overcomplicated, use ours
	install -m 0644 ${WORKDIR}/setup.py ${S}
}