Import Python Modules for Toaster
cover Import Python Modules for Toaster
These 4 python modules are needed by toaster, since we want to have a complete environment, we need add these python modules to oe-core so that toaster can run.
Sau!
The following changes since commit 219e793907406eabf632e784e3a11ab9acb77cfb:
qemu/libc-package: Fix qemu option handling (2014-12-05 17:59:42 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/pymodules
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/pymodules
Saul Wold (4):
python-pip: Add version 1.5.6
python-wsgiref: Add new Version 0.1.2
python-south: Add new version 1.0.1
python-django: Add new version 1.7.1
.../recipes-devtools/python/python-django_1.7.1.bb | 21 ++++++++++++++++++ meta/recipes-devtools/python/python-pip_1.5.6.bb | 15 +++++++++++++ meta/recipes-devtools/python/python-south_1.0.1.bb | 19 ++++++++++++++++ .../python/python-wsgiref_0.1.2.bb | 25 ++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 meta/recipes-devtools/python/python-django_1.7.1.bb create mode 100644 meta/recipes-devtools/python/python-pip_1.5.6.bb create mode 100644 meta/recipes-devtools/python/python-south_1.0.1.bb create mode 100644 meta/recipes-devtools/python/python-wsgiref_0.1.2.bb
Signature · 1 line
1.8.3.1
PATCH 1/4 python-pip: Add version 1.5.6
Imported from meta-python
--- meta/recipes-devtools/python/python-pip_1.5.6.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-devtools/python/python-pip_1.5.6.bb
meta/recipes-devtools/python/python-pip_1.5.6.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "PIP is a tool for installing and managing Python packages" +LICENSE = "MIT & LGPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=45665b53032c02b35e29ddab8e61fa91" + +SRC_URI = "https://pypi.python.org/packages/source/p/pip/pip-${PV}.tar.gz" + +SRC_URI[md5sum] = "01026f87978932060cc86c1dc527903e" +SRC_URI[sha256sum] = "b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" + +S = "${WORKDIR}/pip-${PV}" + +inherit setuptools + +# Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works +RDEPENDS_${PN} = "python-modules"
Signature · 1 line
1.8.3.1
PATCH 2/4 python-wsgiref: Add new Version 0.1.2
In reply to Saul WoldImported from meta-openstack
--- .../python/python-wsgiref_0.1.2.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-devtools/python/python-wsgiref_0.1.2.bb
meta/recipes-devtools/python/python-wsgiref_0.1.2.bb new file +25 -0
@@ -0,0 +1,25 @@ +DESCRIPTION = "WSGI (PEP 333) Reference Library" +HOMEPAGE = "http://cheeseshop.python.org/pypi/wsgiref" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=fe761dfec1d54629c6b9a3bbc7b1baf5" + +SRCNAME = "wsgiref" +SRC_URI = "http://pypi.python.org/packages/source/w/${SRCNAME}/${SRCNAME}-${PV}.zip" + +SRC_URI[md5sum] = "29b146e6ebd0f9fb119fe321f7bcf6cb" +SRC_URI[sha256sum] = "c7e610c800957046c04c8014aab8cce8f0b9f0495c8cd349e57c1f7cabf40e79" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +# DEPENDS_default: python-pip + +DEPENDS += " \ + python-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + "
Signature · 1 line
1.8.3.1
PATCH 3/4 python-south: Add new version 1.0.1
In reply to Saul Wold--- meta/recipes-devtools/python/python-south_1.0.1.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-devtools/python/python-south_1.0.1.bb
meta/recipes-devtools/python/python-south_1.0.1.bb new file +19 -0
@@ -0,0 +1,19 @@ + +SUMMARY = "Migrations for Django" +DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features." +HOMEPAGE = "http://south.aeracode.org/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e" + +SRCNAME = "South" + +SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" + +SRC_URI[md5sum] = "9977423e4c4f7ca9345f1428a0a57505" +SRC_URI[sha256sum] = "1ce97c634107df324eb2fd53cd904d7c04fc8cc6a8fe0800e5f85345b0c75ad3" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils +
Signature · 1 line
1.8.3.1
PATCH 4/4 python-django: Add new version 1.7.1
In reply to Saul WoldImported from meta-openstack
--- meta/recipes-devtools/python/python-django_1.7.1.bb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-devtools/python/python-django_1.7.1.bb
meta/recipes-devtools/python/python-django_1.7.1.bb new file +21 -0
@@ -0,0 +1,21 @@ +DESCRIPTION = "A high-level Python Web framework" +HOMEPAGE = "http://www.djangoproject.com/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" + +PR = "r1" +SRCNAME = "Django" + +SRC_URI = "https://pypi.python.org/packages/source/D/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ +" + +SRC_URI[md5sum] = "81dae89f21647b9aa5c46c6b7dbfa349" +SRC_URI[sha256sum] = "3de62e71ce2cfbcdecb6e344cad04948506c8410ea5c6eab15c8f3b31b8ac1c0" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +FILES_${PN} += "${datadir}/django/*" +
Signature · 1 line
1.8.3.1
Quoted 5 lines · Saul Wold
These 4 python modules are needed by toaster, since we want to have a complete environment, we need add these python modules to oe-core so that toaster can run.
I'm not very comfortable with pulling pieces from meta-python or meta-openstack and merging them into oe-core just for running Toaster on Poky. I think a better solution would be to ensure that meta-python has everything required and then if we want to continue with the one-repo model for Poky use combo-layer to copy the relevant recipes from meta-python into poky.
Ross