summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python-2.3.2/bindir-libdir.patch0
-rw-r--r--python/python-native_2.3.2.oe11
-rw-r--r--python/python_2.3.2.oe16
3 files changed, 27 insertions, 0 deletions
diff --git a/python/python-2.3.2/bindir-libdir.patch b/python/python-2.3.2/bindir-libdir.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/python/python-2.3.2/bindir-libdir.patch
diff --git a/python/python-native_2.3.2.oe b/python/python-native_2.3.2.oe
index e69de29bb2..95ebc29a8f 100644
--- a/python/python-native_2.3.2.oe
+++ b/python/python-native_2.3.2.oe
@@ -0,0 +1,11 @@
+include python_${PV}.oe
+inherit native
+
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/python-${PV}
+
+do_stage_append() {
+ # install pgen for later usage with non-native builds
+ install Parser/pgen ${STAGING_DIR}/build/bin
+}
+
+
diff --git a/python/python_2.3.2.oe b/python/python_2.3.2.oe
index e69de29bb2..21c65b8894 100644
--- a/python/python_2.3.2.oe
+++ b/python/python_2.3.2.oe
@@ -0,0 +1,16 @@
+DESCRIPTION="Python Programming Language"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI = ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \
+ file://${FILESDIR}/bindir-libdir.patch;patch=1
+
+S = ${WORKDIR}/Python-${PV}
+
+inherit autotools
+
+EXTRA_OECONF = '--with-threads --with-pymalloc --with-cyclic-gc --with-exec-prefix=${STAGING_DIR}/build'
+