<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/628e50c8b8342270dd2c7f5d26081caeed4fde82">https://github.com/macports/macports-ports/commit/628e50c8b8342270dd2c7f5d26081caeed4fde82</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 628e50c8b8342270dd2c7f5d26081caeed4fde82
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Fri Jul 22 07:50:11 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> apache-arrow: revbump, Add Python 310
</span>---
devel/apache-arrow/Portfile | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/apache-arrow/Portfile b/devel/apache-arrow/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4694f97e490..ade8a944ae1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/apache-arrow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/apache-arrow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup github 1.0
</span> PortGroup boost 1.0
github.setup apache arrow 8.0.0 apache-arrow-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> name ${github.author}-${github.project}
categories devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -171,7 +171,7 @@ proc change_arrow_rpath { binname libname_re } {
</span> }
# create Python subports
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_versions {37 38 39}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_versions {37 38 39 310}
</span> foreach v ${python_versions} {
subport py${v}-py${github.project} {
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -201,6 +201,11 @@ if {[string match "py*" ${subport}]} {
</span> port:py${python.version}-pycares \
port:py${python.version}-numpy \
path:${python.pkgd}/tensorflow:py${python.version}-tensorflow
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} eq 310} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:${python.pkgd}/tensorflow:py${python.version}-tensorflow \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:${python.pkgd}/tensorflow:py${python.version}-tensorflow-macos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
depends_test-append \
port:py${python.version}-cffi \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -332,16 +337,10 @@ if {[string match "py*" ${subport}]} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-test {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PYTHONPATH=[glob -nocomplain ${build.dir}/build/lib*]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
test.env-append \
ARROW_TEST_DATA=${worksrcpath}/testing/data \
PARQUET_TEST_DATA=${worksrcpath}/cpp/submodules/parquet-testing/data
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd py.test-${python.branch}
</span> test.target
livecheck.type none
</pre><pre style='margin:0'>
</pre>