From ae033d75311570e19df3f604fff2c6be51dfdbbe Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 14 Oct 2021 20:48:26 +0200 Subject: [PATCH] chromium: update to 94.0.4606.81. --- srcpkgs/chromium/patches/python3.10.patch | 57 +++++++++++++++++++++++ srcpkgs/chromium/template | 4 +- 2 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/chromium/patches/python3.10.patch diff --git a/srcpkgs/chromium/patches/python3.10.patch b/srcpkgs/chromium/patches/python3.10.patch new file mode 100644 index 000000000000..9ce6ee71202e --- /dev/null +++ b/srcpkgs/chromium/patches/python3.10.patch @@ -0,0 +1,57 @@ +diff -ur ./third_party/jinja2.orig/runtime.py ./third_party/jinja2/runtime.py +--- a/third_party/jinja2.orig/runtime.py 2021-09-24 00:26:35.000000000 -0400 ++++ b/third_party/jinja2/runtime.py 2021-10-13 11:51:16.493986556 -0400 +@@ -315,7 +315,7 @@ + + # register the context as mapping if possible + try: +- from collections import Mapping ++ from collections.abc import Mapping + Mapping.register(Context) + except ImportError: + pass +diff -ur ./third_party/jinja2.orig/sandbox.py ./third_party/jinja2/sandbox.py +--- a/third_party/jinja2.orig/sandbox.py 2021-09-24 00:26:35.000000000 -0400 ++++ b/third_party/jinja2/sandbox.py 2021-10-13 11:50:51.513980399 -0400 +@@ -14,7 +14,7 @@ + """ + import types + import operator +-from collections import Mapping ++from collections.abc import Mapping + from jinja2.environment import Environment + from jinja2.exceptions import SecurityError + from jinja2._compat import string_types, PY2 +@@ -79,7 +79,7 @@ + pass + + #: register Python 2.6 abstract base classes +-from collections import MutableSet, MutableMapping, MutableSequence ++from collections.abc import MutableSet, MutableMapping, MutableSequence + _mutable_set_types += (MutableSet,) + _mutable_mapping_types += (MutableMapping,) + _mutable_sequence_types += (MutableSequence,) +diff -ur ./third_party/jinja2.orig/tests.py ./third_party/jinja2/tests.py +--- a/third_party/jinja2.orig/tests.py 2021-09-24 00:26:35.000000000 -0400 ++++ b/third_party/jinja2/tests.py 2021-10-13 11:51:51.693995227 -0400 +@@ -10,7 +10,7 @@ + """ + import operator + import re +-from collections import Mapping ++from collections.abc import Mapping + from jinja2.runtime import Undefined + from jinja2._compat import text_type, string_types, integer_types + import decimal +diff -ur ./third_party/jinja2.orig/utils.py ./third_party/jinja2/utils.py +--- a/third_party/jinja2.orig/utils.py 2021-09-24 00:26:35.000000000 -0400 ++++ b/third_party/jinja2/utils.py 2021-10-13 11:51:34.969991106 -0400 +@@ -482,7 +482,7 @@ + + # register the LRU cache as mutable mapping if possible + try: +- from collections import MutableMapping ++ from collections.abc import MutableMapping + MutableMapping.register(LRUCache) + except ImportError: + pass diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index a26d99aa08a9..c57c29508dfc 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,7 +1,7 @@ # Template file for 'chromium' pkgname=chromium # See https://chromiumdash.appspot.com/releases?platform=Linux for the latest version -version=94.0.4606.61 +version=94.0.4606.81 revision=1 archs="i686* x86_64* aarch64* armv7l* ppc64le*" short_desc="Google's attempt at creating a safer, faster, and more stable browser" @@ -9,7 +9,7 @@ maintainer="Enno Boland " license="BSD-3-Clause" homepage="https://www.chromium.org/" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" -checksum=6446db535c02c461c7e5c8d294a0300db03abba791f97f0c70bc52255aedb9bf +checksum=7071aa2b2caf48094c2ae816395948b4daec940606f4982ad5bbf68e5d2de598 nocross=yes lib32disabled=yes