git: b2cf776f9825 - main - textproc/py-ntc-templates: Update to 4.3.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 11 Feb 2024 12:42:17 UTC
The branch main has been updated by kai:

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

commit b2cf776f9825ff903fb78e62de80a2a9a997a413
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-02-11 12:38:06 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-02-11 12:41:24 +0000

    textproc/py-ntc-templates: Update to 4.3.0
    
    Changelog:
    
    https://github.com/networktocode/ntc-templates/releases/tag/v4.3.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 1128e9797120..3a3f43365731 100644
--- a/textproc/py-ntc-templates/Makefile
+++ b/textproc/py-ntc-templates/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ntc-templates
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.2.0
+DISTVERSION=	4.3.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 0736b55935f8..7109560bf3c2 100644
--- a/textproc/py-ntc-templates/distinfo
+++ b/textproc/py-ntc-templates/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706427859
-SHA256 (networktocode-ntc-templates-v4.2.0_GH0.tar.gz) = f282c2155e99dd93ffebf1f4e9210e711b9b9d9bcb4fa4fb131657c5f66cb786
-SIZE (networktocode-ntc-templates-v4.2.0_GH0.tar.gz) = 1164861
+TIMESTAMP = 1707550383
+SHA256 (networktocode-ntc-templates-v4.3.0_GH0.tar.gz) = 8b7032efb73a6b13f9a27409108e6764300278c358e05e8781d378569a4dcd7c
+SIZE (networktocode-ntc-templates-v4.3.0_GH0.tar.gz) = 1184170
diff --git a/textproc/py-ntc-templates/files/patch-pyproject.toml b/textproc/py-ntc-templates/files/patch-pyproject.toml
index 04ec5f1e6d51..027ad99c77e2 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-01-27 23:01:03 UTC
+--- pyproject.toml.orig	2024-02-09 20:50:23 UTC
 +++ pyproject.toml
-@@ -1,6 +1,6 @@ name = "ntc_templates"
- [tool.poetry]
- name = "ntc_templates"
--version = "4.0.1"
-+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",
  ]