borg: update to 1.2.7.

This commit is contained in:
Leah Neukirchen 2023-12-08 16:09:27 +01:00
parent f177a02837
commit c9e0559eec
1 changed files with 3 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'borg'
pkgname=borg
version=1.2.6
revision=3
version=1.2.7
revision=1
build_style=python3-module
make_check_args="-k not((benchmark)or(readonly))"
make_check_target="build/lib.*/borg/testsuite"
@ -16,19 +16,13 @@ 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=b7a6f8f086039eeec79070b914f3c651ed7f3612c965374af910d277c7a2139d
checksum=f63f28a3383c041971cec87b061ca39a815b5fd445db24aa8172cac417d9411a
export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBZSTD_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBXXHASH_PREFIX="${XBPS_CROSS_BASE}/usr"
post_extract() {
# borg#7851
vsed -i '/msgpack/s/<=1.0.5/<=1.0.7/g' setup.py
vsed -i '/msgpack/s/<= (1, 0, 5)/<= (1, 0, 7)/g' src/borg/helpers/msgpack.py
}
post_install() {
vlicense LICENSE