borg: patch for python3-msgpack-1.0.8.

This commit is contained in:
Leah Neukirchen 2024-03-14 22:05:39 +01:00
parent cd121e7182
commit 6de752028c
2 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'borg'
pkgname=borg
version=1.2.7
revision=1
revision=2
build_style=python3-module
make_check_args="-k not((benchmark)or(readonly))"
make_check_target="build/lib.*/borg/testsuite"
@ -23,6 +23,13 @@ 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#8133
vsed -i '/msgpack/s/<=1.0.7/<=1.0.8/g' setup.py
vsed -i '/msgpack/s/<= (1, 0, 7)/<= (1, 0, 8)/g' src/borg/helpers/msgpack.py
}
post_install() {
vlicense LICENSE

View File

@ -1,4 +1,5 @@
# Template file for 'python3-msgpack'
# Please ensure this version works with 'borg' before bumping!
pkgname=python3-msgpack
version=1.0.8
revision=1