<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e2a2c8ebe1916ce98c7d24ae4f8b071bf429eb7e">https://github.com/macports/macports-ports/commit/e2a2c8ebe1916ce98c7d24ae4f8b071bf429eb7e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e2a2c8ebe1916ce98c7d24ae4f8b071bf429eb7e
</span>Author: Kurt Hindenburg <kurt.hindenburg@gmail.com>
AuthorDate: Wed May 6 10:42:10 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-jaraco.functools: update to 3.0.1; fix build for < py36; enable tests
</span>---
python/py-jaraco.functools/Portfile | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-jaraco.functools/Portfile b/python/py-jaraco.functools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4c731f1..f3bbcb7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-jaraco.functools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-jaraco.functools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-jaraco.functools
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.0.1
</span> revision 0
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,15 +19,17 @@ homepage https://pypi.python.org/pypi/${python.rootname}/
</span> master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e0e1b5589685d25c0cc862a48ccca714f06bc25a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5cb0eea0f254584241c519641328a4d4ec2001a86c3cd6d17a8fd228493f6d97 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 15618
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 267bfacbfc3ff22533d51206db9b10b2e7ddfff2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9fedc4be3117512ca3e03e1b2ffa7a6a6ffa589bfb7d02bfb324e55d493b94f4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 16996
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
python.versions 27 35 36 37 38
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools_scm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools_scm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-toml
</span>
depends_lib-append \
port:py${python.version}-more-itertools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,15 +37,33 @@ if {${name} ne ${subport}} {
</span> if {${python.version} eq 27} {
depends_lib-append \
port:py${python.version}-backports-functools_lru_cache
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run no
</span> }
if {${python.version} < 36} {
version 2.0
revision 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Below distname is required for this to work
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> checksums rmd160 a345fd401aafd4774c84acf5dfe79a90f3b42409 \
sha256 35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345 \
size 14340
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} > 35} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-remove-modules.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Missing jaraco.classes so there are a few failures
</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}-pytest \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest-cov
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
livecheck.type none
}
</pre><pre style='margin:0'>
</pre>