diff options
author | Derek Straka <derek@asterius.io> | 2017-09-19 14:17:45 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-22 22:50:46 +0000 |
commit | 60d327c66570b770a18cd1b06526693241170a56 (patch) | |
tree | 9ca1ee8077fb4ce00197498b986635454eb08257 /meta-python | |
parent | 0c4f3a3d8cf6caf7f9fd67e465e1e25ab8dcda40 (diff) | |
download | meta-openembedded-60d327c66570b770a18cd1b06526693241170a56.tar.gz |
python-twisted: update version to 17.5.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-twisted.inc | 15 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python-twisted_17.5.0.bb (renamed from meta-python/recipes-devtools/python/python-twisted_13.2.0.bb) | 0 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch | 76 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-twisted_17.5.0.bb (renamed from meta-python/recipes-devtools/python/python3-twisted_13.2.0.bb) | 3 |
4 files changed, 12 insertions, 82 deletions
diff --git a/meta-python/recipes-devtools/python/python-twisted.inc b/meta-python/recipes-devtools/python/python-twisted.inc index d734e03b3..bdb3c604e 100644 --- a/meta-python/recipes-devtools/python/python-twisted.inc +++ b/meta-python/recipes-devtools/python/python-twisted.inc | |||
@@ -5,10 +5,10 @@ HOMEPAGE = "http://www.twistedmatrix.com" | |||
5 | 5 | ||
6 | #twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. | 6 | #twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5602d7228daf59a16f0f1b2640c46bca" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8a9c2fbfcba7d70504e3ba545e1820ed" |
9 | 9 | ||
10 | SRC_URI[md5sum] = "83fe6c0c911cc1602dbffb036be0ba79" | 10 | SRC_URI[md5sum] = "cd5c287802dcbaf7be15cf937c922b71" |
11 | SRC_URI[sha256sum] = "095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3" | 11 | SRC_URI[sha256sum] = "f198a494f0df2482f7c5f99d7f3eef33d22763ffc76641b36fec476b878002ea" |
12 | 12 | ||
13 | PYPI_PACKAGE = "Twisted" | 13 | PYPI_PACKAGE = "Twisted" |
14 | PYPI_PACKAGE_EXT = "tar.bz2" | 14 | PYPI_PACKAGE_EXT = "tar.bz2" |
@@ -72,12 +72,14 @@ FILES_${PN} = "" | |||
72 | FILES_${PN}-test = " \ | 72 | FILES_${PN}-test = " \ |
73 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ | 73 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ |
74 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ | 74 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ |
75 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/haproxy/test/ \ | ||
75 | " | 76 | " |
76 | 77 | ||
77 | FILES_${PN}-protocols = " \ | 78 | FILES_${PN}-protocols = " \ |
78 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/*.py* \ | 79 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/*.py* \ |
79 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/gps/ \ | 80 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/gps/ \ |
80 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/mice/ \ | 81 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/mice/ \ |
82 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/haproxy \ | ||
81 | " | 83 | " |
82 | 84 | ||
83 | FILES_${PN}-zsh = " \ | 85 | FILES_${PN}-zsh = " \ |
@@ -180,6 +182,9 @@ ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.py* \ | |||
180 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/*.py* \ | 182 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/*.py* \ |
181 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/topfiles \ | 183 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/topfiles \ |
182 | ${libdir}/${PYTHON_DIR}/site-packages/Twisted*egg-info \ | 184 | ${libdir}/${PYTHON_DIR}/site-packages/Twisted*egg-info \ |
185 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/logger/ \ | ||
186 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/_threads/ \ | ||
187 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/positioning/ \ | ||
183 | " | 188 | " |
184 | 189 | ||
185 | FILES_${PN}-lore = " \ | 190 | FILES_${PN}-lore = " \ |
@@ -236,6 +241,10 @@ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \ | |||
236 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ | 241 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ |
237 | " | 242 | " |
238 | 243 | ||
244 | FILES_${PN}-doc += " \ | ||
245 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_pydoctortemplates/ \ | ||
246 | " | ||
247 | |||
239 | RDEPENDS_{PN}-src = "${PN}" | 248 | RDEPENDS_{PN}-src = "${PN}" |
240 | FILES_${PN}-src = " \ | 249 | FILES_${PN}-src = " \ |
241 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py \ | 250 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py \ |
diff --git a/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb b/meta-python/recipes-devtools/python/python-twisted_17.5.0.bb index 3b4511077..3b4511077 100644 --- a/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb +++ b/meta-python/recipes-devtools/python/python-twisted_17.5.0.bb | |||
diff --git a/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch b/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch deleted file mode 100644 index d4cf34554..000000000 --- a/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | From 890d039f067d52a0ab77b561d40da13f0c135634 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 3 Aug 2017 11:24:43 -0700 | ||
4 | Subject: [PATCH] initsendmsg: Return NULL on error | ||
5 | |||
6 | Fixes a clang error | ||
7 | |||
8 | sendmsg.c:129:9: error: non-void function 'initsendmsg' should return a value [-Wreturn-type] | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | twisted/python/sendmsg.c | 14 +++++++------- | ||
13 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
14 | |||
15 | diff --git a/twisted/python/sendmsg.c b/twisted/python/sendmsg.c | ||
16 | index 9f2fd8c..9c080e1 100644 | ||
17 | --- a/twisted/python/sendmsg.c | ||
18 | +++ b/twisted/python/sendmsg.c | ||
19 | @@ -126,7 +126,7 @@ PyMODINIT_FUNC initsendmsg(void) { | ||
20 | module = Py_InitModule3("sendmsg", sendmsg_methods, sendmsg_doc); | ||
21 | |||
22 | if (!module) { | ||
23 | - return; | ||
24 | + return NULL; | ||
25 | } | ||
26 | |||
27 | /* | ||
28 | @@ -135,39 +135,39 @@ PyMODINIT_FUNC initsendmsg(void) { | ||
29 | */ | ||
30 | |||
31 | if (-1 == PyModule_AddIntConstant(module, "SCM_RIGHTS", SCM_RIGHTS)) { | ||
32 | - return; | ||
33 | + return NULL; | ||
34 | } | ||
35 | |||
36 | |||
37 | /* BSD, Darwin, Hurd */ | ||
38 | #if defined(SCM_CREDS) | ||
39 | if (-1 == PyModule_AddIntConstant(module, "SCM_CREDS", SCM_CREDS)) { | ||
40 | - return; | ||
41 | + return NULL; | ||
42 | } | ||
43 | #endif | ||
44 | |||
45 | /* Linux */ | ||
46 | #if defined(SCM_CREDENTIALS) | ||
47 | if (-1 == PyModule_AddIntConstant(module, "SCM_CREDENTIALS", SCM_CREDENTIALS)) { | ||
48 | - return; | ||
49 | + return NULL; | ||
50 | } | ||
51 | #endif | ||
52 | |||
53 | /* Apparently everywhere, but not standardized. */ | ||
54 | #if defined(SCM_TIMESTAMP) | ||
55 | if (-1 == PyModule_AddIntConstant(module, "SCM_TIMESTAMP", SCM_TIMESTAMP)) { | ||
56 | - return; | ||
57 | + return NULL; | ||
58 | } | ||
59 | #endif | ||
60 | |||
61 | module = PyImport_ImportModule("socket"); | ||
62 | if (!module) { | ||
63 | - return; | ||
64 | + return NULL; | ||
65 | } | ||
66 | |||
67 | sendmsg_socket_error = PyObject_GetAttrString(module, "error"); | ||
68 | if (!sendmsg_socket_error) { | ||
69 | - return; | ||
70 | + return NULL; | ||
71 | } | ||
72 | } | ||
73 | |||
74 | -- | ||
75 | 2.13.4 | ||
76 | |||
diff --git a/meta-python/recipes-devtools/python/python3-twisted_13.2.0.bb b/meta-python/recipes-devtools/python/python3-twisted_17.5.0.bb index 57406cd52..98016cca3 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_13.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_17.5.0.bb | |||
@@ -1,9 +1,6 @@ | |||
1 | inherit pypi setuptools3 | 1 | inherit pypi setuptools3 |
2 | require python-twisted.inc | 2 | require python-twisted.inc |
3 | 3 | ||
4 | SRC_URI += "file://0001-initsendmsg-Return-NULL-on-error.patch \ | ||
5 | " | ||
6 | |||
7 | RDEPENDS_${PN}-core = "python3-core python3-zopeinterface python3-lang" | 4 | RDEPENDS_${PN}-core = "python3-core python3-zopeinterface python3-lang" |
8 | 5 | ||
9 | FILES_${PN}-core_append += " \ | 6 | FILES_${PN}-core_append += " \ |