pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/matrix-synapse chat/matrix-synapse: Patch out py-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a4a2939d3cc
branches:  trunk
changeset: 451585:7a4a2939d3cc
user:      js <js%pkgsrc.org@localhost>
date:      Wed Apr 28 23:44:56 2021 +0000

description:
chat/matrix-synapse: Patch out py-cryptography check

It doesn't need a version this high (which would require Rust) and it was added
by upstream as an ugly hack to force a patched OpenSSL, in case it is linked
statically.

diffstat:

 chat/matrix-synapse/Makefile                                     |   3 +-
 chat/matrix-synapse/distinfo                                     |   3 +-
 chat/matrix-synapse/patches/patch-synapse_python_dependencies.py |  18 ++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r aca672e10961 -r 7a4a2939d3cc chat/matrix-synapse/Makefile
--- a/chat/matrix-synapse/Makefile      Wed Apr 28 23:12:31 2021 +0000
+++ b/chat/matrix-synapse/Makefile      Wed Apr 28 23:44:56 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2021/04/28 21:25:57 js Exp $
+# $NetBSD: Makefile,v 1.22 2021/04/28 23:44:56 js Exp $
 
 DISTNAME=      matrix-synapse-1.32.2
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=matrix-org/}
 EGG_NAME=      matrix_synapse-${PKGVERSION_NOREV}
diff -r aca672e10961 -r 7a4a2939d3cc chat/matrix-synapse/distinfo
--- a/chat/matrix-synapse/distinfo      Wed Apr 28 23:12:31 2021 +0000
+++ b/chat/matrix-synapse/distinfo      Wed Apr 28 23:44:56 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2021/04/28 21:25:57 js Exp $
+$NetBSD: distinfo,v 1.15 2021/04/28 23:44:56 js Exp $
 
 SHA1 (matrix-synapse-1.32.2.tar.gz) = caa85c36988695132053d193f3ed1284e27c9011
 RMD160 (matrix-synapse-1.32.2.tar.gz) = ec8ec6bc81dd875de924c413f10d9437436ba47a
 SHA512 (matrix-synapse-1.32.2.tar.gz) = 123a419558763df84f48a4f7cd66beb67ee1bb20ed9cbbb8138d3e9162247bd17bbf81c7360cc49637fa670e0554a39a4666dab81aa473e8fbf82e70590b45f0
 Size (matrix-synapse-1.32.2.tar.gz) = 7258293 bytes
+SHA1 (patch-synapse_python_dependencies.py) = 1b58769d30514900266f828f0e60fb5bcce7240c
diff -r aca672e10961 -r 7a4a2939d3cc chat/matrix-synapse/patches/patch-synapse_python_dependencies.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py  Wed Apr 28 23:44:56 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-synapse_python_dependencies.py,v 1.1 2021/04/28 23:44:56 js Exp $
+
+Patch out cryptography check: It doesn't need a version this high and it was
+added by upstream as an ugly hack to force a patched OpenSSL, in case it is
+linked statically.
+
+--- synapse/python_dependencies.py.orig        2021-04-22 10:09:31.000000000 +0000
++++ synapse/python_dependencies.py
+@@ -83,9 +83,6 @@ REQUIREMENTS = [
+     "Jinja2>=2.9",
+     "bleach>=1.4.3",
+     "typing-extensions>=3.7.4",
+-    # We enforce that we have a `cryptography` version that bundles an `openssl`
+-    # with the latest security patches.
+-    "cryptography>=3.4.7;python_version>='3.6'",
+ ]
+ 
+ CONDITIONAL_REQUIREMENTS = {



Home | Main Index | Thread Index | Old Index