summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python')
-rw-r--r--packages/python/python-native_2.3.3.bb29
-rw-r--r--packages/python/python24-native_2.4.0.bb31
2 files changed, 60 insertions, 0 deletions
diff --git a/packages/python/python-native_2.3.3.bb b/packages/python/python-native_2.3.3.bb
index e69de29bb2..f880e49018 100644
--- a/packages/python/python-native_2.3.3.bb
+++ b/packages/python/python-native_2.3.3.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Python Programming Language"
+HOMEPAGE = "http://www.python.org"
+LICENSE = "PSF"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+DEPENDS = ""
+PR = "r1"
+
+SRC_URI = "ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \
+ file://bindir-libdir.patch;patch=1 \
+ file://cross-distutils.patch;patch=1"
+S = "${WORKDIR}/Python-${PV}"
+
+inherit autotools native
+
+EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \
+ --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
+EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
+
+do_configure () {
+ oe_runconf
+}
+
+do_stage_append() {
+ # install pgen for later usage with non-native builds
+ install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/
+}
+
diff --git a/packages/python/python24-native_2.4.0.bb b/packages/python/python24-native_2.4.0.bb
index e69de29bb2..1fba9a2557 100644
--- a/packages/python/python24-native_2.4.0.bb
+++ b/packages/python/python24-native_2.4.0.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Python Programming Language"
+HOMEPAGE = "http://www.python.org"
+LICENSE = "PSF"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+DEPENDS = ""
+PR = "r0"
+
+EXCLUDE_FROM_WORLD = "1"
+
+SRC_URI = "ftp://www.python.org/pub/python/2.4/Python-2.4.tar.bz2 \
+ file://bindir-libdir.patch;patch=1 \
+ file://cross-distutils.patch;patch=1"
+S = "${WORKDIR}/Python-2.4"
+
+inherit autotools native
+
+EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \
+ --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
+EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
+
+do_configure () {
+ oe_runconf
+}
+
+do_stage_append() {
+ # install pgen for later usage with non-native builds
+ install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/
+}
+