chromium: update to 94.0.4606.81.
This commit is contained in:
parent
212155a28b
commit
f22bd8baaa
2 changed files with 59 additions and 2 deletions
57
srcpkgs/chromium/patches/python3.10.patch
Normal file
57
srcpkgs/chromium/patches/python3.10.patch
Normal file
|
@ -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
|
|
@ -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 <gottox@voidlinux.org>"
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue