summaryrefslogtreecommitdiff
path: root/packages/python/python-pyyaml_svn.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-10-03 08:30:38 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-10-03 08:30:38 +0000
commit0b4e030c8ead47ccbbefd57a96b7f78157d12f39 (patch)
tree6ae83eb05f1ac9650f50fbc1e9de4cdbef9e4f4b /packages/python/python-pyyaml_svn.bb
parente170a7b58ae236027902e4aa53b535c713b7b25d (diff)
add svn version of python-pyyaml and build the libyaml C extension to speed up parsing
Diffstat (limited to 'packages/python/python-pyyaml_svn.bb')
-rw-r--r--packages/python/python-pyyaml_svn.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/python/python-pyyaml_svn.bb b/packages/python/python-pyyaml_svn.bb
new file mode 100644
index 0000000000..3f316cff82
--- /dev/null
+++ b/packages/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.05+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}
+}