Patchwork [meta-oe,PATCHv3,2/3] python-twisted: upgrade to version 13.2.0

login
register
mail settings
Submitter Diego Rondini
Date March 27, 2014, 12:10 p.m.
Message ID <d20045321fd1650e15c7f0620138bcc24b27db2a.1395921944.git.diego.ml@zoho.com>
Download mbox | patch
Permalink /patch/69387/
State Accepted, archived
Headers show

Comments

Diego Rondini - March 27, 2014, 12:10 p.m.
Changes:
* upgraded python-twisted to latest upstream
* dropped PR because of PV increase
* updated LICENSE checksum because new contributors have been added to the file
* dropped bin package because resulting package was empty:
  - file _c_urlarg has been removed with this commit:
    https://twistedmatrix.com/trac/changeset/31167/trunk/twisted/protocols
  - file cBanana was not packaged even in previous version, upstream removed it ages ago.
    https://twistedmatrix.com/trac/changeset/19014/trunk/twisted/spread
* the newly introduced zsh completion file has been added to the zsh package

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
---
 ...-twisted_10.2.0.bb => python-twisted_13.2.0.bb} |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-devtools/python/{python-twisted_10.2.0.bb => python-twisted_13.2.0.bb} (94%)

Patch

diff --git a/meta-oe/recipes-devtools/python/python-twisted_10.2.0.bb b/meta-oe/recipes-devtools/python/python-twisted_13.2.0.bb
similarity index 94%
rename from meta-oe/recipes-devtools/python/python-twisted_10.2.0.bb
rename to meta-oe/recipes-devtools/python/python-twisted_13.2.0.bb
index d585bfa..80d64a0 100644
--- a/meta-oe/recipes-devtools/python/python-twisted_10.2.0.bb
+++ b/meta-oe/recipes-devtools/python/python-twisted_13.2.0.bb
@@ -6,12 +6,11 @@  SECTION = "console/network"
 
 #twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL.
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c3159ad36d96a939fcd8f2c2c9b9d08a"
-PR = "r3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5602d7228daf59a16f0f1b2640c46bca"
 
-SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-${PV}.tar.bz2 "
-SRC_URI[md5sum] = "73da62c793269eade8121da336b01ba5"
-SRC_URI[sha256sum] = "562ed61c18aa72da99c23fb19c2c101d178995eb3a78ab3c09560a613e180c84"
+SRC_URI = "https://pypi.python.org/packages/source/T/Twisted/Twisted-${PV}.tar.bz2"
+SRC_URI[md5sum] = "83fe6c0c911cc1602dbffb036be0ba79"
+SRC_URI[sha256sum] = "095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3"
 
 S = "${WORKDIR}/Twisted-${PV}"
 
@@ -26,7 +25,6 @@  PACKAGES += "\
     ${PN}-zsh \
     ${PN}-test \
     ${PN}-protocols \
-    ${PN}-bin \
     ${PN}-conch \
     ${PN}-lore \
     ${PN}-mail \
@@ -42,7 +40,6 @@  PACKAGES += "\
 
 RDEPENDS_${PN} = "python-core python-zopeinterface"
 RDEPENDS_${PN} += "\
-    ${PN}-bin \
     ${PN}-conch \
     ${PN}-lore \
     ${PN}-mail \
@@ -70,11 +67,7 @@  FILES_${PN}-protocols = " \
 FILES_${PN}-zsh = " \
     ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \
     ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \
-"
-
-FILES_${PN}-bin = " \
-    ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \
-    ${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \
+    ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/twisted-completion.zsh \
 "
 
 FILES_${PN}-conch = " \