mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 09:16:36 +01:00
python: update to 2.5.1 from OE (without tcl/tk deps)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3176 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
34
meta-extras/packages/python/python-native_2.5.1.bb
Normal file
34
meta-extras/packages/python/python-native_2.5.1.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "The Python Programming Language"
|
||||
HOMEPAGE = "http://www.python.org"
|
||||
LICENSE = "PSF"
|
||||
SECTION = "devel/python"
|
||||
PRIORITY = "optional"
|
||||
DEPENDS = ""
|
||||
PR = "ml1"
|
||||
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
|
||||
file://bindir-libdir.patch;patch=1 \
|
||||
file://cross-distutils.patch;patch=1 \
|
||||
file://dont-modify-shebang-line.patch;patch=1 \
|
||||
file://default-is-optimized.patch;patch=1"
|
||||
S = "${WORKDIR}/Python-${PV}"
|
||||
|
||||
inherit autotools native
|
||||
|
||||
prefix = "${STAGING_DIR_NATIVE}/${layout_prefix}"
|
||||
exec_prefix = "${STAGING_DIR_NATIVE}/${layout_exec_prefix}"
|
||||
|
||||
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 -m 0755 Parser/pgen ${STAGING_BINDIR_NATIVE}/
|
||||
}
|
||||
Reference in New Issue
Block a user