Skip to contentSkip to conversation

Python web recipe fixes

PATCH In review Paul Eggleton 2 participants 11 messages Jan 6, 2014

lore
Share & tools
lore
#0 lore raw

cover Python web recipe fixes

I made use of these recipes outside of the context of OpenStack; here are some patches for issues I noticed.

The following changes since commit 93d2434e1ae3d7d0fc568005c2ec82846e31cba0:

Revert "horizon: update to 2013.2.2" (2013-12-20 11:25:59 -0500)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/mcs-python-fixes
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/mcs-python-fixes

Paul Eggleton (9):
python-flask: correct LICENSE
python-itsdangerous: correct LICENSE
python-jinja2: correct LICENSE
python-markupsafe: make LICENSE more accurate
python-werkzeug: correct LICENSE
python-itsdangerous: add missing python module dependencies
python-jinja2: add missing python module dependencies
python-markupsafe: add missing python module dependencies
python-werkzeug: add missing python module dependencies

 meta-openstack/recipes-devtools/python/python-flask_0.10.1.bb      | 2 +-
 meta-openstack/recipes-devtools/python/python-itsdangerous_0.23.bb | 5 ++++-
 meta-openstack/recipes-devtools/python/python-jinja2_2.7.1.bb      | 4 +++-
 meta-openstack/recipes-devtools/python/python-markupsafe_0.18.bb   | 5 ++++-
 meta-openstack/recipes-devtools/python/python-werkzeug_0.9.4.bb    | 5 ++++-
 5 files changed, 16 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/9 python-flask: correct LICENSE

BSD-3-Clause is the license specified upstream.

---
 meta-openstack/recipes-devtools/python/python-flask_0.10.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-flask_0.10.1.bb +1 -1
index f5abd2f..e07c3a2 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "A microframework based on Werkzeug, Jinja2 and good intentions"
 HOMEPAGE = "https://pypi.python.org/pypi/Flask/"
 SECTION = "devel/python"
-LICENSE = "Apache-2.0"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=79aa8b7bc4f781210d6b5c06d6424cb0"
 
 PR = "r0"
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/9 python-itsdangerous: correct LICENSE

In reply to Paul Eggleton

BSD-3-Clause is the license specified upstream.

---
 meta-openstack/recipes-devtools/python/python-itsdangerous_0.23.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-itsdangerous_0.23.bb +1 -1
index 55c7be9..15f08cd 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Various helpers to pass trusted data to untrusted environments and back"
 HOMEPAGE = "https://pypi.python.org/pypi/itsdangerous/"
 SECTION = "devel/python"
-LICENSE = "Apache-2.0"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b61841e2bf5f07884148e2a6f1bcab0c"
 
 PR = "r0"
Signature · 1 line
1.8.1.2
#3 lore raw

PATCH 3/9 python-jinja2: correct LICENSE

In reply to Paul Eggleton

BSD-3-Clause is the license specified upstream.

---
 meta-openstack/recipes-devtools/python/python-jinja2_2.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-jinja2_2.7.1.bb +1 -1
index 091367f..4af17cb 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
 HOMEPAGE = "https://pypi.python.org/pypi/Jinja2"
 SECTION = "devel/python"
-LICENSE = "Apache-2.0"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20c831f91dd3bd486020f672ba2be386"
 
 PR = "r0"
Signature · 1 line
1.8.1.2
#4 lore raw

PATCH 4/9 python-markupsafe: make LICENSE more accurate

In reply to Paul Eggleton
---
 meta-openstack/recipes-devtools/python/python-markupsafe_0.18.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-markupsafe_0.18.bb +1 -1
index 1e5748c..adebb46 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python"
 HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
 SECTION = "devel/python"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c6d1adcf45d69359f256c1cea3254127"
 
 PR = "r0"
Signature · 1 line
1.8.1.2
#5 lore raw

PATCH 5/9 python-werkzeug: correct LICENSE

In reply to Paul Eggleton

BSD-3-Clause is the license specified upstream.

---
 meta-openstack/recipes-devtools/python/python-werkzeug_0.9.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-werkzeug_0.9.4.bb +1 -1
index 2aaff9a..c550ad0 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "The Swiss Army knife of Python web development"
 HOMEPAGE = "https://pypi.python.org/pypi/Werkzeug/"
 SECTION = "devel/python"
-LICENSE = "Apache-2.0"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ad2e600a437b1b03d25b02df8c23ad1c"
 
 PR = "r0"
Signature · 1 line
1.8.1.2
#6 lore raw

