<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f0d2126e098b6778e1dc0c39447c457f52d70a13">https://github.com/macports/macports-ports/commit/f0d2126e098b6778e1dc0c39447c457f52d70a13</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f0d2126e098b6778e1dc0c39447c457f52d70a13
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Tue Aug 28 11:55:32 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-itsdangerous: fix livecheck
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - make use of python.rootname
</span><span style='display:block; white-space:pre;color:#404040;'> - update homepage to use https
</span><span style='display:block; white-space:pre;color:#404040;'> - modernize checksums
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span>---
python/py-itsdangerous/Portfile | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-itsdangerous/Portfile b/python/py-itsdangerous/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 05f7a4a..e543f2a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-itsdangerous/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-itsdangerous/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,9 @@
</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;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python 1.0
</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:#ffe0e0;'>-set realname itsdangerous
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${realname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-itsdangerous
</span> version 0.24
python.versions 27 34 35 36 37
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,21 +12,21 @@ supported_archs noarch
</span> maintainers {aronnax @lpsinger} openmaintainer
description Various helpers to pass trusted data to untrusted environments and back
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://pythonhosted.org/itsdangerous/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:[string index ${realname} 0]/${realname}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${realname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pythonhosted.org/itsdangerous/
</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;'>+distname ${python.rootname}-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 a3d55aa79369aef5345c036a8a26307f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 0a6ae9c20cd72e89d75314ebc7b0f390f93e6a0d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 870c1cef9d39c74f2d376be07b50d0e11f343018
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 870c1cef9d39c74f2d376be07b50d0e11f343018 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 46541
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} eq ${subport}} {
</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 "https://pypi.python.org/pypi?:action=doap&name=${realname}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex {<release><Version><revision>([^<]+)</revision></Version></release>}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span> depends_build-append \
port:py${python.version}-setuptools
<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} tests.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>