git: 39aceba8c10c - main - archivers/py-borgbackup: Allow build with py-msgpack 1.0.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 00:56:51 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39aceba8c10c6da8e36ff21edd6e8d2c26edecd1

commit 39aceba8c10c6da8e36ff21edd6e8d2c26edecd1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 00:30:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 00:46:32 +0000

    archivers/py-borgbackup: Allow build with py-msgpack 1.0.7
    
    - Bump PORTREVISION for package change
    
    Reference:      https://github.com/borgbackup/borg/commit/cdcab4df6851b5d3da6ac5435bcaeb8aa1d632b5
---
 archivers/py-borgbackup/Makefile            | 4 ++--
 archivers/py-borgbackup/files/patch-msgpack | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile
index 71361ae5baec..3acbb106eaf9 100644
--- a/archivers/py-borgbackup/Makefile
+++ b/archivers/py-borgbackup/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	borgbackup
 DISTVERSION=	1.2.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,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.0.6_99:devel/py-msgpack@${PY_FLAVOR}
+_BB_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.0.7_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-borgbackup/files/patch-msgpack b/archivers/py-borgbackup/files/patch-msgpack
index 8aa640811d82..c0794c9c33dd 100644
--- a/archivers/py-borgbackup/files/patch-msgpack
+++ b/archivers/py-borgbackup/files/patch-msgpack
@@ -5,7 +5,7 @@
      # 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.0.5, !=1.0.1',
-+    'msgpack >=0.5.6, <=1.0.6, !=1.0.1',
++    'msgpack >=0.5.6, <=1.0.7, !=1.0.1',
      'packaging',
  ]
  
@@ -16,7 +16,7 @@
      # DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
      import msgpack
 -    return (0, 5, 6) <= msgpack.version <= (1, 0, 5) and \
-+    return (0, 5, 6) <= msgpack.version <= (1, 0, 6) and \
++    return (0, 5, 6) <= msgpack.version <= (1, 0, 7) and \
             msgpack.version not in [(1, 0, 1), ]  # < add bad releases here to deny list