From nobody Sat Nov 05 10:42:06 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N4DZl22Qpz4hNyY; Sat, 5 Nov 2022 10:42:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N4DZl1CLkz4Gdy; Sat, 5 Nov 2022 10:42:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667644927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LQDmf6KAuHsGtd/U6H1rnXNDxUjBVpQIpDgayKpqQ5s=; b=KLR9jZmTiXPTrd/oxXTgCJd+Fad6q8JnAGqy3wDSlA4Odj4W8IUSLWSNwe9P/QBJV0YcHb //gllYMpk78lKEv1IUATOUtP8w09MZcM6qIUZYsyrKZut8cOH2NmrNF9sgKQxTzX2alEhn y15bILYfccSnhSOH8PGaY/+GeCp3Wab6BjtUC+gAk7jGlxl1UvM2UEE6IS0GxWx2Olei9f RJBoARW27Vl+61Og0U2GFlU7FUla7+Dao/qN9GjPYmZuNclQr7mq5kROIi4HH+Vun/cEBu shbdUyiJIjylWWH3xeXxSeO4tIiDQI2o+17CPraxEECt1oI/fif9uytzlJzRbw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N4DZl0FwZzfNR; Sat, 5 Nov 2022 10:42:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A5Ag6sg036160; Sat, 5 Nov 2022 10:42:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A5Ag60J036159; Sat, 5 Nov 2022 10:42:06 GMT (envelope-from git) Date: Sat, 5 Nov 2022 10:42:06 GMT Message-Id: <202211051042.2A5Ag60J036159@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 44e481c0a249 - main - sysutils/py-borgmatic: Fix runtime dependency with python <3.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44e481c0a249db28e9dfb02bbb8427f3e03c867f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667644927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LQDmf6KAuHsGtd/U6H1rnXNDxUjBVpQIpDgayKpqQ5s=; b=OZlkYlLFRbVF0aVYaBInkCnhXT77eEyFQ4IroMWOKZPzSj1AiHGqaUDIETUb7Q81OWOWD7 SHRL/SjhoL70pZ/tDA40vnNO+wKzSov5rLltVw8oq5MF3J/apeXnO2IHNzGIO/YF0zMUEu Oz40zlYZ53zDvImrA5jrCr1wPna7rowADFfDap0XfN8c/BWta27cVJvBa79EQ0JNBi/fIm pFHEcgfa7k3qXBlwbKxTflR3y00RuvihBfjprJ5nd0s9Ppi1pyEeLEnNIHj795kp9n+wX1 zw9xW+CDQ3k33cpqCYWsdMqLeybfUULofVRRG2819AWRLaNouoe3IIoj2Z5gXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667644927; a=rsa-sha256; cv=none; b=JBvnLhxX2lxMnv5YAIjBEsheNhhHnuDpSI6Ofp0kXLyxsoIRJfbAHhFceeUPBdSQnS5QgY 0RMjXlFlmdH38OiBUSE7OOwm/tubHYLZgabflZoIveR7gfGzS/dKnEfFzVltLI7pQxn7ko bZcNSldCLHuR7/4em1zsHxpLDY5YWFrJb/pWuuRsiwpCjqO/X7XhX247jLNE6Cf9D43Dp9 jjlbfu0YFYxhqkk1u64EMXgddQMraSv9RBrWUSdBL8PBsXw6bdI6IbDJUFSC2n6qxRX4Y5 hTMoLCxwP638H4YiuXc5B9MPidWLpjRK+DqkVukZ2rzXvKoxTwURQNqlqAzRag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=44e481c0a249db28e9dfb02bbb8427f3e03c867f commit 44e481c0a249db28e9dfb02bbb8427f3e03c867f Author: Juraj Lutter AuthorDate: 2022-11-01 22:10:01 +0000 Commit: Juraj Lutter 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 + +.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 +.include