diff --git a/net-mgmt/py-netutils/Makefile b/net-mgmt/py-netutils/Makefile index 0e585aa965e8..780298edc7ac 100644 --- a/net-mgmt/py-netutils/Makefile +++ b/net-mgmt/py-netutils/Makefile @@ -1,34 +1,34 @@ PORTNAME= netutils -DISTVERSION= 1.18.0 +DISTVERSION= 1.19.1 CATEGORIES= net-mgmt python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Common helper functions useful in network automation WWW= https://github.com/networktocode/netutils LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=2.0.0<3.0.0:devel/py-poetry-core@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes # There are another two options, "napalm" + "legacycrypt", in "pyproject.toml" # 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= JINJA2 JSONSCHEMA OPTIONS_DEFAULT= JINJA2 JSONSCHEMA JINJA2_DESC= Jinja2-aware config sanitizer support JSONSCHEMA_DESC= ACL check support 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 diff --git a/net-mgmt/py-netutils/distinfo b/net-mgmt/py-netutils/distinfo index 24198f8b6722..4e7545d45962 100644 --- a/net-mgmt/py-netutils/distinfo +++ b/net-mgmt/py-netutils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1785588936 -SHA256 (netutils-1.18.0.tar.gz) = dd584b856f3b454bb8ab00b415c6ca2c11ba254382db9444944e67d71e8bff19 -SIZE (netutils-1.18.0.tar.gz) = 522052 +TIMESTAMP = 1787772254 +SHA256 (netutils-1.19.1.tar.gz) = 330dd2d0fece3bf9507304fe77c1c905e5f88ffbf56d2a80459d067be594f126 +SIZE (netutils-1.19.1.tar.gz) = 549537 diff --git a/net-mgmt/py-netutils/files/patch-pyproject.toml b/net-mgmt/py-netutils/files/patch-pyproject.toml index 8cc826fcd351..821c4cbf07bc 100644 --- a/net-mgmt/py-netutils/files/patch-pyproject.toml +++ b/net-mgmt/py-netutils/files/patch-pyproject.toml @@ -1,14 +1,27 @@ Avoid installing LICENSE and README.md in the top-level directory of Python's site-lib directory. ---- pyproject.toml.orig 2023-08-02 07:38:19 UTC +Prevent installation of CLI script that doesn't work. See also: +https://github.com/networktocode/netutils/issues/898 + +--- pyproject.toml.orig 1970-01-01 00:00:00 UTC +++ pyproject.toml -@@ -19,8 +19,6 @@ include = [ - "Programming Language :: Python :: 3.11", +@@ -21,8 +21,6 @@ include = [ ] + include = [ - "LICENSE", - "README.md", "netutils/protocols.json" ] +@@ -87,9 +85,6 @@ mkdocs-python-classy = "0.1.3" + mkdocstrings-python = "1.13.0" + griffe = "1.1.1" + mkdocs-python-classy = "0.1.3" +- +-[tool.poetry.scripts] +-netutils = 'netutils.cli:main' + + [tool.ruff] + line-length = 120