aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-borgbackup12
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/py-borgbackup12')
-rw-r--r--archivers/py-borgbackup12/Makefile4
-rw-r--r--archivers/py-borgbackup12/files/patch-msgpack26
2 files changed, 28 insertions, 2 deletions
diff --git a/archivers/py-borgbackup12/Makefile b/archivers/py-borgbackup12/Makefile
index b55cd59d3c9a..4379e901ef29 100644
--- a/archivers/py-borgbackup12/Makefile
+++ b/archivers/py-borgbackup12/Makefile
@@ -1,6 +1,6 @@
PORTNAME= borgbackup
DISTVERSION= 1.2.9
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= https://github.com/borgbackup/borg/releases/download/${DISTVERSION}/ \
PYPI # note the .asc signature to accompany the tarball isn't available on PYPI
@@ -18,7 +18,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
# note that borgbackup pins the msgpack version range per patchlevel version!
-_BB_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.1.2:devel/py-msgpack@${PY_FLAVOR}
+_BB_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.1.2_99:devel/py-msgpack@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=1.7:devel/py-setuptools-scm@${PY_FLAVOR} \
${_BB_DEPENDS}
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
diff --git a/archivers/py-borgbackup12/files/patch-msgpack b/archivers/py-borgbackup12/files/patch-msgpack
new file mode 100644
index 000000000000..2f268a97da45
--- /dev/null
+++ b/archivers/py-borgbackup12/files/patch-msgpack
@@ -0,0 +1,26 @@
+Reference: https://github.com/borgbackup/borg/commit/e7d8fba1df8409f5aa71faa16f97935aea802171
+
+--- setup.py.orig 2025-08-04 21:56:09 UTC
++++ setup.py
+@@ -75,7 +75,7 @@ install_requires = [
+ # Please note:
+ # using any other msgpack version is not supported by borg development and
+ # any feedback related to issues caused by this will be ignored.
+- 'msgpack >=0.5.6, <=1.1.1, !=1.0.1',
++ 'msgpack >=0.5.6, <=1.1.2, !=1.0.1',
+ 'packaging',
+ ]
+
+Obtained from: https://github.com/borgbackup/borg/commit/e7d8fba1df8409f5aa71faa16f97935aea802171
+
+--- src/borg/helpers/msgpack.py.orig 2025-08-04 21:56:09 UTC
++++ src/borg/helpers/msgpack.py
+@@ -182,7 +182,7 @@ def is_supported_msgpack():
+ def is_supported_msgpack():
+ # DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
+ import msgpack
+- return (0, 5, 6) <= msgpack.version[:3] <= (1, 1, 1) and \
++ return (0, 5, 6) <= msgpack.version[:3] <= (1, 1, 2) and \
+ msgpack.version not in [(1, 0, 1), ] # < add bad releases here to deny list
+
+