summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* openvswitch: fix build host contaminationMark Asselstine2017-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | There is only a single PYTHON variable for configure and yet python is used for the build as well as scripts installed on the target. If we set a path in PYTHON as we had we end up using this same path during the build and since it isn't to the sysroot we end up with host contamination (as demonstrated by python failing to import 'six' on build hosts without python-six installed. The best approach is to set PYTHON to "python" when calling configure, ie. without a path. This will use 'python' from the path during build time and by ensuring all the installed scripts use '/usr/bin/env' we can ensure python will be found on the target when the scripts are run. Since 'six' is used as part of the build we have to ensure it is -native'ly buildable and we set all the required build and runtime dependencies. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-m2crypto: Fix issue with swig 3.0.5Jackie Huang2016-04-052-1/+161
| | | | | | | | | | | | | The version 0.22.3 of python-m2crypto fails to work after swig updated to 3.0.5+: AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN' It's fixed since 0.22.4 and we could update it to latest version, but docker-registry depends on the version 0.22.3, so backport the patch to fix the issue with swig 3.0.5. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-six: uprev to latestMark Asselstine2016-02-092-8/+6
| | | | | | | The openstack layer requires a version of six >= 1.9.0 Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappend: switch to use a wildcard beyond major versionMark Asselstine2015-09-081-0/+0
| | | | | | | | | | | | Using a wildcard will simplify things when using meta-virtualization against different yocto or oe branches and prevent having to make future updates to keep in step with package uprevs. The changes found within these bbappend tend to be generic and non-version specific, thus safe for 'porting' via wildcard. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy upgrade 0.9.7->1.0.8Lei Maohui2015-08-051-3/+3
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sphinx: upgrade 1.2b1 -> 1.3.1Lei Maohui2015-08-051-3/+3
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-simplejson: upgrade 3.6.2->3.7.3Lei Maohui2015-07-311-2/+2
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webob: upgrade 1.2.3 -> 1.4.1Lei Maohui2015-07-311-2/+2
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-werkzeug: upgrade 0.9.4->0.10.4Lei Maohui2015-07-311-3/+3
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-gevent: Fix cross compile for ARMJason Wessel2015-06-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | The lack of a proper ability to regenerate configure causes the cross compile detect logic to fail (shown below). It is easiest to just force the cross compile option at configure time. | configure: error: in `/opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev': | configure: error: cannot run C compiled programs. | If you meant to cross compile, use `--host'. | See `config.log' for more details | Running '/bin/sh /opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/libev/configure > configure-output.txt' in /opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev | building 'gevent.core' extension | creating build/temp.linux-x86_64-2.7/gevent | ccache arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -marm -mthumb-interwork -mtune=cortex-a7 --sysroot=/opt/buildtmp/sysroots/fsl-ls10xx -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -Ilibev -I/opt/buildtmp/sysroots/fsl-ls10xx/usr/include/python2.7 -c gevent/gevent.core.c -o build/temp.linux-x86_64-2.7/gevent/gevent.core.o | In file included from gevent/libev.h:2:0, | from gevent/gevent.core.c:313: | libev/ev.c:45:22: fatal error: config.h: No such file or directory | # include "config.h" | ^ | compilation terminated. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-simplejson: inherit setuptools instead of distutilsfidoJackie Huang2015-05-131-1/+1
| | | | | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* gevent: allow ssl v2 or v3 certificatesBruce Ashfield2015-03-302-0/+30
| | | | | | | Work around an issue with python 2.7 not always having SSLv3 available by allowing v2 or v3 certificates. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: Add dependencies for docker and docker-registryAmy Fong2015-03-177-0/+147
| | | | | | | | | | | | | | | | | | These are a set of dependencies required to build and run docker and docker-registry which had previously existed in meta-cloud-services. By moving these from meta-cloud-services to meta-virtualization we can build and use docker without needing to include meta-cloud-services. Since meta-cloud-services depends on meta-virtualization these recipes will still be available for use with packages/images in meta-cloud-services. There is a concern that meta-cloud-services contains many python packages as there exists tight dependency for specific package versions, this move does not prevent this tight binding from continuing using various mechanisms made available to layers. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Add python packages needed for docker-registryAmy Fong2015-03-1716-0/+428
| | | | Signed-off-by: Amy Fong <amy.fong@windriver.com>
* python: drop cross build patchPaul Gortmaker2015-02-251-138/+0
| | | | | | | | This is the old 2.7.2 version and it will be found when the 2.7.9 version goes looking for the patch of the same name, causing do_patch() to fail. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* python: update bbappend to match oe-core masterBruce Ashfield2015-02-241-0/+0
| | | | | | | It is questionable if we need this at all anymore (we probably don't), but for now, there's no reason to not match the versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python: replace FILESPATH with FILESEXTRAPATHS_prependBruce Ashfield2013-08-211-2/+1
| | | | | | | | | | redefining THISDIR and using FILESPATH is no longer required in a "modern" bbappend, and in fact breaks other layers that also patch python. Removing THISDIR and using FILESEXTRAPATHS_prepend fixes both issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python: Add ncurses support. Requires cross-compile patch for library search.Raymond Danks2012-06-212-0/+147
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>