git: b4042b05ada1 - main - textproc/py-ttp-templates: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Jul 2022 12:07:23 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b4042b05ada149e964dac0fa534a89e08ea73ab1
commit b4042b05ada149e964dac0fa534a89e08ea73ab1
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-07-17 11:57:34 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-07-17 12:04:31 +0000
textproc/py-ttp-templates: New port
This package contains a collection of TTP (= Template Text Parser)
templates, which is divided into three sections corresponding to folder
names:
* "platform" collection
Mimics ntc-templates API and follows same naming rule.
* "yang" collection
Contains templates capable of producing YANG compatible structures out
of text data.
* "misc" collection
Miscellaneous templates for various use cases organized in folders.
WWW: https://github.com/dmulyalin/ttp_templates
---
textproc/Makefile | 1 +
textproc/py-ttp-templates/Makefile | 21 +++++++++++++++++++++
textproc/py-ttp-templates/distinfo | 3 +++
textproc/py-ttp-templates/pkg-descr | 14 ++++++++++++++
4 files changed, 39 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index acf23c75c4e2..9c273b5fd591 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1545,6 +1545,7 @@
SUBDIR += py-translationstring
SUBDIR += py-transpopy
SUBDIR += py-ttp
+ SUBDIR += py-ttp-templates
SUBDIR += py-typogrify
SUBDIR += py-ucl
SUBDIR += py-ufal.udpipe
diff --git a/textproc/py-ttp-templates/Makefile b/textproc/py-ttp-templates/Makefile
new file mode 100644
index 000000000000..421594ef81e3
--- /dev/null
+++ b/textproc/py-ttp-templates/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= ttp-templates
+DISTVERSION= 0.3.1
+CATEGORIES= textproc net-mgmt python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ttp_templates-${DISTVERSION}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Template Text Parser templates collections
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ttp>=0.6.0:textproc/py-ttp@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-ttp-templates/distinfo b/textproc/py-ttp-templates/distinfo
new file mode 100644
index 000000000000..a5691677b144
--- /dev/null
+++ b/textproc/py-ttp-templates/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1658048594
+SHA256 (ttp_templates-0.3.1.tar.gz) = 1916a8b165071fc818be22664b67eb7698dc439c287369c15559e00ea450a5b3
+SIZE (ttp_templates-0.3.1.tar.gz) = 33933
diff --git a/textproc/py-ttp-templates/pkg-descr b/textproc/py-ttp-templates/pkg-descr
new file mode 100644
index 000000000000..a8a2733a84a4
--- /dev/null
+++ b/textproc/py-ttp-templates/pkg-descr
@@ -0,0 +1,14 @@
+This package contains a collection of TTP (= Template Text Parser) templates,
+which is divided into three sections corresponding to folder names:
+
+* "platform" collection
+ Mimics ntc-templates API and follows same naming rule.
+
+* "yang" collection
+ Contains templates capable of producing YANG compatible structures out
+ of text data.
+
+* "misc" collection
+ Miscellaneous templates for various use cases organized in folders.
+
+WWW: https://github.com/dmulyalin/ttp_templates