<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/69729ce5e077cba1c96d32a95c4fc9dddada67ce">https://github.com/macports/macports-ports/commit/69729ce5e077cba1c96d32a95c4fc9dddada67ce</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 69729ce5e077cba1c96d32a95c4fc9dddada67ce
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Apr 9 09:45:44 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-spyder: update to 5.4.3
</span>---
python/py-spyder/Portfile | 8 +++---
.../files/patch-spyder_config_base.py.diff | 33 ++++++++++------------
2 files changed, 19 insertions(+), 22 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-spyder/Portfile b/python/py-spyder/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ed2376e186..0276fcd7d30 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-spyder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-spyder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup python 1.0
</span> PortGroup qt5 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup spyder-ide spyder 5.4.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup spyder-ide spyder 5.4.3 v
</span> github.tarball_from archive
name py-spyder
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,9 +31,9 @@ long_description ${description}. \
</span>
homepage https://www.spyder-ide.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 46f40fc6063eb90d7deeab5738a9db8899d69492 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6011b9cd0a09c8393351548a299d4e0ffa2903a1f1fede7427ed78b89f35f0fc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 24523453
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 09c24c324efe83396979cc0673a00747262d17ae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 162ad8265bb7f81f232a162585d57665a8651704410d12f4173a5fe4366c6855 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 16207604
</span>
python.versions 37 38 39 310
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-spyder/files/patch-spyder_config_base.py.diff b/python/py-spyder/files/patch-spyder_config_base.py.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 11d31a423ac..dd37412f0dd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-spyder/files/patch-spyder_config_base.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-spyder/files/patch-spyder_config_base.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- spyder/config/base.py.orig 2022-08-29 22:09:50.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ spyder/config/base.py 2022-08-29 22:15:36.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -132,29 +132,34 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- spyder/config/base.py.orig 2023-04-10 22:33:18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ spyder/config/base.py 2023-04-10 22:34:25
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -127,28 +127,33 @@
</span> #==============================================================================
def get_conf_subfolder():
"""Return the configuration subfolder for different ooperating systems."""
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,14 +19,7 @@
</span> - # embed a PY2 interpreter in PY3)
- # 2. We need to save the list of installed modules (for code
- # completion) separately for each version
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- if PY3:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- SUBFOLDER = SUBFOLDER + '-py3'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # If running a development/beta version, save config in a separate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # directory to avoid wiping or contaiminating the user's saved stable
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # configuration.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if use_dev_config_dir():
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- SUBFOLDER = SUBFOLDER + '-dev'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SUBFOLDER = SUBFOLDER + '-py3'
</span> +## # Spyder settings dir
+## # NOTE: During the 2.x.x series this dir was named .spyder2, but
+## # since 3.0+ we've reverted back to use .spyder to simplify major
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,19 +35,23 @@
</span> +## # embed a PY2 interpreter in PY3)
+## # 2. We need to save the list of installed modules (for code
+## # completion) separately for each version
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+## if PY3:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+## SUBFOLDER = SUBFOLDER + '-py3'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++## SUBFOLDER = SUBFOLDER + '-py3'
</span> +##
+## # If running a development/beta version, save config in a separate
+## # directory to avoid wiping or contaiminating the user's saved stable
+## # configuration.
+## if use_dev_config_dir():
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+## SUBFOLDER = SUBFOLDER + '-dev
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # MacPorts: we allow multiple Python 2.x or 3.x versions side-by-side;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++## SUBFOLDER = SUBFOLDER + '-dev'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # If running a development/beta version, save config in a separate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # directory to avoid wiping or contaiminating the user's saved stable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # configuration.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if use_dev_config_dir():
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SUBFOLDER = SUBFOLDER + '-dev'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # MacPorts: we allow multiple Python 3.x versions side-by-side;
</span> + # keep preferences separate.
+ SUBFOLDER = '.spyder%s-%s%s' % (__version__.split('.')[0],
+ sys.version_info[0], sys.version_info[1])
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> return SUBFOLDER
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>