textproc/py-ntc-templates: Update to 7.1.0

* Re-add the tweak of 873eee30b8 for the existing patch so that it
  also contains the current version.

Changelogs since 6.0.0:

https://github.com/networktocode/ntc-templates/releases/tag/v7.1.0
https://github.com/networktocode/ntc-templates/releases/tag/v7.0.0
This commit is contained in:
Kai Knoblich 2024-09-27 15:47:41 +02:00
parent b57cbe5e7a
commit b165f773f4
3 changed files with 19 additions and 5 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= ntc-templates PORTNAME= ntc-templates
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 6.0.0 DISTVERSION= 7.1.0
CATEGORIES= textproc net-mgmt python CATEGORIES= textproc net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -27,4 +27,7 @@ TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|' ${WRKSRC}/pyproject.toml
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1721275150 TIMESTAMP = 1727442242
SHA256 (networktocode-ntc-templates-v6.0.0_GH0.tar.gz) = f67701c01a86495f9b137a075f7806c381af5aa0fa91195d7960492e7aac5e2c SHA256 (networktocode-ntc-templates-v7.1.0_GH0.tar.gz) = 580457e8147fb0088211a5a34719d28480d20fc0ca6fd0965e486c2685db37f5
SIZE (networktocode-ntc-templates-v6.0.0_GH0.tar.gz) = 1269154 SIZE (networktocode-ntc-templates-v7.1.0_GH0.tar.gz) = 1477512

View file

@ -1,8 +1,19 @@
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/" Avoid installing "LICENSE" and "README.md" on top of Python's "site-packages/"
directory which would lead to conflicting packages. directory which would lead to conflicting packages.
--- pyproject.toml.orig 2024-02-09 20:50:23 UTC --- pyproject.toml.orig 2024-09-18 13:56:50 UTC
+++ pyproject.toml +++ 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 = [ @@ -20,8 +20,6 @@ include = [
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
] ]