Files
poky/meta/packages/python/python-native_2.5.1.bb
Richard Purdie af85ce4b4e Remove layout_* variables
Remove layout_* variables and replace them with variables specific to the
different classes. The layout variables were only useful for the native/cross
classes and caused more confusion than they solved. They didn't scale to the
sdk class. It now clear a small set of native/cross variables fulfil the needs.

This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes
sense since we're installing binaries into the locations we're compiling them for.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:24:36 +01:00

33 lines
1014 B
BlitzBasic

DESCRIPTION = "The Python Programming Language"
HOMEPAGE = "http://www.python.org"
LICENSE = "PSF"
DEPENDS = "openssl-native bzip2-full-native sqlite3-native"
SECTION = "devel/python"
PRIORITY = "optional"
PR = "ml6"
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 \
file://catchup-with-swig.patch;patch=1 \
file://fix-staging.patch;patch=1 \
file://enable-ctypes-module.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"
EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS="" STAGING_LIBDIR=${STAGING_LIBDIR} \
STAGING_INCDIR=${STAGING_INCDIR}'
do_stage_append() {
install -m 0755 Parser/pgen ${STAGING_BINDIR_NATIVE}/
}