<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ded624239c52685f7a7923c2113fc40168cebfdd">https://github.com/macports/macports-ports/commit/ded624239c52685f7a7923c2113fc40168cebfdd</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 ded624239c5 py-python-install: Add importlib-metadata dep for <= 37
</span>ded624239c5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ded624239c52685f7a7923c2113fc40168cebfdd
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Wed Dec 2 00:03:54 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-python-install: Add importlib-metadata dep for <= 37
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> On Python <= 3.7, py-python-install needs importlib_metadata, provided
</span><span style='display:block; white-space:pre;color:#404040;'> by the py-importlib-metadata port as dependency.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add that as depends_lib and revbump to fix broken installations.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Lack of this module causes builds of dependent ports to fail in trace
</span><span style='display:block; white-space:pre;color:#404040;'> mode:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> | :debug:destroot system: cd "/opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/packaging-20.7" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m install --verbose /opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/packaging-20.7-py2.py3-none-any.whl --destdir /opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/destroot
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot ['/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/_vendor/installer/src', '/opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/packaging-20.7', '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/op [...]
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot Traceback (most recent call last):
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/__main__.py", line 115, in <module>
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot build(args.wheel, cache_dir, args.optimize, args.verify_dependencies)
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/__init__.py", line 226, in build
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot _verify_compability(dist_info, verify_dependencies)
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/install/__init__.py", line 173, in _verify_compability
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot dist = importlib_metadata.Distribution.at(dir)
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot AttributeError: module 'importlib_metadata' has no attribute 'Distribution'
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot ERROR module 'importlib_metadata' has no attribute 'Distribution'
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot Command failed: cd "/opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/packaging-20.7" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m install --verbose /opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/packaging-20.7-py2.py3-none-any.whl --destdir /opt/local/var/macports/build/_opt_dports_python_py-packaging/py37-packaging/work/destroot
</span><span style='display:block; white-space:pre;color:#404040;'> | :info:destroot Exit code: 1
</span><span style='display:block; white-space:pre;color:#404040;'> | :warn:destroot The following existing files were hidden from the build system by trace mode:
</span><span style='display:block; white-space:pre;color:#404040;'> | :msg:destroot /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/importlib_metadata/__init__.py
</span><span style='display:block; white-space:pre;color:#404040;'> | :msg:destroot /var/root/.CFUserTextEncoding
</span><span style='display:block; white-space:pre;color:#404040;'> | :error:destroot Failed to destroot py37-packaging: command execution failed
</span>---
python/py-python-install/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-python-install/Portfile b/python/py-python-install/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d3f1f16faa1..dcb0027abb1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-python-install/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-python-install/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup python 1.0
</span>
name py-python-install
version 0.0.3
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> platforms darwin
supported_archs noarch
maintainers {jmr @jmroot} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,5 +26,9 @@ python.versions 37 38 39
</span> if {$subport ne $name} {
depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} == 37} {
</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}-importlib-metadata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>