<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/5755048314ec238586d998d4a75a584bf4f00712">https://github.com/macports/macports-ports/commit/5755048314ec238586d998d4a75a584bf4f00712</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 5755048 py-mock: update to 4.0.1
</span>5755048 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5755048314ec238586d998d4a75a584bf4f00712
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Feb 9 20:06:47 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-mock: update to 4.0.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - pin to version 3.0.5 for PY27/PY35
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests for Python 3.6 and above
</span><span style='display:block; white-space:pre;color:#404040;'> - assume maintainership
</span>---
python/py-mock/Portfile | 34 +++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-mock/Portfile b/python/py-mock/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8143278..fd64541 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-mock/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-mock/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,23 +4,23 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-mock
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.0.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.0.1
</span> revision 0
categories-append devel
platforms darwin
supported_archs noarch
license BSD
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {reneeotten @reneeotten} openmaintainer
</span>
description Rolling backport of unittest.mock for all Pythons
long_description ${description}
homepage https://mock.readthedocs.org/en/latest/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums sha256 83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 45ba6e6c2b53e92b62bcf54be579ddb9f9087177 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 28126
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha256 2a572b715f09dd2f0a583d8aeb5bb67d7ed7a8fd31d193cf1227a99c16a67bc3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 bd67034e80da94ce3de2e8efaaba191e3e9f07cb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 71826
</span>
python.versions 27 35 36 37 38
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,12 +28,28 @@ if {${name} ne ${subport}} {
</span> depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-six
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} in "27 35"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.0.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums sha256 83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 45ba6e6c2b53e92b62bcf54be579ddb9f9087177 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 28126
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} eq 27} {
</span> depends_lib-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-funcsigs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-six
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-funcsigs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</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;'>+
</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> }
post-destroot {
</pre><pre style='margin:0'>
</pre>