summaryrefslogtreecommitdiff
path: root/packages/python/python-native_2.3.3.bb
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-18 01:01:16 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-18 01:01:16 +0000
commit2650645237555cc24c532a4c9ccd81d8c01bcaf7 (patch)
tree297cb8213bb881f96893b6246a623718af50a8e1 /packages/python/python-native_2.3.3.bb
parent6e012296c2dc513ae301654b3d4d3eb826068c81 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/17 19:01:15-06:00 ti.com!kergoth Move 'patcher-native' into a PATCH_DEPENDS variable. 2005/01/17 18:35:01-06:00 ti.com!kergoth Teach base_do_patch to unapply all the patches before it starts applying things. This ensures that a patch being 'already applied' isn't a problem. BKrev: 41ec5fdcZyPXKe57f5FM3PpA19zcww
Diffstat (limited to 'packages/python/python-native_2.3.3.bb')
-rw-r--r--packages/python/python-native_2.3.3.bb29
1 files changed, 29 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/
+}
+