Skip to content

Commit

Permalink
textproc/py-ntc-templates: Update to 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
knobix committed Feb 11, 2024
1 parent f15dffd commit b2cf776
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
5 changes: 1 addition & 4 deletions 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}

Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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
13 changes: 1 addition & 12 deletions 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",
]
Expand Down

0 comments on commit b2cf776

Please sign in to comment.