summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* gunicorn: replace PN with BPN, to solve fetch failure while building for ↵Jagadeesh Krishnanjanappa2018-03-081-1/+1
| | | | | | | | | | | | | | | | | multilib The multilib gunicorn (for example lib32-gunicorn) fetch fails with below error: -- snip -- --2018-03-07 16:52:09-- https://pypi.python.org/packages/source/g/gunicorn/lib32-gunicorn-19.1.1.tar.gz Resolving pypi.python.org... 151.101.0.223, 151.101.64.223, 151.101.128.223, ... Connecting to pypi.python.org|151.101.0.223|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2018-03-07 16:52:09 ERROR 404: Not Found. -- snip -- Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-twisted: drop recipeMark Asselstine2018-01-182-311/+0
| | | | | | | | | | Per the original commit this was only included as a temporary measure until the recipe was available in meta-openembedded. At this point the meta-openembedded recipe is not only available but has been uprev'd several times making it more suitable than the recipe we are now deleting here. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* python3-websocket-client: make py2 version availableMark Asselstine2017-12-283-11/+15
| | | | | | | | Allow a py2 version of the python-websocket-client package to be built. This is required to support updates in meta-cloud-services. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python3-dockerpty: fix license-checksum qa issueAbdur Rehman2017-11-151-1/+1
| | | | | | | Fix license path and checksum for python3-dockerpty. Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-*: switch remaining pypi recipes to use the pypi classMark Asselstine2017-11-153-19/+8
| | | | | | | | | | | | | | Cleanup the various python-* recipes which download from pypi. The biggest change is to "inherit pypi" which should result in us always using current pypi best practices. This will for example ensure we are using https and not http which is apparently going to be disabled soon. Where the default behavior in the pypi class wasn't sufficient we make use of the PYPI_* variables to overwrite the defaults. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webob: uprev to v1.7.3Mark Asselstine2017-11-072-23/+18
| | | | | | | | | | The only user in meta-virtualization is python-bugsnag and there is no version dependency. This new version is however required by the latest openstack. Switched to using the "common" pypi.bbclass while we are at it. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python3-docker: add missing RDEPENDSRicardo Salveti2017-10-171-0/+6
| | | | | | | | | Add python3-docker-pycreds, python3-requests and python3-websocket-client to RDEPENDS for a functional python docker module (otherwise even import docker fails). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python3-docker-compose: add version 1.16.1 + dependenciesPascal Bach2017-09-159-0/+78
| | | | | | | | | This requires some packages as well as the pypi.bbclass from meta-python. It uses Python 3 as I don't think it makes sense to use Python 2 anymore. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-itsdangerous: Drop recipeAdrian Dudau2017-08-141-22/+0
| | | | | | | | Same version of the recipe is maintained in meta-python, no need to keep a duplicate here. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-simplejson: Drop recipeAdrian Dudau2017-08-141-31/+0
| | | | | | | | | Newer version of the recipe (v3.11.1) is already maintained in meta-python and I couldn't find any hard dependencies on the current version. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-six: Drop recipeAdrian Dudau2017-08-031-19/+0
| | | | | | | Same recipe is maintained in oe-core, no need to keep a duplicate here. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-requests: Drop recipeAdrian Dudau2017-07-101-28/+0
| | | | | | | | | There's a newer recipe (v2.13) maintained in meta-python. meta-openstack explicitly prefers that version over this one, so no point in keeping this recipe since nobody else is using this version. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python3-twisted: temporarily add recipeMark Asselstine2017-06-222-0/+311
| | | | | | | | | This will eventually be available in meta-openembedded so will be able to be reverted. This will allow us to use openvswitch with python3 in the interim. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy: uprev to latest in 1.0.x seriesMark Asselstine2017-01-201-4/+4
| | | | | | | | | | | | | | According to the changelog at (http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html) this is mostly bug fixes. We need a version >= 1.0.10 to properly support the python-oslo.db uprev to stable/newton in meta-cloud-services. NOTE the license checksum has changed do to content change, not because the package license has changed, it is still MIT. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy: Add 1.1.5Huang Qiyu2017-01-201-0/+16
| | | | | | | | | 1) Copy the v1.0.9 bb to create python-sqlalchemy v1.1.5. 2) License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy: 1.0.8 -> 1.0.9Huang Qiyu2017-01-171-2/+2
| | | | | | | Upgrade python-sqlalchemy from 1.0.8 to 1.0.9. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sphinx: 1.3.1 -> 1.4.1Huang Qiyu2017-01-141-3/+3
| | | | | | | | 1) Upgrade python-sphinx from 1.3.1 to 1.4.1 2) License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webob 1.4.1 -> 1.6.0Huang Qiyu2017-01-141-2/+2
| | | | | | | Upgrade python-webob from 1.4.1 to 1.6.0. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>