firefox: update to 101.0.

This commit is contained in:
Duncaen 2022-06-07 22:14:53 +02:00
parent 957322daa6
commit 39670dbc48
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 2 additions and 52 deletions

View File

@ -1,50 +0,0 @@
--- a/python/mozbuild/mozbuild/controller/building.py
+++ b/python/mozbuild/mozbuild/controller/building.py
@@ -1070,6 +1070,8 @@ class CCacheStats(object):
ts = time.strptime(raw_value, "%c")
return int(time.mktime(ts))
except ValueError:
+ if raw_value == "never":
+ return 0
pass
value = raw_value.split()
--- a/python/mozbuild/mozbuild/test/controller/test_ccachestats.py
+++ b/python/mozbuild/mozbuild/test/controller/test_ccachestats.py
@@ -356,6 +356,26 @@ Primary storage:
timestamp=time.strftime("%c")
)
+ STAT12 = """
+Summary:
+ Cache directory: /home/suer/.ccache
+ Primary config: /home/suer/.ccache/ccache.conf
+ Secondary config: /etc/ccache.conf
+ Stats updated: never
+ Hits: 0 / 0
+ Direct: 0 / 0
+ Preprocessed: 0 / 0
+ Misses: 0
+ Direct: 0
+ Preprocessed: 0
+Primary storage:
+ Hits: 0 / 0
+ Misses: 0
+ Cache size (GB): 0.00 / 5.00 (0.00 %)
+ Files: 0
+ Cleanups: 16
+ """
+
def test_parse_garbage_stats_message(self):
self.assertRaises(ValueError, CCacheStats, self.STAT_GARBAGE)
@@ -438,6 +458,9 @@ Primary storage:
stat11 = CCacheStats(self.STAT11, True)
self.assertTrue(stat11)
+ stat12 = CCacheStats(self.STAT12, True)
+ self.assertTrue(stat12)
+
if __name__ == "__main__":
main()

View File

@ -3,7 +3,7 @@
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n".
#
pkgname=firefox
version=100.0.2
version=101.0
revision=1
build_helper="rust"
short_desc="Mozilla Firefox web browser"
@ -11,7 +11,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.mozilla.org/firefox/"
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz"
checksum=dc109861204f6938fd8f147af89a694eb516f3d4bb64ce3f0116452d654a8417
checksum=55ab5b517d58bbcbc837640263a8371cf1fba3d9f508e54537c4d2cbbfb86095
lib32disabled=yes