git: 0c19d5bd691c - main - textproc/py-ntc-templates: Update to 7.6.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Mon, 27 Jan 2025 05:20:31 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c19d5bd691ceeb753dcf19dc02b976412c7d5e6

commit 0c19d5bd691ceeb753dcf19dc02b976412c7d5e6
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-01-27 05:10:18 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-01-27 05:10:18 +0000

    textproc/py-ntc-templates: Update to 7.6.0
    
    * Remove no longer required workaround regarding to the version number
      in pyproject.toml.
    
    Changelog:
    
    https://github.com/networktocode/ntc-templates/releases/tag/v7.6.0
---
 textproc/py-ntc-templates/Makefile                   |  5 +----
 textproc/py-ntc-templates/distinfo                   |  6 +++---
 textproc/py-ntc-templates/files/patch-pyproject.toml | 13 +------------
 3 files changed, 5 insertions(+), 19 deletions(-)

diff --git a/textproc/py-ntc-templates/Makefile b/textproc/py-ntc-templates/Makefile
index b6c0c2e04bad..4229ce676d6b 100644
--- a/textproc/py-ntc-templates/Makefile
+++ b/textproc/py-ntc-templates/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ntc-templates
 DISTVERSIONPREFIX=	v
-DISTVERSION=	7.5.0
+DISTVERSION=	7.6.0
 CATEGORIES=	textproc net-mgmt python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -27,7 +27,4 @@ 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 647b06d8ce09..1a67edca7907 100644
--- a/textproc/py-ntc-templates/distinfo
+++ b/textproc/py-ntc-templates/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733985805
-SHA256 (networktocode-ntc-templates-v7.5.0_GH0.tar.gz) = 5b9875ded3e323563c9c34363696667814f1d7b7eb167a5e14397b79998c41ec
-SIZE (networktocode-ntc-templates-v7.5.0_GH0.tar.gz) = 1511135
+TIMESTAMP = 1737892327
+SHA256 (networktocode-ntc-templates-v7.6.0_GH0.tar.gz) = bfb45027918282239bccfe93a74ac7b1d612cae628735c0740789b30ac9d0454
+SIZE (networktocode-ntc-templates-v7.6.0_GH0.tar.gz) = 1535241
diff --git a/textproc/py-ntc-templates/files/patch-pyproject.toml b/textproc/py-ntc-templates/files/patch-pyproject.toml
index 2512dc0160f3..61f7908372da 100644
--- a/textproc/py-ntc-templates/files/patch-pyproject.toml
+++ b/textproc/py-ntc-templates/files/patch-pyproject.toml
@@ -1,19 +1,8 @@
-Use the actual version, otherwise it would lead to staging errors as the
-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	2024-09-18 13:56:50 UTC
+--- pyproject.toml.orig	2025-01-15 19:24:55 UTC
 +++ pyproject.toml
-@@ -1,6 +1,6 @@ name = "ntc_templates"
- [tool.poetry]
- name = "ntc_templates"
--version = "6.0.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"
 @@ -20,8 +20,6 @@ include = [
      "Programming Language :: Python :: 3.12",
  ]