summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/py-ntc-templates/Makefile5
-rw-r--r--textproc/py-ntc-templates/distinfo6
-rw-r--r--textproc/py-ntc-templates/files/patch-pyproject.toml13
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",
]