From 6de752028c3ee820a543bb1c833bf29f03e90d6d Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 14 Mar 2024 22:05:39 +0100 Subject: [PATCH] borg: patch for python3-msgpack-1.0.8. --- srcpkgs/borg/template | 9 ++++++++- srcpkgs/python3-msgpack/template | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/srcpkgs/borg/template b/srcpkgs/borg/template index 66528b247af..4ba5103774e 100644 --- a/srcpkgs/borg/template +++ b/srcpkgs/borg/template @@ -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 diff --git a/srcpkgs/python3-msgpack/template b/srcpkgs/python3-msgpack/template index e4f7faa964b..c455be02b0a 100644 --- a/srcpkgs/python3-msgpack/template +++ b/srcpkgs/python3-msgpack/template @@ -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