<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/94dacbb5c05dad86cb8e5e15997fcf6b6f1e86dd">https://github.com/macports/macports-ports/commit/94dacbb5c05dad86cb8e5e15997fcf6b6f1e86dd</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 94dacbb py-brotlipy: Fix test failure from clean state
</span>94dacbb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 94dacbb5c05dad86cb8e5e15997fcf6b6f1e86dd
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Aug 7 21:05:02 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-brotlipy: Fix test failure from clean state
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Tests would fail (because `PYTHONPATH` was empty) unless the user first
</span><span style='display:block; white-space:pre;color:#404040;'> manually ran `sudo port build pyXX-brotlipy` before running
</span><span style='display:block; white-space:pre;color:#404040;'> `sudo port test pyXX-brotlipy`.
</span>---
python/py-brotlipy/Portfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-brotlipy/Portfile b/python/py-brotlipy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4db52b3..b3905bd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-brotlipy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-brotlipy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +34,9 @@ if {${name} ne ${subport}} {
</span> depends_test-append port:py${python.version}-pytest \
port:py${python.version}-hypothesis
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> test.run yes
test.cmd py.test-${python.branch}
test.target test
</pre><pre style='margin:0'>
</pre>