<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5a6907d7bb4d1e28251e3330b8abbd33c6f2e399">https://github.com/macports/macports-ports/commit/5a6907d7bb4d1e28251e3330b8abbd33c6f2e399</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 5a6907d7bb4 py-partd: update to 1.4.1, add py312 subport
</span>5a6907d7bb4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5a6907d7bb4d1e28251e3330b8abbd33c6f2e399
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Wed Jan 24 16:42:32 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> py-partd: update to 1.4.1, add py312 subport
</span>---
python/py-partd/Portfile | 15 ++++++++++-----
python/py-partd/files/patch-versioneer.diff | 16 ++++++++++++++++
2 files changed, 26 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-partd/Portfile b/python/py-partd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6faeb423db6..0fb76ea5973 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-partd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-partd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,14 +4,14 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-partd
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.4.1
</span> revision 0
categories-append devel
license BSD
supported_archs noarch
platforms {darwin any}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37 38 39 310 311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 37 38 39 310 311 312
</span> python.pep517 yes
maintainers {stromnov @stromnov} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,11 +21,16 @@ long_description {*}${description}
</span>
homepage https://github.com/mrocklin/partd/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 512dc148d358396a3c63da7561c812613cd02767 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 aa0ff35dbbcc807ae374db56332f4c1b39b46f67bf2975f5151e0b4186aed0d5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 36345
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f2ad14069a866674d5653cfc0a3d5584d623193a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 56c25dd49e6fea5727e731203c466c6e092f308d8f0024e199d02f6aa2167f67 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 36272
</span>
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-locket \
port:py${python.version}-toolz
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} > 311} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See: https://github.com/dask/partd/pull/70
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-versioneer.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-partd/files/patch-versioneer.diff b/python/py-partd/files/patch-versioneer.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..79bde9a8c96
</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-partd/files/patch-versioneer.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/versioneer.py b/versioneer.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 9882041..5b48f79 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- versioneer.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ versioneer.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -339,9 +339,9 @@ def get_config_from_root(root):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the top of versioneer.py for instructions on writing your setup.cfg .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ setup_cfg = os.path.join(root, "setup.cfg")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- parser = configparser.SafeConfigParser()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ parser = configparser.RawConfigParser()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with open(setup_cfg, "r") as f:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- parser.readfp(f)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ parser.read_file(f)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VCS = parser.get("versioneer", "VCS") # mandatory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def get(parser, name):
</span></pre><pre style='margin:0'>
</pre>