From f1d4d63672d2c7fec759c0ebd5d81f542ff807a3 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 30 Sep 2005 15:38:22 +0000 Subject: python: upgrade to 2.4.2 --- packages/python/python_2.4.2.bb | 70 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 packages/python/python_2.4.2.bb (limited to 'packages/python/python_2.4.2.bb') diff --git a/packages/python/python_2.4.2.bb b/packages/python/python_2.4.2.bb new file mode 100644 index 0000000000..3b25a84c1b --- /dev/null +++ b/packages/python/python_2.4.2.bb @@ -0,0 +1,70 @@ +DESCRIPTION = "Python Programming Language" +HOMEPAGE = "http://www.python.org" +LICENSE = "PSF" +SECTION = "devel/python" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer " +PROVIDES = "python python-core" +DEPENDS_GUI = "tcl tk" +DEPENDS_GUI_nslu2 = "" +DEPENDS = "python-native readline zlib gdbm openssl ${DEPENDS_GUI}" +PR = "ml1" + +PYTHON_MAJMIN = "2.4" + +SRC_URI = "ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \ + file://bindir-libdir.patch;patch=1 \ + file://crosscompile.patch;patch=1 \ + file://fix-tkinter-detection.patch;patch=1" +S = "${WORKDIR}/Python-${PV}" + +inherit autotools + +EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc \ + --without-cxx --with-signal-module --with-wctype-functions \ + --enable-shared" + +# +# copy config.h and an appropriate Makefile for distutils.sysconfig +# which laters uses the information out of these to compile extensions +# +do_compile_prepend() { + install -d ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ + install -d ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ + install -m 0644 pyconfig.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ + install -m 0644 Makefile Makefile.orig + install -m 0644 Makefile Makefile.backup + sed -e 's,${includedir},${STAGING_INCDIR},' < Makefile.backup > Makefile + install -m 0644 Makefile Makefile.backup + sed -e 's,${libdir},${STAGING_LIBDIR},' < Makefile.backup > Makefile + install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ +} + +do_compile() { + oe_runmake HOSTPGEN=${STAGING_BINDIR}/pgen \ + HOSTPYTHON=${STAGING_BINDIR}/python \ + STAGING_LIBDIR=${STAGING_LIBDIR} \ + STAGING_INCDIR=${STAGING_INCDIR} \ + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} +} + +do_stage() { + install -m 0644 Include/*.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ + oe_libinstall -a -so libpython2.4 ${STAGING_LIBDIR} +} + +do_install() { + install -m 0644 Makefile.orig Makefile + oe_runmake HOSTPGEN=${STAGING_BINDIR}/pgen \ + HOSTPYTHON=${STAGING_BINDIR}/python \ + STAGING_LIBDIR=${STAGING_LIBDIR} \ + STAGING_INCDIR=${STAGING_INCDIR} \ + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + DESTDIR=${D} install +} + +include python-${PV}-manifest.inc + +PACKAGES =+ "libpython2" +FILES_libpython2 = "${libdir}/libpython*" + -- cgit v1.2.3 From 68c437628f2d561c87e6dfe2cdf07bd7bca44cd2 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 1 Oct 2005 02:28:33 +0000 Subject: python(openslug), openslug kernel: enable tcl/tk in python, move kernel to 2.6.14-rc2 The changes overlap (in conf/distro/openslug.conf), the kernel change is, however, only the version change in that file. --- packages/python/python_2.4.2.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages/python/python_2.4.2.bb') diff --git a/packages/python/python_2.4.2.bb b/packages/python/python_2.4.2.bb index 3b25a84c1b..f29e0dc6d1 100644 --- a/packages/python/python_2.4.2.bb +++ b/packages/python/python_2.4.2.bb @@ -5,9 +5,7 @@ SECTION = "devel/python" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " PROVIDES = "python python-core" -DEPENDS_GUI = "tcl tk" -DEPENDS_GUI_nslu2 = "" -DEPENDS = "python-native readline zlib gdbm openssl ${DEPENDS_GUI}" +DEPENDS = "python-native readline zlib gdbm openssl tcl tk" PR = "ml1" PYTHON_MAJMIN = "2.4" -- cgit v1.2.3 From 2c0f7bc574df7c15b6876b778589dd472e950c9f Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 10 Oct 2005 12:46:42 +0000 Subject: python 2.4.2: add quopri to python-mimetools --- packages/python/python_2.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/python/python_2.4.2.bb') diff --git a/packages/python/python_2.4.2.bb b/packages/python/python_2.4.2.bb index f29e0dc6d1..34c8fc7ba4 100644 --- a/packages/python/python_2.4.2.bb +++ b/packages/python/python_2.4.2.bb @@ -6,7 +6,7 @@ PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " PROVIDES = "python python-core" DEPENDS = "python-native readline zlib gdbm openssl tcl tk" -PR = "ml1" +PR = "ml2" PYTHON_MAJMIN = "2.4" -- cgit v1.2.3 From d7618f85f9e1a603fa6107ac199b5d1feae102c9 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 19 Oct 2005 10:35:50 +0000 Subject: python: fixed SRC_URI for 2.3.3, 2.3.4, 2.4.0, 2.4.2 versions - fixed #407 - upstream changed source code location --- packages/python/python_2.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/python/python_2.4.2.bb') diff --git a/packages/python/python_2.4.2.bb b/packages/python/python_2.4.2.bb index 34c8fc7ba4..aad93d0d59 100644 --- a/packages/python/python_2.4.2.bb +++ b/packages/python/python_2.4.2.bb @@ -10,7 +10,7 @@ PR = "ml2" PYTHON_MAJMIN = "2.4" -SRC_URI = "ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \ +SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ file://bindir-libdir.patch;patch=1 \ file://crosscompile.patch;patch=1 \ file://fix-tkinter-detection.patch;patch=1" -- cgit v1.2.3