<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/481f957cb518f20307bf067f68b3855ad403f15c">https://github.com/macports/macports-ports/commit/481f957cb518f20307bf067f68b3855ad403f15c</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 481f957 py-gacode:Update to version 0.50
</span>481f957 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 481f957cb518f20307bf067f68b3855ad403f15c
</span>Author: Sterling Smith <smithsp@fusion.gat.com>
AuthorDate: Thu Feb 27 13:39:06 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> py-gacode:Update to version 0.50
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Upstream changed its location to pygacode
</span><span style='display:block; white-space:pre;color:#404040;'> * Need to strip import test during setup.py install phase, which is MacPorts
</span><span style='display:block; white-space:pre;color:#404040;'> destroot phase before name unmangling
</span><span style='display:block; white-space:pre;color:#404040;'> * Add test phase
</span>---
python/py-gacode/Portfile | 26 ++++++++++++++++++++------
python/py-gacode/files/patch-setup.py.diff | 10 ++++++++++
2 files changed, 30 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gacode/Portfile b/python/py-gacode/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b11856b..cd46bc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gacode/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gacode/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,9 @@ PortGroup python 1.0
</span> PortGroup compilers 1.0
name py-gacode
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.40
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.50
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname pygacode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
compilers.setup default_fortran
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,11 +22,23 @@ long_description ${description}
</span> license MIT
homepage https://gacode.io
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f60a9ce677c528f67543390b25898f863047a4bf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 831345b6efaa95616f3230107ad27f96157de8034c77778de98f05989179cc67 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 18889
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 aa48614c5a90755e6763c9e712b20c822aa93920 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 90603c244172f1d4f1a424603c6500361a623d046f7da9d7c221616af62caced \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 29258
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-setup.py.diff
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${python.version}-numpy
</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}-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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><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 ${python.bin} -c 'from pygacode.test import test_install'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gacode/files/patch-setup.py.diff b/python/py-gacode/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3bd70b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gacode/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2020-02-27 23:24:57.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2020-02-27 23:25:03.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,7 +20,3 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ packages=['pygacode.test'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ext_modules=[wrapper]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# only run tests when installing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if 'install' in sys.argv:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- from pygacode.test import test_install
</span></pre><pre style='margin:0'>
</pre>