aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2024-02-11 12:38:06 +0000
committerKai Knoblich <kai@FreeBSD.org>2024-02-11 12:41:24 +0000
commitb2cf776f9825ff903fb78e62de80a2a9a997a413 (patch)
treecc3de8bfb201088a7bd6ef0a8ea733f5790899cf
parentf15dffd21feaca3b64928af40a4e323a21105168 (diff)
downloadports-b2cf776f9825ff903fb78e62de80a2a9a997a413.tar.gz
ports-b2cf776f9825ff903fb78e62de80a2a9a997a413.zip
textproc/py-ntc-templates: Update to 4.3.0
-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 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",
]