Skip to content

Commit

Permalink
textproc/py-ntc-templates: Update to 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
knobix committed Dec 20, 2023
1 parent 990eca3 commit fd50dba
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
6 changes: 4 additions & 2 deletions textproc/py-ntc-templates/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= ntc-templates
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.1
DISTVERSION= 4.1.0
CATEGORIES= textproc net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

Expand All @@ -13,7 +13,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}textfsm>=1.1.0<2.0.0:textproc/py-textfsm@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}invoke>0:devel/py-invoke@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}

USES= python
Expand Down
6 changes: 3 additions & 3 deletions textproc/py-ntc-templates/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1698492030
SHA256 (networktocode-ntc-templates-v4.0.1_GH0.tar.gz) = 5966799100578a2bd8f35573fa8a9aff33feee4689822c6b3f8dd701ce5bef32
SIZE (networktocode-ntc-templates-v4.0.1_GH0.tar.gz) = 1084635
TIMESTAMP = 1703065295
SHA256 (networktocode-ntc-templates-v4.1.0_GH0.tar.gz) = 310858610d14a82b7a8fcd09b95262b3d3f64d4de07cd3c26e3b980e95cc9712
SIZE (networktocode-ntc-templates-v4.1.0_GH0.tar.gz) = 1144934
17 changes: 14 additions & 3 deletions textproc/py-ntc-templates/files/patch-pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
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 2023-02-23 18:07:16 UTC
--- pyproject.toml.orig 2023-12-19 17:04:20 UTC
+++ pyproject.toml
@@ -19,8 +19,6 @@ include = [
"Programming Language :: Python :: 3.10",
@@ -1,6 +1,6 @@ name = "ntc_templates"
[tool.poetry]
name = "ntc_templates"
-version = "4.0.1"
+version = "4.1.0"
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",
]
include = [
- "LICENSE",
Expand Down

0 comments on commit fd50dba

Please sign in to comment.