<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0d7085ce2a333d4d8067629e16c6a630eebe3bfa">https://github.com/macports/macports-ports/commit/0d7085ce2a333d4d8067629e16c6a630eebe3bfa</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0d7085ce2a333d4d8067629e16c6a630eebe3bfa
</span>Author: Andrew Stromnov <stromnov@gmail.com>
AuthorDate: Mon Jun 19 09:31:38 2017 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-tatsu: new port
</span>---
python/py-tatsu/Portfile | 50 ++++++++++++++++++++++++++++
python/py-tatsu/files/patch-MANIFEST.in.diff | 12 +++++++
python/py-tatsu/files/patch-setup.py.diff | 20 +++++++++++
3 files changed, 82 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tatsu/Portfile b/python/py-tatsu/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..aee5286
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tatsu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,50 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-tatsu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append devel textproc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers stromnov openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Tool that takes grammars in a variation of EBNF as input, and outputs memoizing PEG parsers in Python.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/neogeny/tatsu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname TatSu-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b47de5a310f1f64819dd42d9085076234292fa4a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cd61221d0a2fa68f0b7d1fae8314f881993033a392433b7153574c94d5875329
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-setup.py.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-MANIFEST.in.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix permissions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse item ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isdirectory ${item}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${item} -permissions a+rx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[file isfile ${item}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${item} -permissions a+r
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tatsu/files/patch-MANIFEST.in.diff b/python/py-tatsu/files/patch-MANIFEST.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f3efe66
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tatsu/files/patch-MANIFEST.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- MANIFEST.in.orig 2017-06-18 19:04:33.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ MANIFEST.in 2017-06-19 08:55:10.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9,6 +9,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ recursive-include etc *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ recursive-exclude etc *.pdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++recursive-exclude test *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++prune test*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ recursive-include examples/g2e *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exclude examples/g2e/antlr_parser.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exclude examples/g2e/python.ebnf
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tatsu/files/patch-setup.py.diff b/python/py-tatsu/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..04cb374
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tatsu/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2017-06-18 19:11:17.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2017-06-19 09:09:30.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,7 +38,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description=SHORT_DESCRIPTION,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description=io.open('README.rst', encoding='utf-8').read(),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license='BSD License',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- packages=setuptools.find_packages(),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ packages=setuptools.find_packages(exclude=['*.test', '*.test.*', 'test.*', 'test']),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include_package_data=True,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ entry_points={
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'console_scripts': [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -66,7 +66,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Topic :: Text Processing :: General'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_requires=[],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- setup_requires=['pytest-runner'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ setup_requires=[],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tests_require=['pytest-mypy'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extras_require={
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'future-regex': ['regex']
</span></pre><pre style='margin:0'>
</pre>