diff --git a/textproc/py-ntc-templates/Makefile b/textproc/py-ntc-templates/Makefile index 1128e97971200..3a3f433657313 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 diff --git a/textproc/py-ntc-templates/distinfo b/textproc/py-ntc-templates/distinfo index 0736b55935f81..7109560bf3c25 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 04ec5f1e6d51e..027ad99c77e21 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 "] - license = "Apache-2.0" @@ -20,8 +20,6 @@ include = [ "Programming Language :: Python :: 3.12", ]