summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-native_2.7.3.bb
Commit message (Collapse)AuthorAgeFilesLines
* python-native: add python-codecs-native to RPROVIDESPaul Eggleton2013-07-021-1/+1
| | | | | | | | | | | This is now required by python-argparse-native as of OE-Core revision 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c. (From OE-Core rev: e9e03d44d6a402fecdf0d62ff09a1f6af9da10bb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: add nativepython symlinkRoss Burton2013-06-131-0/+6
| | | | | | | | | | | | | | | | Add a symlink to the native Python so that scripts can just invoke "nativepython" and get the right one without needing absolute paths (these often end up too long for the #! parser in the kernel as the buffer is 128 bytes long). The name "nativepython" was chosen to match the existing "nativeperl" which serves the same purpose. (From OE-Core rev: d99dac66e3e121e96c4d8a29aee846d4b8f38622) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: remove the default optimizationRobert Yang2013-05-101-1/+1
| | | | | | | | | | | | | | | | | | | We had hard coded python-native and python's default optimization to 1, which made the "assert" statement didn't work, and removed the "-O/-OO" (optimization options), the target python had a "-N" option to disable the default optimization, but the native python didn't. I think that we can set the environment variable PYTHONOPTIMIZE or use "python -O" if we need to optimize, but I'm not sure whether we need to set it by default, it would confuse the user or cause/hide unexpected problems if the "assert" doesn't work. [YOCTO #4427] (From OE-Core rev: 165ed464bbb9bf985dde9d8c15d000809901fff6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to ↵Richard Purdie2012-11-211-0/+2
| | | | | | | | | | | | find -native files In a small number of cases we need to have ${PN} in FILESPATH rather than ${BPN}. Rather than hurt readability for all other recipes, set FILESPATH in these recipes so we can prune the default. (From OE-Core rev: d61ef6ce86abe5b484a2a2602982f4ded54b3f9a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Resolve intermediate staging issuesRichard Purdie2012-11-181-0/+1
| | | | | | | | | | | | | | | Its bad practise to poke into the sysroot without knowledge of sstate. This adds a patch to python allowing us to account for cross compiling and allow it to find the Makefile/pyconfig.h files without needing them in the sysroot for do_compile/do_install to complete. Tested on two architectures and compared with buildhistory with no significant delta. (From OE-Core rev: 16da4f75a75dc8020803df9ea73a2a7ead88cc5a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2-native: handling native path issueYao Zhao2012-07-281-1/+3
| | | | | | | | | | | | | | | | | | follow Richard's approach, modify bzip2-native recipe to install bzip2 package binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other package is doing upack to reference bzip2. libbz2.so* still installs to STAGING_LIBDIR_NATIVE. change python-native to depends on bzip2-replacement-native instead of bzip2-full-native and add EXTRANATIVEPATH for bzip2-native. Didn't add bzip2native.bbclass as python-native is the only user so far. (From OE-Core rev: 5bf3541836457465aa76577bfb41cdf6316213c9) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Pyphon-native: Fix typoRichard Purdie2012-07-221-1/+1
| | | | | | (From OE-Core rev: da1de01aa74da0f38f07af523a9861824f7b0c95) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: Use append instead of += so the lsb override for EXTRA_OECONF ↵Richard Purdie2012-07-221-1/+1
| | | | | | | | works as expected (From OE-Core rev: 1eae5b6c87cd4f825dba9d2526b34231d33b1e92) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: Put binaries in seperate directoryMorgan Little2012-07-221-4/+6
| | | | | | | | | | | Update python-native to install the binaries in the python-native directory, add pythonnative.bbclass to let recipes that need python-native use the binaries and update disutils access the new binaries. Update distutils-base to inherit pythonnative. (From OE-Core rev: a2e554f731437545e9483a7a73e6847c03f6f48a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: upgrade from 2.7.2 to 2.7.3Nitin A Kamble2012-05-031-0/+44
bin/python2 link is provided by the python install process, so no need to create it. rebase these patches to the newer code: fix_for_using_different_libdir.patch 04-default-is-optimized.patch remove this patch as it is upstream now: sys_platform_is_now_always_linux2.patch Change default python version to 2.7.3 in the distro config (From OE-Core rev: 5d92a95ea9b480235b7c9ca5949a681376eba725) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>