summaryrefslogtreecommitdiff
path: root/recipes/python/python-pyyaml_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python/python-pyyaml_svn.bb')
-rw-r--r--recipes/python/python-pyyaml_svn.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/python/python-pyyaml_svn.bb b/recipes/python/python-pyyaml_svn.bb
new file mode 100644
index 0000000000..0aed0b0e62
--- /dev/null
+++ b/recipes/python/python-pyyaml_svn.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Python support for YAML"
+HOMEPAGE = "http://www.pyyaml.org"
+SECTION = "devel/python"
+LICENSE = "MIT"
+DEPENDS = "libyaml python-cython-native"
+PV = "3.08+svnr${SRCREV}"
+PR = "ml0"
+
+SRC_URI = "\
+ svn://svn.pyyaml.org/pyyaml;module=trunk;proto=http \
+ file://setup.py \
+"
+S = "${WORKDIR}/trunk"
+
+inherit distutils
+
+do_configure_prepend() {
+ # upstream setup.py overcomplicated, use ours
+ install -m 0644 ${WORKDIR}/setup.py ${S}
+}