<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5549daede85b41d4000ad13a7b841e439e8b09d9">https://github.com/macports/macports-ports/commit/5549daede85b41d4000ad13a7b841e439e8b09d9</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 5549dae py-backports-functools_lru_cache: fix activation issue
</span>5549dae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5549daede85b41d4000ad13a7b841e439e8b09d9
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Wed Jul 11 19:46:05 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-backports-functools_lru_cache: fix activation issue
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The __init__.py file is present in various packages within the backports
</span><span style='display:block; white-space:pre;color:#404040;'> namespace, preventing port activation. Therefore, add py-backports as a
</span><span style='display:block; white-space:pre;color:#404040;'> dependency and do not install those files from this port (solution taken
</span><span style='display:block; white-space:pre;color:#404040;'> from several other py-backports-* Portfiles).
</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/56789
</span>---
python/py-backports-functools_lru_cache/Portfile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-backports-functools_lru_cache/Portfile b/python/py-backports-functools_lru_cache/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1d6e42a..9cd30a2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-backports-functools_lru_cache/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-backports-functools_lru_cache/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup python 1.0
</span>
name py-backports-functools_lru_cache
version 1.5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append devel
platforms darwin
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +32,19 @@ if {${name} ne ${subport}} {
</span> depends_build-append \
port:py${python.version}-setuptools \
port:py${python.version}-setuptools_scm
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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}-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
} else {
livecheck.type pypi
</pre><pre style='margin:0'>
</pre>