<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/66d6992fe9b4816bbf93e88fee26d58c3a4a8a46">https://github.com/macports/macports-ports/commit/66d6992fe9b4816bbf93e88fee26d58c3a4a8a46</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 66d6992fe9b py-torchaudio: Submission
</span>66d6992fe9b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 66d6992fe9b4816bbf93e88fee26d58c3a4a8a46
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Thu Mar 25 18:05:36 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-torchaudio: Submission
</span>---
python/py-torchaudio/Portfile | 67 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-torchaudio/Portfile b/python/py-torchaudio/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..fb28cd598bc
</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-torchaudio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,67 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup pytorch audio 0.8.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-torchaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Data manipulation and transformation for audio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ signal processing, powered by PyTorch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The aim of torchaudio is to apply PyTorch to the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ audio domain. By supporting PyTorch, torchaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ follows the same philosophy of providing strong \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GPU acceleration, having a focus on trainable \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ features through the autograd system, and having \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ consistent style (tensor names and dimension \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ names). Therefore, it is primarily a machine \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ learning library and not a general signal \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ processing library. The benefits of PyTorch can be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ seen in torchaudio through having all the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ computations be through PyTorch operations which\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ makes it easy to use and feel like a natural \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extension.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fe693d72d64b1a651351619aae0a58106bbd9ce3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c0ae4b1573526d8b04e581393dec74bd31b999a34f377595aecdeef766d79f48 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3503436
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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}-pytorch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "git submodule update --init --recursive"
</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;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</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 py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</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;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>