Port details |
- py-ttp Template Text Parser
- 0.9.5 textproc
=2 0.9.5Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2020-10-15 20:00:17
- Last Update: 2023-07-09 10:20:50
- Commit Hash: 3676f2c
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/dmulyalin/ttp
- Description:
- TTP is a Python library for semi-structured text parsing using templates.
In essence, TTP can help to:
- Prepare, sort and load text data for parsing
- Parse text using regexes dynamically derived out of templates
- Process matches on the fly using broad set of built-in or custom functions
- Combine match results in a structure with arbitrary hierarchy
- Transform results in desired format to ease consumption by humans or machines
- Return results to various destinations for storage or further processing
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ttp>0:textproc/py-ttp@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-ttp/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-ttp
- pkg install py39-ttp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-ttp listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-ttp
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1688166338
SHA256 (ttp-0.9.5.tar.gz) = 234414f4d3039d2d1cde09993f89f8db1b34d447f76c6a402555cefac2e59c4e
SIZE (ttp-0.9.5.tar.gz) = 69141
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-poetry-core>=1.0.0 : devel/py-poetry-core@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- net-mgmt/py-napalm
- textproc/py-ttp-templates
Configuration Options:
- No options to configure
- Options name:
- textproc_py-ttp
- USES:
- dos2unix python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.9.5 09 Jul 2023 10:20:50
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.9.5
Changes: https://github.com/dmulyalin/ttp/releases |
0.9.4 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.9.4 27 Apr 2023 15:47:00
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.9.4
Changes: https://github.com/dmulyalin/ttp/releases |
0.9.3 18 Apr 2023 21:38:37
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.9.3
- Convert to USE_PYTHON=pep517
Changes: https://github.com/dmulyalin/ttp/releases |
0.9.2 30 Jan 2023 13:00:21
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.9.2
Changes: https://github.com/dmulyalin/ttp/releases |
0.9.1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.9.1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.9.1 20 Jul 2022 14:23:14
    |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.9.1 13 Jul 2022 00:19:15
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.9.1
Changes: https://github.com/dmulyalin/ttp/releases |
0.9.0 16 Jun 2022 14:00:54
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.9.0
Changes: https://github.com/dmulyalin/ttp/releases |
0.8.4_1 25 Jan 2022 19:51:17
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Do not install LICENSE to PREFIX
- Bump PORTREVISION for package change
PR: 261163
Reported by: se |
0.8.4 25 Jan 2022 19:50:27
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.8.4
Changes: https://github.com/dmulyalin/ttp/releases |
0.8.3 23 Jan 2022 18:52:24
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.8.3
Changes: https://github.com/dmulyalin/ttp/releases |
0.8.2 11 Jan 2022 18:44:44
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.8.2
Changes: https://github.com/dmulyalin/ttp/releases |
0.8.1 25 Oct 2021 21:46:48
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.8.1
Changes: https://github.com/dmulyalin/ttp/releases |
0.8.0 21 Sep 2021 03:44:59
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.8.0
Changes: https://github.com/dmulyalin/ttp/releases |
0.7.2 24 Jul 2021 20:22:18
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.7.2
Changes: https://github.com/dmulyalin/ttp/releases |
0.7.1 26 May 2021 12:55:36
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.7.1
Changes: https://github.com/dmulyalin/ttp/releases |
0.7.0 16 May 2021 15:24:16
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-ttp: Update to 0.7.0
Changes: https://github.com/dmulyalin/ttp/releases |
0.6.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.6.0 10 Jan 2021 08:23:15
  |
sunpoet  |
Remove PYTHON_REL check after r559531 (USES=python:3.6+) |
0.6.0 03 Jan 2021 20:16:40
  |
sunpoet  |
Update to 0.6.0
- Add LICENSE_FILE
Changes: https://github.com/dmulyalin/ttp/releases |
0.5.0 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.5.0 15 Oct 2020 19:59:37
  |
sunpoet  |
Add py-ttp 0.5.0
TTP is a Python library for semi-structured text parsing using templates.
In essence, TTP can help to:
- Prepare, sort and load text data for parsing
- Parse text using regexes dynamically derived out of templates
- Process matches on the fly using broad set of built-in or custom functions
- Combine match results in a structure with arbitrary hierarchy
- Transform results in desired format to ease consumption by humans or machines
- Return results to various destinations for storage or further processing
WWW: https://github.com/dmulyalin/ttp |