<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ed437ee523cbe6c04f63a8386e0e55349d421b33">https://github.com/macports/macports-ports/commit/ed437ee523cbe6c04f63a8386e0e55349d421b33</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 ed437ee523c py-requests: fix py-idna dependency
</span>ed437ee523c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ed437ee523cbe6c04f63a8386e0e55349d421b33
</span>Author: Andrey Stromnov <stromnov@macports.org>
AuthorDate: Sun Jan 10 20:19:14 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-requests: fix py-idna dependency
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/62017
</span>---
python/py-requests/Portfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-requests/Portfile b/python/py-requests/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 70756944666..e733f683bfa 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-requests/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-requests/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span>
name py-requests
version 2.25.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append devel
platforms darwin
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +34,11 @@ checksums rmd160 4a8a60da9b3619a53bd5a74245e58123702ae7e6 \
</span> if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|idna>=2.5,<3|idna>=2.5|" ${worksrcpath}/setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:py${python.version}-chardet \
port:py${python.version}-idna \
port:py${python.version}-urllib3 \
</pre><pre style='margin:0'>
</pre>