summaryrefslogtreecommitdiff
path: root/packages/python/python24-native_2.4.0.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-15 19:53:43 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-15 19:53:43 +0000
commit7b8667fa75578f7e6a4958a851296a02e27eb34e (patch)
treef465a69f392047ac31235e022f6e5244e402afe8 /packages/python/python24-native_2.4.0.bb
parent30bc4fa5064b1513537ba9410336dfffe77a659c (diff)
major python upgrade: add python[-native] 2.5.1, rename python-2.4 package
Diffstat (limited to 'packages/python/python24-native_2.4.0.bb')
-rw-r--r--packages/python/python24-native_2.4.0.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/python/python24-native_2.4.0.bb b/packages/python/python24-native_2.4.0.bb
new file mode 100644
index 0000000000..5e948965ad
--- /dev/null
+++ b/packages/python/python24-native_2.4.0.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "Python Programming Language"
+HOMEPAGE = "http://www.python.org"
+LICENSE = "PSF"
+SECTION = "devel/python"
+PRIORITY = "optional"
+DEPENDS = ""
+PR = "r2"
+
+EXCLUDE_FROM_WORLD = "1"
+
+SRC_URI = "http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2 \
+ file://bindir-libdir.patch;patch=1 \
+ file://cross-distutils.patch;patch=1 \
+ file://dont-modify-shebang-line.patch;patch=1"
+S = "${WORKDIR}/Python-2.4"
+
+inherit autotools native
+
+prefix = "${STAGING_DIR}/${BUILD_SYS}"
+exec_prefix = "${STAGING_DIR}/${BUILD_SYS}"
+
+EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc \
+ --without-cxx --with-signal-module --with-wctype-functions"
+EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
+
+do_configure() {
+ # the autofoo stuff is too old to allow regenerating
+ oe_runconf
+}
+
+do_stage_append() {
+ # install pgen for later usage with non-native builds
+ install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/
+}
+