<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5b9d417d2e3db657693616bc041b4d6bf57373ae">https://github.com/macports/macports-ports/commit/5b9d417d2e3db657693616bc041b4d6bf57373ae</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5b9d417d2e3db657693616bc041b4d6bf57373ae
</span>Author: Felix Dreißig <f30@f30.me>
AuthorDate: Sun Oct 29 18:58:43 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-gnupg: Actually run tests and fix their execution
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * When the default test target "test" gets passed as an argument, only a
</span><span style='display:block; white-space:pre;color:#404040;'> subset of the tests, or none at all, are being run.
</span><span style='display:block; white-space:pre;color:#404040;'> * The same is true for test args like `-o addopts=''`.
</span><span style='display:block; white-space:pre;color:#404040;'> * `TMPDIR` being set to a path within `${workpath}` can easily result in
</span><span style='display:block; white-space:pre;color:#404040;'> a "socket name '...' is too long" error from gpg-agent.
</span>---
python/py-gnupg/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gnupg/Portfile b/python/py-gnupg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 73610282926..086db4bbe84 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gnupg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gnupg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,4 +37,9 @@ if {${subport} ne ${name}} {
</span>
test.run yes
test.cmd ${python.bin} test_gnupg.py
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.args ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # `TMPDIR` being set to a path within `${workpath}` can easily result in a "socket name '...' is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # too long" error from gpg-agent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env TMPDIR=/tmp
</span> }
</pre><pre style='margin:0'>
</pre>