<pre style='margin:0'>
Lawrence Velázquez (larryv) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a49b23d02fec621b398b4a1afe33243a6eacebcc">https://github.com/macports/macports-ports/commit/a49b23d02fec621b398b4a1afe33243a6eacebcc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a49b23d02fec621b398b4a1afe33243a6eacebcc
</span>Author: Lawrence Velázquez <larryv@macports.org>
AuthorDate: Fri Dec 2 21:26:41 2016 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-yaml: Remove $Id$, rearrange, reformat
</span>---
python/py-yaml/Portfile | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-yaml/Portfile b/python/py-yaml/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e36b1c2..470a6f8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-yaml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-yaml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,4 @@
</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
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,26 +15,20 @@ long_description PyYAML is a YAML parser and emitter for Python, which \
</span> supports YAML 1.1, unicode input and output, low-level \
event-based parser and emitter API, high-level API for \
serializing and deserializing native Python objects.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> homepage http://pyyaml.org/wiki/PyYAML
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://pyyaml.org/download/pyyaml/
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites http://pyyaml.org/download/pyyaml
</span> distname PyYAML-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> checksums rmd160 9515e7573c7e021190198b242a415f2b55d50938 \
sha256 c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8
python.versions 26 27 33 34 35
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url http://pyyaml.org/download/pyyaml/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex PyYAML-(\[0-9+\]\.\[0-9\]+)\.tar\.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:py${python.version}-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libyaml
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libyaml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-setup.py
</span>
post-patch {
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,11 +38,15 @@ if {${name} ne ${subport}} {
</span> xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/examples
xinstall -m 755 -d \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}/examples/yaml-highlight
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} LICENSE README \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath}/examples/yaml-highlight yaml_hl.cfg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yaml_hl.py \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}/examples/yaml-highlight
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}/examples/yaml-highlight
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LICENSE README \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath}/examples/yaml-highlight \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ yaml_hl.cfg yaml_hl.py \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}/examples/yaml-highlight
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://pyyaml.org/download/pyyaml/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex PyYAML-(\[0-9+\]\.\[0-9\]+)\.tar\.gz
</span></pre><pre style='margin:0'>
</pre>