From c50624631b12d37431534bb279fa0185e8d227e0 Mon Sep 17 00:00:00 2001
From: Andrea Brancaleoni <abc@pompel.me>
Date: Tue, 25 Jul 2023 18:59:39 +0200
Subject: [PATCH] python3-b2sdk: update to 1.22.1.

---
 .../python3-b2sdk/patches/lazy-fixture.patch  | 32 -------------------
 srcpkgs/python3-b2sdk/template                |  4 +--
 2 files changed, 2 insertions(+), 34 deletions(-)
 delete mode 100644 srcpkgs/python3-b2sdk/patches/lazy-fixture.patch

diff --git a/srcpkgs/python3-b2sdk/patches/lazy-fixture.patch b/srcpkgs/python3-b2sdk/patches/lazy-fixture.patch
deleted file mode 100644
index fc4deb502c8..00000000000
--- a/srcpkgs/python3-b2sdk/patches/lazy-fixture.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/test/unit/account_info/fixtures.py
-+++ b/test/unit/account_info/fixtures.py
-@@ -9,6 +9,7 @@
- ######################################################################
- 
- import pytest
-+import pytest_lazyfixture
- 
- from apiver_deps import InMemoryAccountInfo, SqliteAccountInfo
- 
-@@ -84,8 +85,8 @@ def sqlite_account_info(sqlite_account_i
- 
- @pytest.fixture(
-     params=[
--        pytest.lazy_fixture('in_memory_account_info_factory'),
--        pytest.lazy_fixture('sqlite_account_info_factory'),
-+        pytest_lazyfixture.lazy_fixture('in_memory_account_info_factory'),
-+        pytest_lazyfixture.lazy_fixture('sqlite_account_info_factory'),
-     ]
- )
- def account_info_factory(request):
-@@ -94,8 +95,8 @@ def account_info_factory(request):
- 
- @pytest.fixture(
-     params=[
--        pytest.lazy_fixture('in_memory_account_info'),
--        pytest.lazy_fixture('sqlite_account_info'),
-+        pytest_lazyfixture.lazy_fixture('in_memory_account_info'),
-+        pytest_lazyfixture.lazy_fixture('sqlite_account_info'),
-     ]
- )
- def account_info(request):
diff --git a/srcpkgs/python3-b2sdk/template b/srcpkgs/python3-b2sdk/template
index b2db87588bf..b966ee5f143 100644
--- a/srcpkgs/python3-b2sdk/template
+++ b/srcpkgs/python3-b2sdk/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-b2sdk'
 pkgname=python3-b2sdk
-version=1.20.0
+version=1.22.1
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="MIT"
 homepage="https://pypi.org/project/b2sdk"
 distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz"
-checksum=b394d9fbdada1a4ffc0837cd6c930351f5fccc24cd0af23e41edd850d67fb687
+checksum=d0bd30bf98ce77164b2ae5fe1523598700f705255f1c7f7c0242f4d7c8afc72b
 replaces="python-b2sdk>=0"
 # Tests require an application key
 make_check=no