Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2023 10:33:00 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c9a9321d00c8 - main - archivers/py-borgbackup: also tighten up RUN_DEPENDS for msgpack
Message-ID:  <202304071033.337AX06q034949@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree:

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

commit c9a9321d00c80f557f1a2da32ca7439d7fad0a70
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2023-04-07 10:30:16 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2023-04-07 10:32:12 +0000

    archivers/py-borgbackup: also tighten up RUN_DEPENDS for msgpack
    
    and refactor. After the version in 2023Q2, and related to:
    PR:             270665
---
 archivers/py-borgbackup/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile
index 4d446466774a..52a6098741fc 100644
--- a/archivers/py-borgbackup/Makefile
+++ b/archivers/py-borgbackup/Makefile
@@ -11,14 +11,15 @@ WWW=		https://pypi.org/project/borgbackup/
 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.5:devel/py-msgpack@${PY_FLAVOR}
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}msgpack==1.0.5:devel/py-msgpack@${PY_FLAVOR}
-		# note that borgbackup pins the msgpack version range per patchlevel version!
+		${_BB_DEPENDS}
 LIB_DEPENDS=	liblz4.so:archivers/liblz4 \
 		libzstd.so:archivers/zstd \
 		libxxhash.so:devel/xxhash
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}msgpack>=1.0:devel/py-msgpack@${PY_FLAVOR}
+		${_BB_DEPENDS}
 TEST_DEPENDS=	${RUN_DEPENDS} \
 		${PYTHON_PKGNAMEPREFIX}tox>3.2:devel/py-tox@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304071033.337AX06q034949>