From 4349c5ea9ecd794f589c4a6c10105a0b73a6b33a Mon Sep 17 00:00:00 2001 From: Zyrtula Date: Thu, 4 Jul 2024 13:09:57 +0200 Subject: [PATCH] borg: update to 1.4.0. --- srcpkgs/borg/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/borg/template b/srcpkgs/borg/template index 9132fc6b442..aabf178923d 100644 --- a/srcpkgs/borg/template +++ b/srcpkgs/borg/template @@ -1,11 +1,11 @@ # Template file for 'borg' pkgname=borg -version=1.2.8 +version=1.4.0 revision=1 build_style=python3-module make_check_args="-k not((benchmark)or(readonly))" make_check_target="build/lib.*/borg/testsuite" -hostmakedepends="python3-setuptools_scm python3-pkgconfig python3-Cython0.29" +hostmakedepends="python3-setuptools_scm python3-pkgconfig python3-Cython" makedepends="python3-devel openssl-devel acl-devel liblz4-devel libzstd-devel xxHash-devel" depends="python3-msgpack python3-packaging python3-pyfuse3" @@ -16,7 +16,7 @@ license="BSD-3-Clause" homepage="https://www.borgbackup.org" changelog="https://borgbackup.readthedocs.io/en/stable/changes.html#changelog" distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz" -checksum=d39d22b0d2cb745584d68608a179b6c75f7b40e496e96feb789e41d34991f4aa +checksum=c54c45155643fa66fed7f9ff2d134ea0a58d0ac197c18781ddc2fb236bf6ed29 export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr" export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr" @@ -35,3 +35,10 @@ post_install() { vcompletion fish/${pkgname}.fish fish vcompletion zsh/_${pkgname} zsh } + +post_patch() { + # Function are_acls_working raises an OSError + vsed -i \ + 's/If(not are_acls_working(), /(/' \ + src/borg/testsuite/platform.py +}