aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-twisted/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-twisted/APKBUILD')
-rw-r--r--community/py3-twisted/APKBUILD27
1 files changed, 22 insertions, 5 deletions
diff --git a/community/py3-twisted/APKBUILD b/community/py3-twisted/APKBUILD
index 7eee51e943..6b24422414 100644
--- a/community/py3-twisted/APKBUILD
+++ b/community/py3-twisted/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-twisted
_pkgname=Twisted
-pkgver=19.10.0
+pkgver=20.3.0
pkgrel=0
pkgdesc="Asynchronous networking framework written in Python3"
url="http://twistedmatrix.com/"
@@ -15,13 +15,28 @@ subpackages="$pkgname-doc"
source="https://twistedmatrix.com/Releases/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2
remove-locale-dependent-tests.patch
disable-failing-test.patch
- fix-test-suite-python38.patch
+ disable-test-missing-ckeygen.patch
+ disable-errored-tests.patch
"
builddir="$srcdir"/"$_pkgname"-$pkgver
replaces="py-twisted" # Backwards compatibility
provides="py-twisted=$pkgver-r$pkgrel" # Backwards compatibility
+# secfixes:
+# 20.3.0-r0:
+# - CVE-2020-10108
+# - CVE-2020-10109
+# 19.10.0-r0:
+# - CVE-2019-9512
+# - CVE-2019-9514
+# - CVE-2019-9515
+# 19.7.0-r0:
+# - CVE-2019-12387
+# - CVE-2019-12855
+# 16.4.0-r0:
+# - CVE-2016-1000111
+
prepare() {
default_prepare
# Remove tests that always fail due to our not-upstream testing procedure
@@ -42,6 +57,7 @@ check() {
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
+ rm -rf "$pkgdir"/usr/lib/python3*/site-packages/twisted/test
_mans="pyhtmlizer.1 trial.1 twistd.1"
for _man in $_mans; do
@@ -55,7 +71,8 @@ doc() {
default_doc
}
-sha512sums="de8d7fd0b2081cebeff68b060c8469377011648bc563a94a993d3530fb007ed42c3a54925c9a10c465ee7a3065cc9108ace12d10d358223fab13494becb9ac4b Twisted-19.10.0.tar.bz2
+sha512sums="1b850e5fc21a3630ead4c2cc3622c16e78bb3be38ab11d021779b7ce3d3c30acc4e19d79c7791a5fce6c5c6e09c2baa349901dffe952de67dd98eec419846365 Twisted-20.3.0.tar.bz2
b8532d6ad572c7f13cddce35e2aa03d28b7e2b22ace7976e92e617aa26f15ea518f8cbd5efd560f841a585356323815d39257a49b39c9caae505ceff44c4435c remove-locale-dependent-tests.patch
-2bacc91852875fa0b090e0a685204846485b32e3c41a4b0b933c90cf6736ba1a34bd04c3151dae256a1b2046c757985952bb050565b8dcd428199a9f7ddbcfca disable-failing-test.patch
-0e0434c054f711ae4b4d2d29aed8c40f467610b6d0cdbf0525d8255147de30e46298f18df2ed3c2de5719a6c607a12c98ca70b9235fb0c8e64569a313df1b902 fix-test-suite-python38.patch"
+a20bd2e013895adac17334b32e336f7d8b81f6a8f4523c2b76e21bd1cc852f29251ba90f2c93caa89ca4a14b1b9639da7cf54b5effc18b77f5f64430907f9088 disable-failing-test.patch
+faace475ed4a051352fb1f9eee96565df0b592286220698f2e13150a484d2a1e0b7f588b1e3ef08eb4b7604083df3b723a1997353e767e0a56e9dedbb3af45b3 disable-test-missing-ckeygen.patch
+1660a7966ec1936378d623c279a8660822b65356838dbcd411f53215d16bcfe4d39518c3e98dbcea1937b4ab3eabb143a3ced299d6719ae33101074eebda71fc disable-errored-tests.patch"