From 1fc28fb0486c14b791377fc21c96c0323cc1e8da Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Mon, 18 May 2009 15:25:02 +0200 Subject: python: Add patch to fix linking --- recipes/python/python-2.6.1/07-export-grammer.patch | 10 ++++++++++ recipes/python/python_2.6.1.bb | 1 + 2 files changed, 11 insertions(+) create mode 100644 recipes/python/python-2.6.1/07-export-grammer.patch (limited to 'recipes/python') 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_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 -- cgit v1.2.3 From 4df5a84ef95f422d3f14423be1a098698d9838ae Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 24 Apr 2009 18:34:40 -0300 Subject: python-pycups: add Signed-off-by: Otavio Salvador --- recipes/python/python-pycups_1.9.45.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/python/python-pycups_1.9.45.bb (limited to 'recipes/python') 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" -- cgit v1.2.3 From c58ac24fa1400d1d8a05cbf7342dd491f28c8e67 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 11 May 2009 16:16:10 +0000 Subject: python-native_2.6.1.bb: Add zlib-native to DEPENDS Do not use --with-zlib instead depend on zlib-native Acked-by: Tom Rini --- recipes/python/python-native_2.6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/python') diff --git a/recipes/python/python-native_2.6.1.bb b/recipes/python/python-native_2.6.1.bb index 3ae48285b1..ca567a161a 100644 --- a/recipes/python/python-native_2.6.1.bb +++ b/recipes/python/python-native_2.6.1.bb @@ -1,5 +1,5 @@ require python.inc -DEPENDS = "openssl-native bzip2-full-native" +DEPENDS = "openssl-native bzip2-full-native zlib-native" SRC_URI = "\ http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ -- cgit v1.2.3 From ba3644301f86b1badff7ef4117187aee3776adeb Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 30 May 2009 18:18:14 -0400 Subject: python-native: Add readline-native to DEPENDS, bump PR. It looks a little less trivial to switch python to INC_PR, so for now do 'PR .= ".1"' instead. --- recipes/python/python-native_2.6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/python') diff --git a/recipes/python/python-native_2.6.1.bb b/recipes/python/python-native_2.6.1.bb index ca567a161a..8b03a8914e 100644 --- a/recipes/python/python-native_2.6.1.bb +++ b/recipes/python/python-native_2.6.1.bb @@ -1,5 +1,5 @@ require python.inc -DEPENDS = "openssl-native bzip2-full-native zlib-native" +DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native" SRC_URI = "\ http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ -- cgit v1.2.3 From 97430a9256a25346a75f1796a4c89f0e1257f239 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 1 Jun 2009 13:04:35 -0400 Subject: python-native: Actually bump PR --- recipes/python/python-native_2.6.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes/python') diff --git a/recipes/python/python-native_2.6.1.bb b/recipes/python/python-native_2.6.1.bb index 8b03a8914e..00d87e6f59 100644 --- a/recipes/python/python-native_2.6.1.bb +++ b/recipes/python/python-native_2.6.1.bb @@ -1,6 +1,8 @@ require python.inc DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native" +PR .= ".1" + SRC_URI = "\ http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ file://00-fix-bindir-libdir-for-cross.patch;patch=1 \ -- cgit v1.2.3