<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/47ffac7da71260d1905004e8bb7087eca60dc90b">https://github.com/macports/macports-ports/commit/47ffac7da71260d1905004e8bb7087eca60dc90b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 47ffac7da71260d1905004e8bb7087eca60dc90b
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Fri Nov 29 21:35:37 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-oauthlib: remove py34 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - default PyPI livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> - modernize checksums
</span><span style='display:block; white-space:pre;color:#404040;'> - fix dependencies and tests
</span>---
python/py-oauthlib/Portfile | 38 ++++++++++++++++++--------------------
1 file changed, 18 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-oauthlib/Portfile b/python/py-oauthlib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5331d3b..112e8f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-oauthlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-oauthlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,11 +3,10 @@
</span> PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name oauthlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set _n [string index ${_name} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-oauthlib
</span> version 1.0.3
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories-append net security
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,34 +17,33 @@ description A generic, spec-compliant, thorough implementation of the \
</span> OAuth request-signing logic.
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/${_name}/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:${_n}/${_name}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/oauthlib/oauthlib
</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 02772867bf246b3b37f4ed22786c41f5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 07c48a5947b47d4511428c690452569f2191cc11 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ef4bfe4663ca3b97a995860c0173b967ebd98033d02f38c9e1b2cbb6c191d9ad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 07c48a5947b47d4511428c690452569f2191cc11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ef4bfe4663ca3b97a995860c0173b967ebd98033d02f38c9e1b2cbb6c191d9ad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 109095
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37
</span>
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-blinker \
port:py${python.version}-cryptography \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-jwt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-nose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-jwt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-nose \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-mock
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${python.version} < 30 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${python.version}-unittest2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-mock
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} eq 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-unittest2
</span> }
test.run yes
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</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/${_name}/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\""
</span> }
</pre><pre style='margin:0'>
</pre>