git: e17c8ec3c71c - main - archivers/py-borgbackup12: update to 1.2.9

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 05 Aug 2025 23:37:59 UTC
The branch main has been updated by mandree:

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

commit e17c8ec3c71c1ed9193ad914ae9eb7773331be48
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-08-05 23:35:12 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-08-05 23:37:56 +0000

    archivers/py-borgbackup12: update to 1.2.9
    
    Which is a bugfix release.
    
    Changelog:      https://github.com/borgbackup/borg/blob/1.2.9/docs/changes.rst#version-129-2025-08-04
    MFH:            2025Q3 after a few days
---
 archivers/py-borgbackup12/Makefile            | 11 +++++++----
 archivers/py-borgbackup12/distinfo            |  6 +++---
 archivers/py-borgbackup12/files/patch-msgpack | 25 -------------------------
 3 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/archivers/py-borgbackup12/Makefile b/archivers/py-borgbackup12/Makefile
index c4aeb6525678..a0dcb7c80f70 100644
--- a/archivers/py-borgbackup12/Makefile
+++ b/archivers/py-borgbackup12/Makefile
@@ -1,11 +1,14 @@
 PORTNAME=	borgbackup
-DISTVERSION=	1.2.8
-PORTREVISION=	4
+DISTVERSION=	1.2.9
+PORTREVISION=	0
 CATEGORIES=	archivers python
-MASTER_SITES=	PYPI
+MASTER_SITES=	https://github.com/borgbackup/borg/releases/download/${DISTVERSION}/ \
+		PYPI  # note the .asc signature to accompany the tarball isn't available on PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 PKGNAMESUFFIX=	12
 
+DEPRECATED=	Likely the final 1.2.x release, please migrate to using 1.4.x (it is quite similar)
+
 MAINTAINER=	mandree@FreeBSD.org
 COMMENT=	Deduplicating backup program
 WWW=		https://pypi.org/project/borgbackup/
@@ -14,7 +17,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.1_99:devel/py-msgpack@${PY_FLAVOR}
+_BB_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.1.2: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/distinfo b/archivers/py-borgbackup12/distinfo
index 050f395e4118..822b13c89e81 100644
--- a/archivers/py-borgbackup12/distinfo
+++ b/archivers/py-borgbackup12/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711803798
-SHA256 (borgbackup-1.2.8.tar.gz) = d39d22b0d2cb745584d68608a179b6c75f7b40e496e96feb789e41d34991f4aa
-SIZE (borgbackup-1.2.8.tar.gz) = 4369117
+TIMESTAMP = 1754433426
+SHA256 (borgbackup-1.2.9.tar.gz) = 9bc23108be917911d7ee65ae839fc284db7b574610e8141bae4064c4fa84db60
+SIZE (borgbackup-1.2.9.tar.gz) = 4456240
diff --git a/archivers/py-borgbackup12/files/patch-msgpack b/archivers/py-borgbackup12/files/patch-msgpack
deleted file mode 100644
index e70a3ecac75d..000000000000
--- a/archivers/py-borgbackup12/files/patch-msgpack
+++ /dev/null
@@ -1,25 +0,0 @@
-Obtained from:	https://github.com/borgbackup/borg/commit/7511cb6c5e0448f0b5276f4281faa4c71c2f64ac
-		https://github.com/borgbackup/borg/commit/56ddc010cbeba09b49969cf08f079ad69dd45dc2
-
---- setup.py.orig	2024-03-29 17:42:23 UTC
-+++ setup.py
-@@ -70,7 +70,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.0.8, !=1.0.1',
-+    'msgpack >=0.5.6, <=1.1.1, !=1.0.1',
-     'packaging',
- ]
- 
---- src/borg/helpers/msgpack.py.orig	2024-03-29 17:42:23 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 <= (1, 0, 8) and \
-+    return (0, 5, 6) <= msgpack.version <= (1, 1, 1) and \
-            msgpack.version not in [(1, 0, 1), ]  # < add bad releases here to deny list
- 
-