<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/221f2aa70e9671ba23b0df39baa93f93d8a5418b">https://github.com/macports/macports-ports/commit/221f2aa70e9671ba23b0df39baa93f93d8a5418b</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 221f2aa pypi2port: Update to latest code as of 20180714
</span>221f2aa is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 221f2aa70e9671ba23b0df39baa93f93d8a5418b
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Aug 13 16:15:24 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> pypi2port: Update to latest code as of 20180714
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Offer python37 variant instead of python34, though the script still
</span><span style='display:block; white-space:pre;color:#404040;'> doesn't work completely with Python 3.
</span>---
sysutils/pypi2port/Portfile | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/pypi2port/Portfile b/sysutils/pypi2port/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58b5e39..297698a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/pypi2port/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/pypi2port/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,9 @@ PortSystem 1.0
</span> PortGroup python 1.0
name pypi2port
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 150787
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version 2018-07-14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version [string map {- {}} ${livecheck.version}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+svn.revision 576
</span> categories sysutils macports
platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,18 +18,17 @@ long_description ${description} from pypi
</span> homepage https://trac.macports.org/wiki/${name}
fetch.type svn
<span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.url https://svn.macports.org/repository/macports/contrib/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+svn.url https://github.com/macports/macports-contrib/trunk/${name}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python34 description {Use Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python27 description {Use Python 3.4} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset python34]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.default_version 34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python37 description {Use Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 description {Use Python 3.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.default_version 37
</span> } else {
default_variants +python27
python.default_version 27
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# list dependencies
</span> depends_run-append port:py${python.version}-requests
worksrcdir ${name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,13 +40,13 @@ post-patch {
</span> }
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name}/README.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/README.txt ${destroot}${docdir}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# TODO: check the latest svn revision of the file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Checks for latest revision in the commit log
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url http://trac.macports.org/log/contrib/pypi2port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {@(\d+)</a>}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regexm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://github.com/macports/macports-contrib/commits/master.atom
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {<title>[^<]*pypi2port[^<]*</title>\s*<updated>([0-9-]+)T}
</span></pre><pre style='margin:0'>
</pre>