freebsd-ports/textproc/py-ntc-templates/files/patch-pyproject.toml
Kai Knoblich b165f773f4 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
2024-09-27 15:47:41 +02:00

25 lines
831 B
TOML

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-09-18 13:56:50 UTC
+++ 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 = [
"Programming Language :: Python :: 3.12",
]
include = [
- "LICENSE",
- "README.md",
"ntc_templates/templates/*.textfsm",
"ntc_templates/templates/index",
]