mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 15:37:40 -04:00
textproc/py-ntc-templates: Update to 4.2.0
* Tweak the existing patch so that it also contains the current version while I'm here. Changelog: https://github.com/networktocode/ntc-templates/releases/tag/v4.2.0
This commit is contained in:
parent
f2dd58b26d
commit
873eee30b8
3 changed files with 9 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= ntc-templates
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 4.1.0
|
||||
DISTVERSION= 4.2.0
|
||||
CATEGORIES= textproc net-mgmt python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
|
@ -27,4 +27,7 @@ TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|' ${WRKSRC}/pyproject.toml
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1703065295
|
||||
SHA256 (networktocode-ntc-templates-v4.1.0_GH0.tar.gz) = 310858610d14a82b7a8fcd09b95262b3d3f64d4de07cd3c26e3b980e95cc9712
|
||||
SIZE (networktocode-ntc-templates-v4.1.0_GH0.tar.gz) = 1144934
|
||||
TIMESTAMP = 1706427859
|
||||
SHA256 (networktocode-ntc-templates-v4.2.0_GH0.tar.gz) = f282c2155e99dd93ffebf1f4e9210e711b9b9d9bcb4fa4fb131657c5f66cb786
|
||||
SIZE (networktocode-ntc-templates-v4.2.0_GH0.tar.gz) = 1164861
|
||||
|
|
|
@ -4,13 +4,13 @@ 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 2023-12-19 17:04:20 UTC
|
||||
--- pyproject.toml.orig 2024-01-27 23:01:03 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -1,6 +1,6 @@ name = "ntc_templates"
|
||||
[tool.poetry]
|
||||
name = "ntc_templates"
|
||||
-version = "4.0.1"
|
||||
+version = "4.1.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"
|
||||
|
|
Loading…
Add table
Reference in a new issue