mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-28 08:52:07 +01:00
community/py3-libzim: upgrade to 3.9.0
- Ref https://github.com/openzim/python-libzim/releases/tag/v3.9.0 - Remove fix-test-libzim-reader.patch: applied upstream
This commit is contained in:
parent
ec16360004
commit
2fdffcafbb
@ -1,7 +1,7 @@
|
||||
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
||||
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
||||
pkgname=py3-libzim
|
||||
pkgver=3.8.0
|
||||
pkgver=3.9.0
|
||||
pkgrel=0
|
||||
pkgdesc="Python binding for libzim"
|
||||
url="https://github.com/openzim/python-libzim"
|
||||
@ -17,9 +17,7 @@ makedepends="
|
||||
libzim-dev
|
||||
"
|
||||
checkdepends="py3-pytest py3-pytest-cov"
|
||||
source="py3-libzim-$pkgver.tar.gz::https://github.com/openzim/python-libzim/archive/refs/tags/v$pkgver.tar.gz
|
||||
fix-test-libzim-reader.patch
|
||||
"
|
||||
source="py3-libzim-$pkgver.tar.gz::https://github.com/openzim/python-libzim/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/python-libzim-$pkgver"
|
||||
|
||||
build() {
|
||||
@ -44,6 +42,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f83bef90f40fbf5f3de065a06477340f255a835bcbc48f9bfb52c3879e862a9ed98ba0e9b540035e88e478a8ed1f47c05409ab73cc1ba3697aad62a9b96283af py3-libzim-3.8.0.tar.gz
|
||||
90beb9ac5cc0dc6b9f7fd5381f1788b5b74e0b0f5330a759aa21cbae4e38453273e586618717d45bec11eda16fe3198904466f6f7ee9b0328a2ff52ce3ba5589 fix-test-libzim-reader.patch
|
||||
8f4899bbae0e72847c57cd145bd9131704c93936f6c7c1ecf0a74fd04a22e3b9881d860c6643017a8654ddb82d186e6395bcd2de8e532b4554c46952a797e002 py3-libzim-3.9.0.tar.gz
|
||||
"
|
||||
|
||||
@ -1,24 +0,0 @@
|
||||
Patch-Source: https://github.com/openzim/python-libzim/commit/7b18969ddac250a8af156c582b4b9adbad352531
|
||||
From 7b18969ddac250a8af156c582b4b9adbad352531 Mon Sep 17 00:00:00 2001
|
||||
From: benoit74 <benoit74@users.noreply.github.com>
|
||||
Date: Mon, 23 Mar 2026 10:07:01 +0000
|
||||
Subject: [PATCH] Fix tests following new libzim default cluster cache maximum
|
||||
size
|
||||
|
||||
---
|
||||
tests/test_libzim_reader.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_libzim_reader.py b/tests/test_libzim_reader.py
|
||||
index e8e0bd3..82cc95b 100644
|
||||
--- a/tests/test_libzim_reader.py
|
||||
+++ b/tests/test_libzim_reader.py
|
||||
@@ -627,7 +627,7 @@ def test_reader_get_random_entry(all_zims):
|
||||
@pytest.mark.parametrize(*parametrize_for(["filename"]))
|
||||
def test_cluster_cache(all_zims, filename):
|
||||
zim = Archive(all_zims / filename)
|
||||
- default_value = 536870912 # 512M
|
||||
+ default_value = 16777216 # 16M
|
||||
new_value = 1024
|
||||
|
||||
assert get_cluster_cache_max_size() == default_value
|
||||
Loading…
x
Reference in New Issue
Block a user