From e88f8b8f83cf45a6393c1f483d2d20fef85b5cec Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 23 May 2024 00:03:36 +0200 Subject: [PATCH] python3-b2sdk: update to 2.3.0. --- srcpkgs/python3-b2sdk/patches/setuptools_scm.patch | 14 -------------- srcpkgs/python3-b2sdk/template | 8 ++++---- 2 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/python3-b2sdk/patches/setuptools_scm.patch diff --git a/srcpkgs/python3-b2sdk/patches/setuptools_scm.patch b/srcpkgs/python3-b2sdk/patches/setuptools_scm.patch deleted file mode 100644 index 5b612e58725..00000000000 --- a/srcpkgs/python3-b2sdk/patches/setuptools_scm.patch +++ /dev/null @@ -1,14 +0,0 @@ -The setuptools_scm version restriction isn't relevant and causes the build to -fail, so drop it. - ---- a/setup.py -+++ b/setup.py -@@ -109,7 +109,7 @@ - # for example: - # $ pip install -e .[dev,test] - extras_require={'doc': read_requirements('doc')}, -- setup_requires=['setuptools_scm<6.0'], -+ setup_requires=['setuptools_scm'], - use_scm_version=True, - - # If there are data files included in your packages that need to be diff --git a/srcpkgs/python3-b2sdk/template b/srcpkgs/python3-b2sdk/template index 01831aaff49..138125197b6 100644 --- a/srcpkgs/python3-b2sdk/template +++ b/srcpkgs/python3-b2sdk/template @@ -1,9 +1,9 @@ # Template file for 'python3-b2sdk' pkgname=python3-b2sdk -version=1.24.1 -revision=3 +version=2.3.0 +revision=1 build_style=python3-pep517 -hostmakedepends="python3 python3-build python3-packaging python3-setuptools python3-setuptools_scm python3-wheel" +hostmakedepends="python3 python3-build python3-packaging python3-pdm-backend python3-setuptools python3-setuptools_scm python3-wheel" depends="python3-logfury python3-Arrow python3-requests python3-tqdm" checkdepends="python3-pytest-lazy-fixture $depends python3-dateutil python3-mock python3-tqdm python3-pyflakes" @@ -12,7 +12,7 @@ maintainer="Andrea Brancaleoni " license="MIT" homepage="https://pypi.org/project/b2sdk" distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz" -checksum=4e9f518edc9ba824b1075805657ae3c0d2789a6c25f8e593cd5c87776e7425ab +checksum=fc292fceb5ec35c0dfd681f23e76b4449b63bb82d00423fc54edc0f4363f53e1 replaces="python-b2sdk>=0" # Tests require an application key make_check=no