summaryrefslogtreecommitdiff
path: root/recipes/python
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-05-25 09:54:29 +0200
committerStefan Schmidt <stefan@datenfreihafen.org>2009-05-25 09:54:29 +0200
commit99dd85f176d8dbc1f81ed96b8bd2409ba3dbcd32 (patch)
tree20e0735f73d2a422f75fcb6bf408efd2bd14d0c1 /recipes/python
parent8ef37e61f2e2db01d32dd6ec9a89202e973dddc8 (diff)
parent8ce0d1274b868674c997ef52b1c8753c033a8a08 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/python')
-rw-r--r--recipes/python/python-2.6.1/07-export-grammer.patch10
-rw-r--r--recipes/python/python-pycups_1.9.45.bb16
-rw-r--r--recipes/python/python_2.6.1.bb1
3 files changed, 27 insertions, 0 deletions
diff --git a/recipes/python/python-2.6.1/07-export-grammer.patch b/recipes/python/python-2.6.1/07-export-grammer.patch
new file mode 100644
index 0000000000..b7ec2bbc65
--- /dev/null
+++ b/recipes/python/python-2.6.1/07-export-grammer.patch
@@ -0,0 +1,10 @@
+--- Python-2.6.1.orig/Parser/printgrammar.c 2008-04-13 15:35:56.000000000 -0500
++++ Python-2.6.1/Parser/printgrammar.c 2008-12-28 00:01:28.675633800 -0600
+@@ -16,6 +16,7 @@
+ fprintf(fp, "/* Generated by Parser/pgen */\n\n");
+ fprintf(fp, "#include \"pgenheaders.h\"\n");
+ fprintf(fp, "#include \"grammar.h\"\n");
++ fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n");
+ printdfas(g, fp);
+ printlabels(g, fp);
+ fprintf(fp, "grammar _PyParser_Grammar = {\n");
diff --git a/recipes/python/python-pycups_1.9.45.bb b/recipes/python/python-pycups_1.9.45.bb
new file mode 100644
index 0000000000..bd127d5559
--- /dev/null
+++ b/recipes/python/python-pycups_1.9.45.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "cups Python Bindings"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "cups"
+SRCNAME = "pycups"
+
+SRC_URI = "http://cyberelk.net/tim/data/pycups/pycups-${PV}.tar.bz2"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+# used during compilation
+CFLAGS += -DVERSION=\\"${PV}\\"
+
+RDEPENDS = "python-core cups"
diff --git a/recipes/python/python_2.6.1.bb b/recipes/python/python_2.6.1.bb
index e50ca43aab..8ca51ae3bf 100644
--- a/recipes/python/python_2.6.1.bb
+++ b/recipes/python/python_2.6.1.bb
@@ -12,6 +12,7 @@ SRC_URI = "\
file://04-default-is-optimized.patch;patch=1 \
file://05-enable-ctypes-cross-build.patch;patch=1 \
file://06-libffi-enable-default-mips.patch;patch=1 \
+ file://07-export-grammer.patch;patch=1 \
file://99-ignore-optimization-flag.patch;patch=1 \
\
# not yet pushed forward