Date: Mon, 29 Jan 2024 06:58:04 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 873eee30b8a6 - main - textproc/py-ntc-templates: Update to 4.2.0 Message-ID: <202401290658.40T6w4L0029205@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=873eee30b8a665a7e6b16d74dc37c2dfbfdc7050 commit 873eee30b8a665a7e6b16d74dc37c2dfbfdc7050 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2024-01-29 06:53:03 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-01-29 06:53:03 +0000 textproc/py-ntc-templates: Update to 4.2.0 * Tweak the existing patch so that it also contains the current version while I'm here. Changelog: https://github.com/networktocode/ntc-templates/releases/tag/v4.2.0 --- textproc/py-ntc-templates/Makefile | 5 ++++- textproc/py-ntc-templates/distinfo | 6 +++--- textproc/py-ntc-templates/files/patch-pyproject.toml | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/textproc/py-ntc-templates/Makefile b/textproc/py-ntc-templates/Makefile index 95136dae0ab3..1128e9797120 100644 --- a/textproc/py-ntc-templates/Makefile +++ b/textproc/py-ntc-templates/Makefile @@ -1,6 +1,6 @@ PORTNAME= ntc-templates DISTVERSIONPREFIX= v -DISTVERSION= 4.1.0 +DISTVERSION= 4.2.0 CATEGORIES= textproc net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,4 +27,7 @@ TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes +post-patch: + ${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|' ${WRKSRC}/pyproject.toml + .include <bsd.port.mk> diff --git a/textproc/py-ntc-templates/distinfo b/textproc/py-ntc-templates/distinfo index 2ac97521b36b..0736b55935f8 100644 --- a/textproc/py-ntc-templates/distinfo +++ b/textproc/py-ntc-templates/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1703065295 -SHA256 (networktocode-ntc-templates-v4.1.0_GH0.tar.gz) = 310858610d14a82b7a8fcd09b95262b3d3f64d4de07cd3c26e3b980e95cc9712 -SIZE (networktocode-ntc-templates-v4.1.0_GH0.tar.gz) = 1144934 +TIMESTAMP = 1706427859 +SHA256 (networktocode-ntc-templates-v4.2.0_GH0.tar.gz) = f282c2155e99dd93ffebf1f4e9210e711b9b9d9bcb4fa4fb131657c5f66cb786 +SIZE (networktocode-ntc-templates-v4.2.0_GH0.tar.gz) = 1164861 diff --git a/textproc/py-ntc-templates/files/patch-pyproject.toml b/textproc/py-ntc-templates/files/patch-pyproject.toml index 2861c16b3914..04ec5f1e6d51 100644 --- a/textproc/py-ntc-templates/files/patch-pyproject.toml +++ b/textproc/py-ntc-templates/files/patch-pyproject.toml @@ -4,13 +4,13 @@ produced wheels contain the wrong version. Avoid installing "LICENSE" and "README.md" on top of Python's "site-packages/" directory which would lead to conflicting packages. ---- pyproject.toml.orig 2023-12-19 17:04:20 UTC +--- pyproject.toml.orig 2024-01-27 23:01:03 UTC +++ pyproject.toml @@ -1,6 +1,6 @@ name = "ntc_templates" [tool.poetry] name = "ntc_templates" -version = "4.0.1" -+version = "4.1.0" ++version = "%%DISTVERSION%%" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code <info@networktocode.com>"] license = "Apache-2.0"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401290658.40T6w4L0029205>