<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/c08fe50c4196db04f8f9955f29af734ae6c108f1">https://github.com/macports/macports-ports/commit/c08fe50c4196db04f8f9955f29af734ae6c108f1</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 c08fe50c419 libfaiss: Add Python 310
</span>c08fe50c419 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c08fe50c4196db04f8f9955f29af734ae6c108f1
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Thu Jul 21 21:43:54 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> libfaiss: Add Python 310
</span>---
math/libfaiss/Portfile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/libfaiss/Portfile b/math/libfaiss/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 49fe56ed1a8..3eab54fc985 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/libfaiss/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/libfaiss/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,7 +53,7 @@ variant openblas description {Use OpenBLAS instead of Apple's Accelerate framewo
</span> default_variants +openblas
# 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}-${github.project} {
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -124,9 +124,6 @@ if {[string match "py*" ${subport}]} {
</span> }
test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.dir ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target tests
</span> test.env-append \
"PATH=$env(PATH):${python.prefix}/bin" \
"PYTHONPATH=${configure.dir}/faiss/python"
</pre><pre style='margin:0'>
</pre>