<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/ce22066a889421742357b3bb1a5543494578b315">https://github.com/macports/macports-ports/commit/ce22066a889421742357b3bb1a5543494578b315</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ce22066a889421742357b3bb1a5543494578b315
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Jul 24 14:09:55 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-backports.cached-property: use backports namespace port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - all backports ports install the same __init__.py file and will thus
</span><span style='display:block; white-space:pre;color:#404040;'> otherwhise fail to activate
</span>---
python/py-backports.cached-property/Portfile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-backports.cached-property/Portfile b/python/py-backports.cached-property/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 36cd02b4700..a247f7b11e0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-backports.cached-property/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-backports.cached-property/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span>
name py-backports.cached-property
version 1.0.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,5 +29,17 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-wheel \
port:py${python.version}-toml
<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}-backports
</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;'>+ foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fp "${destroot}${python.pkgd}/backports/$f"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${fp}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete -force ${fp}
</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;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>