git: 6582381d4dc1 - main - net-mgmt/py-netutils: Update to 1.18.0

Kai Knoblich <[email protected]> Sun, 02 Aug 2026 09:15:35 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <6a6f0ab7.3ab37.5dcdf74b__16104.1103115835$1785662184$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by kai:

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

commit 6582381d4dc1729983a7cba8376217f2ded5d23c
Author:     Kai Knoblich <[email protected]>
AuthorDate: 2026-08-02 09:14:18 +0000
Commit:     Kai Knoblich <[email protected]>
CommitDate: 2026-08-02 09:14:18 +0000

    net-mgmt/py-netutils: Update to 1.18.0
    
    * Add new JINJA2 option and make it default to have a good out-of-box
      experience when Jinja2-aware configuration sanitization is needed.
    
    Changelog:
    
    https://github.com/networktocode/netutils/releases/tag/v1.18.0
---
 net-mgmt/py-netutils/Makefile | 11 +++++++----
 net-mgmt/py-netutils/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/net-mgmt/py-netutils/Makefile b/net-mgmt/py-netutils/Makefile
index df4296b19b88..0e585aa965e8 100644
--- a/net-mgmt/py-netutils/Makefile
+++ b/net-mgmt/py-netutils/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	netutils
-DISTVERSION=	1.17.3
+DISTVERSION=	1.18.0
 CATEGORIES=	net-mgmt python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,10 +22,13 @@ NO_ARCH=	yes
 # and are deliberately not added for the time being.  The first one  would lead
 # to a circular dependency and the second one is required for Python 3.13+ (not
 # in ports tree, yet) which no longer has the deprecated "crypt" module.
-OPTIONS_DEFINE=		JSONSCHEMA
-OPTIONS_DEFAULT=	JSONSCHEMA
+OPTIONS_DEFINE=		JINJA2 JSONSCHEMA
+OPTIONS_DEFAULT=	JINJA2 JSONSCHEMA
 
+JINJA2_DESC=		Jinja2-aware config sanitizer support
 JSONSCHEMA_DESC=	ACL check support
-JSONSCHEMA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY_FLAVOR}
+
+JINJA2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6<4.0.0:devel/py-Jinja2@${PY_FLAVOR}
+JSONSCHEMA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3<5.0.0:devel/py-jsonschema@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/net-mgmt/py-netutils/distinfo b/net-mgmt/py-netutils/distinfo
index 061f99ed5e8e..24198f8b6722 100644
--- a/net-mgmt/py-netutils/distinfo
+++ b/net-mgmt/py-netutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1783882738
-SHA256 (netutils-1.17.3.tar.gz) = d1b94b2f5ff899824237141eec76b9f75fac44fcf8c0f871520336b8938d2eb4
-SIZE (netutils-1.17.3.tar.gz) = 521064
+TIMESTAMP = 1785588936
+SHA256 (netutils-1.18.0.tar.gz) = dd584b856f3b454bb8ab00b415c6ca2c11ba254382db9444944e67d71e8bff19
+SIZE (netutils-1.18.0.tar.gz) = 522052