<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bab00f1d5f4232e6a9257b415cd8254fa5f8272e">https://github.com/macports/macports-ports/commit/bab00f1d5f4232e6a9257b415cd8254fa5f8272e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new bab00f1 py-xlsx2csv: new port
</span>bab00f1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bab00f1d5f4232e6a9257b415cd8254fa5f8272e
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Fri Feb 17 10:11:09 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-xlsx2csv: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> A working script for xlsx -> csv
</span>---
python/py-xlsx2csv/Portfile | 46 ++++++++++++++++++++++
.../files/patch-run-python-version.diff | 11 ++++++
2 files changed, 57 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-xlsx2csv/Portfile b/python/py-xlsx2csv/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2d96ce6
</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-xlsx2csv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,46 @@
</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-xlsx2csv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set real_name xlsx2csv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.7.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {khindenburg @kurthindenburg} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description xlsx to csv converter
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Converts xslx files to csv format.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Handles large XLSX files. Fast and easy to use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pypi.python.org/pypi/${real_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:x/${real_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${real_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${real_name}-${version}${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ea3757468cbdc86f91c5e9cc7171dc909e6cb5cf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7c6c8fa6c2774224d03a6a96049e116822484dccfa3634893397212ebcd23866
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Some issues still with Python 3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} ne ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build 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;'>+ patchfiles patch-run-python-version.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/test/run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__PYTHON_VERSION__|${python.branch}|g" ${worksrcpath}/test/run
</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;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} ${worksrcpath}/test/run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</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-xlsx2csv/files/patch-run-python-version.diff b/python/py-xlsx2csv/files/patch-run-python-version.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..be3ad29
</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-xlsx2csv/files/patch-run-python-version.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/run 2015-04-15 01:07:20.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/run 2017-02-17 10:05:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #!/usr/bin/env python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #PYTHON_VERSIONS = ["2.4", "2.7", "3.3"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PYTHON_VERSIONS = ["2.6", "2.7"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PYTHON_VERSIONS = ["__PYTHON_VERSION__"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ from subprocess import call
</span></pre><pre style='margin:0'>
</pre>