<pre style='margin:0'>
Mark Moll (mamoll) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e4ce473a21ec64b9a7c5ba650ea2649fc48a561">https://github.com/macports/macports-ports/commit/4e4ce473a21ec64b9a7c5ba650ea2649fc48a561</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 4e4ce47 py-tables: fix py27 and py38 subports
</span>4e4ce47 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4e4ce473a21ec64b9a7c5ba650ea2649fc48a561
</span>Author: Mark Moll <mmoll@macports.org>
AuthorDate: Thu Oct 24 13:20:54 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-tables: fix py27 and py38 subports
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - revert py27 to last version that supports python 2.7
</span><span style='display:block; white-space:pre;color:#404040;'> - remove cython-generated files and let pyXY-cython automatically regenerate them. Needed for py38 subport.
</span>---
python/py-tables/Portfile | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tables/Portfile b/python/py-tables/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6306c69..659975b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tables/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tables/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup mpi 1.0
</span> set realname tables
name py-${realname}
version 3.6.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append science
platforms darwin
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +34,16 @@ distname ${realname}-${version}
</span> mpi.setup
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Last version that supports python 2.7
</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;'>+ version 3.5.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${realname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 9e5aa9f3b270888c853eb5f30cd6461a362bb1c1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b220e32262bab320aa41d33125a7851ff898be97c0de30b456247508e2cc33c2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7825372
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.target build_ext
build.args --inplace \
--hdf5=${prefix} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,7 +88,8 @@ if {${name} ne ${subport}} {
</span> }
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -q "s:utils.h:xxx_utils.h:" {*}[glob ${worksrcpath}/{src,tables}/*.c]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete {*}[glob ${worksrcpath}/tables/*.c]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s:utils.h:xxx_utils.h:" {*}[glob ${worksrcpath}/{src,tables}/*.{c,pxd,pyx}]
</span> }
post-destroot {
</pre><pre style='margin:0'>
</pre>