<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/550308cc6ee5a495bb526c2430c174ec6a4697a0">https://github.com/macports/macports-ports/commit/550308cc6ee5a495bb526c2430c174ec6a4697a0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 550308cc6ee5a495bb526c2430c174ec6a4697a0
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sun Jul 22 14:55:17 2018 +0800
<span style='display:block; white-space:pre;color:#404040;'> py-editorconfig: update to 0.12.2 and add py37 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Other changes:
</span><span style='display:block; white-space:pre;color:#404040;'> * Add tests
</span><span style='display:block; white-space:pre;color:#404040;'> * Switch to GitHub repo for test files
</span>---
python/py-editorconfig/Portfile | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-editorconfig/Portfile b/python/py-editorconfig/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4b854f3..5d07cc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-editorconfig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-editorconfig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,31 +1,49 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span> PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# 0.12.2 is not tagged (https://github.com/editorconfig/editorconfig-core-py/issues/23)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup editorconfig editorconfig-core-py 596da5e06ebee05bdbdc6224203c79c4d3c6486a
</span> name py-editorconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.12.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.12.2
</span> platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license NULL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span> maintainers {yan12125 @yan12125} openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description EditorConfig File Locator and Interpreter for Python
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://editorconfig.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:E/EditorConfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname EditorConfig-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://editorconfig.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 27d91dd996f5fbd4886f25ea3d88da7cb778b522 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8e911fb688560185a0e08e0026e6ea92da5b1868fbe985be2b07228e7e292936 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 19087
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 d9178fe1da74601b02a68a6310eca804 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 8c050fdca3beb02df8219e7ebe33700fa84eb592 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8b53c857956194a21043753c9adca5a5b0eaef6cf1db3273a362ddec78f2b8e3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 36 37
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "git submodule update --init"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/cmake:cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "cmake ."
</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 ctest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target -VV --output-on-failure .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
} else {
livecheck.type pypi
</pre><pre style='margin:0'>
</pre>