PATCH 6/9 python-itsdangerous: add missing python module dependencies

In reply to Paul Eggleton
---
 meta-openstack/recipes-devtools/python/python-itsdangerous_0.23.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-openstack/recipes-devtools/python/python-itsdangerous_0.23.bb +3 -0
index 15f08cd..8dbe48f 100644
@@ -15,3 +15,6 @@ SRC_URI[sha256sum] = "71c0bf6bde4dcc93d838415e728a961a7b16f324b8ae182525fbdadde9
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
+
+RDEPENDS_${PN} += "python-json python-netclient python-zlib python-datetime python-lang python-crypt"
+
Signature · 1 line
1.8.1.2
#7 lore raw

PATCH 7/9 python-jinja2: add missing python module dependencies

In reply to Paul Eggleton
---
 meta-openstack/recipes-devtools/python/python-jinja2_2.7.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-openstack/recipes-devtools/python/python-jinja2_2.7.1.bb +2 -0
index 4af17cb..878ca22 100644
@@ -15,3 +15,5 @@ SRC_URI[sha256sum] = "5cc0a087a81dca1c08368482fb7a92fe2bdd8cfbb22bc0fccfe6c85aff
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
+
+RDEPENDS_${PN} += "python-io python-pickle python-crypt python-math python-netclient python-re python-textutils python-lang python-pprint python-shell python-markupsafe"
Signature · 1 line
1.8.1.2
#8 lore raw

PATCH 8/9 python-markupsafe: add missing python module dependencies

In reply to Paul Eggleton
---
 meta-openstack/recipes-devtools/python/python-markupsafe_0.18.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-openstack/recipes-devtools/python/python-markupsafe_0.18.bb +3 -0
index adebb46..fc14a51 100644
@@ -15,3 +15,6 @@ SRC_URI[sha256sum] = "b7d5d688bdd345bfa897777d297756688cf02e1b3742c56885e2e5c2b9
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
+
+RDEPENDS_${PN} += "python-re"
+
Signature · 1 line
1.8.1.2
#9 lore raw

PATCH 9/9 python-werkzeug: add missing python module dependencies

In reply to Paul Eggleton
---
 meta-openstack/recipes-devtools/python/python-werkzeug_0.9.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-openstack/recipes-devtools/python/python-werkzeug_0.9.4.bb +3 -0
index c550ad0..2d160b9 100644
@@ -15,3 +15,6 @@ SRC_URI[sha256sum] = "c1baf7a3e8be70f34d931ee173283f406877bd3d17f372bbe82318a5b3
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
+
+RDEPENDS_${PN} += "python-io python-datetime python-email python-zlib python-pkgutil python-html python-shell python-pprint python-subprocess python-netserver"
+
Signature · 1 line
1.8.1.2
#10 lore raw
In reply to Paul Eggleton
Quoted 2 lines · Paul Eggleton

I made use of these recipes outside of the context of OpenStack; here are some patches for issues I noticed.

Thanks Paul. I merged the whole series.

There are *MANY* more issues like this, and while I have plans to loop around and do cleanups .. I'm not sure how long it'll take. So if you are ever wandering
by and see more crimes, I'm happy to have them pointed out.

Cheers,

Bruce

Quoted 36 lines

The following changes since commit 93d2434e1ae3d7d0fc568005c2ec82846e31cba0:

Revert "horizon: update to 2013.2.2" (2013-12-20 11:25:59 -0500)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/mcs-python-fixes
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/mcs-python-fixes

Paul Eggleton (9):
python-flask: correct LICENSE
python-itsdangerous: correct LICENSE
python-jinja2: correct LICENSE
python-markupsafe: make LICENSE more accurate
python-werkzeug: correct LICENSE
python-itsdangerous: add missing python module dependencies
python-jinja2: add missing python module dependencies
python-markupsafe: add missing python module dependencies
python-werkzeug: add missing python module dependencies

 meta-openstack/recipes-devtools/python/python-flask_0.10.1.bb      | 2 +-
 meta-openstack/recipes-devtools/python/python-itsdangerous_0.23.bb | 5 ++++-
 meta-openstack/recipes-devtools/python/python-jinja2_2.7.1.bb      | 4 +++-
 meta-openstack/recipes-devtools/python/python-markupsafe_0.18.bb   | 5 ++++-
 meta-openstack/recipes-devtools/python/python-werkzeug_0.9.4.bb    | 5 ++++-
 5 files changed, 16 insertions(+), 5 deletions(-)

--
1.8.1.2

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"