Date: Sat, 5 Nov 2022 10:42:06 GMT From: Juraj Lutter <otis@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 44e481c0a249 - main - sysutils/py-borgmatic: Fix runtime dependency with python <3.9 Message-ID: <202211051042.2A5Ag60J036159@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=44e481c0a249db28e9dfb02bbb8427f3e03c867f commit 44e481c0a249db28e9dfb02bbb8427f3e03c867f Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2022-11-01 22:10:01 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-11-05 10:40:55 +0000 sysutils/py-borgmatic: Fix runtime dependency with python <3.9 Add RUN_DEPENDS on devel/py-pkgutil-resolve-name that is needed with python <3.9 PR: 267509 Approved by: egypcio (maintainer) Differential Revision: https://reviews.freebsd.org/D37232 --- sysutils/py-borgmatic/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sysutils/py-borgmatic/Makefile b/sysutils/py-borgmatic/Makefile index 2d82ee2292ca..e2cd827234ad 100644 --- a/sysutils/py-borgmatic/Makefile +++ b/sysutils/py-borgmatic/Makefile @@ -1,6 +1,6 @@ PORTNAME= borgmatic PORTVERSION= 1.5.24 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,12 +17,17 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}borgbackup>=0:archivers/py-borgbackup@${PY_F ${PYTHON_PKGNAMEPREFIX}pykwalify>=0:textproc/py-pykwalify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR} - USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if ${PYTHON_VER} == "3.8" +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pkgutil-resolve-name>=1.3.10:devel/py-pkgutil-resolve-name@${PY_FLAVOR} +.endif + post-patch: @cd ${WRKSRC} && \ ${REINPLACE_CMD} -e 's|/etc/borgmatic|${PREFIX}/etc/borgmatic|g' \ @@ -34,4 +39,4 @@ post-patch: borgmatic/config/schema.yaml \ tests/unit/config/test_collect.py -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211051042.2A5Ag60J036159>