aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2022-07-17 11:57:34 +0000
committerKai Knoblich <kai@FreeBSD.org>2022-07-17 12:04:31 +0000
commitb4042b05ada149e964dac0fa534a89e08ea73ab1 (patch)
treef986790fbb80eae5e54529ea7be6bf596b2f26ca
parentce547df4b991787d0b6b064bead52044db5a1299 (diff)
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
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-ttp-templates/Makefile21
-rw-r--r--textproc/py-ttp-templates/distinfo3
-rw-r--r--textproc/py-ttp-templates/pkg-descr14
4 files changed, 39 insertions, 0 deletions
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