<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/e492eb36db1fa9043063aba05dd9081870c90290">https://github.com/macports/macports-ports/commit/e492eb36db1fa9043063aba05dd9081870c90290</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e492eb36db1fa9043063aba05dd9081870c90290
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Fri Jun 9 09:10:40 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-obspy: update to 1.4.0, add py311
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/67492
</span>---
python/py-obspy/Portfile | 27 +++++++++++++--------------
python/py-obspy/files/obspy311 | 25 +++++++++++++++++++++++++
2 files changed, 38 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-obspy/Portfile b/python/py-obspy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ca8e1f37ef..44bd87b96e6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-obspy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-obspy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,8 @@ PortGroup python 1.0
</span> PortGroup select 1.0
name py-obspy
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories-append science
license LGPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,20 +22,17 @@ long_description \
</span>
homepage https://github.com/obspy/obspy/wiki/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 0749995518d9b4630b87e208310e1c4647067cba \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1c204507b5acb1f3e034ced6fb155e66da87c066a078095f28fc5e251f735521 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 16887412
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3e861220a8616ba1e68f16851296c197e3d80b90 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 336a6e1d9a485732b08173cb5dc1dd720a8e53f3b54c180a62bb8ceaa5fe5c06 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 16984057
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 38 39 310
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Note:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Python 3.11 is supported by obspy, but major dependencies miss py311 subport.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 38 39 310 311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.pep517 yes
</span>
if {${name} ne ${subport}} {
# py-scipy is not universal
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append port:py${python.version}-decorator \
port:py${python.version}-lxml \
port:py${python.version}-matplotlib \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,12 +46,14 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-cartopy \
port:py${python.version}-pyshp
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Note: Required for post-installation testing only
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${python.version}-packaging \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append port:py${python.version}-packaging \
</span> port:py${python.version}-pyproj \
port:py${python.version}-pytest \
port:py${python.version}-pytest-json-report
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.args -k \"not test_tsindex.py"\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # add manpages
depends_build-append port:help2man
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,13 +67,12 @@ if {${name} ne ${subport}} {
</span> ln -s ../../${libsrc}/${l} ${libtgt}/.
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "${build.cmd} build_man"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${python.bin} setup.py --no-user-cfg build_man"
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "${destroot.cmd} install_man ${destroot.destdir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${python.bin} setup.py --no-user-cfg install_man --prefix=${python.prefix} --root=${destroot}"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # port select
</span> depends_run-append port:${python.rootname}_select
select.group ${python.rootname}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-obspy/files/obspy311 b/python/py-obspy/files/obspy311
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..796642653a3
</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-obspy/files/obspy311
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-dataless2resp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-dataless2xseed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-flinn-engdahl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-indexer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-mopad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-mseed-recordanalyzer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-plot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-print
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-reftek-rescue
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-runtests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-scan
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-sds-report
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/bin/obspy-xseed2dataless
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-dataless2resp.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-dataless2xseed.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-flinn-engdahl.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-indexer.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-mopad.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-mseed-recordanalyzer.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-plot.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-reftek-rescue.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-runtests.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-scan.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-sds-report.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.11/share/man/man1/obspy-xseed2dataless.1
</span></pre><pre style='margin:0'>
</pre>