From fd200f258548d2fde882c94331a696fa0b94a3fc Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 23 May 2024 00:18:04 +0200 Subject: [PATCH] backblaze-b2: update to 4.0.1. --- .../backblaze-b2/patches/setuptools_scm_ver.patch | 13 ------------- srcpkgs/backblaze-b2/patches/tqdm_ver.patch | 10 ---------- srcpkgs/backblaze-b2/template | 10 +++++----- 3 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/backblaze-b2/patches/setuptools_scm_ver.patch delete mode 100644 srcpkgs/backblaze-b2/patches/tqdm_ver.patch diff --git a/srcpkgs/backblaze-b2/patches/setuptools_scm_ver.patch b/srcpkgs/backblaze-b2/patches/setuptools_scm_ver.patch deleted file mode 100644 index 5daca91bfc5..00000000000 --- a/srcpkgs/backblaze-b2/patches/setuptools_scm_ver.patch +++ /dev/null @@ -1,13 +0,0 @@ -Package builds find with our version of setuptools_scm, so use it. - ---- a/setup.py -+++ b/setup.py -@@ -115,7 +115,7 @@ - 'doc': read_requirements('doc'), - 'license': read_requirements('license'), - }, -- 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/backblaze-b2/patches/tqdm_ver.patch b/srcpkgs/backblaze-b2/patches/tqdm_ver.patch deleted file mode 100644 index 35e7701c9ee..00000000000 --- a/srcpkgs/backblaze-b2/patches/tqdm_ver.patch +++ /dev/null @@ -1,10 +0,0 @@ -Upstream builds with the newer version of tqdm, but upstream hasn't updated their requirements.txt - ---- a/requirements.txt -+++ b/requirements.txt -@@ -7,4 +7,4 @@ - phx-class-registry~=4.0 - rst2ansi==0.1.5 - tabulate==0.9.0 --tqdm~=4.65.0 -+tqdm>=4.65.0 diff --git a/srcpkgs/backblaze-b2/template b/srcpkgs/backblaze-b2/template index 3643a209815..bc8266183fc 100644 --- a/srcpkgs/backblaze-b2/template +++ b/srcpkgs/backblaze-b2/template @@ -1,9 +1,9 @@ # Template file for 'backblaze-b2' pkgname=backblaze-b2 -version=3.11.0 -revision=4 -build_style=python3-module -hostmakedepends="python3-pip python3-setuptools_scm python3-wheel" +version=4.0.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3 python3-build python3-packaging python3-pdm-backend python3-pip python3-setuptools_scm python3-wheel" depends="python3-Arrow python3-b2sdk python3-docutils python3-phx-class-registry python3-rst2ansi python3-tabulate" short_desc="Command Line Interface for Backblaze's B2 storage service" @@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni " license="MIT" homepage="https://github.com/Backblaze/B2_Command_Line_Tool" distfiles="${PYPI_SITE}/b/b2/b2-${version}.tar.gz" -checksum=295a1cddf1fa809a4a53545ad9f19694c8458769d7e5e839194f3e8de46c2b9d +checksum=aa4f0cc3705159b64829041d37f63f8a38d4a9513beae84bc740db0569dd84b8 replaces="python-b2>=0" make_check=no # tests require unpackaged dependencies