<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/844ce41431bb8e19bb42a52fce8b4191bf52f97f">https://github.com/macports/macports-ports/commit/844ce41431bb8e19bb42a52fce8b4191bf52f97f</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 844ce41431b avahi: install python module to correct place
</span>844ce41431b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 844ce41431bb8e19bb42a52fce8b4191bf52f97f
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Fri Jul 1 01:55:11 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> avahi: install python module to correct place
</span>---
net/avahi/Portfile | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/avahi/Portfile b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58cee274fe6..30ceebe82f0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup github 1.0
</span> PortGroup gobject_introspection 1.0
github.setup lathiat avahi 0.8 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> categories net devel
maintainers {i0ntempest @i0ntempest} openmaintainer
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -184,7 +184,11 @@ variant python27 conflicts python38 python39 description {Build with Python 2.7}
</span> depends_lib-append port:dbus-python27 \
port:py27-gdbm
depends_lib-append port:py27-gobject3
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PYTHON_PREFIX=\'\${prefix}\'|PYTHON_PREFIX=\'${frameworks_dir}/Python.framework/Versions/2.7\'|" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
variant python38 conflicts python27 python39 description {Build with Python 3.8} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -192,7 +196,11 @@ variant python38 conflicts python27 python39 description {Build with Python 3.8}
</span> depends_lib-append port:dbus-python38 \
port:py38-gdbm
depends_lib-append port:py38-gobject3
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.8/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${frameworks_dir}/Python.framework/Versions/3.8/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PYTHON_PREFIX=\'\${prefix}\'|PYTHON_PREFIX=\'${frameworks_dir}/Python.framework/Versions/3.8\'|" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
variant python39 conflicts python27 python38 description {Build with Python 3.9} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -200,7 +208,11 @@ variant python39 conflicts python27 python38 description {Build with Python 3.9}
</span> depends_lib-append port:dbus-python39 \
port:py39-gdbm
depends_lib-append port:py39-gobject3
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.9/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${frameworks_dir}/Python.framework/Versions/3.9/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PYTHON_PREFIX=\'\${prefix}\'|PYTHON_PREFIX=\'${frameworks_dir}/Python.framework/Versions/3.9\'|" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
variant python310 conflicts python27 python38 description {Build with Python 3.10} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -208,7 +220,11 @@ variant python310 conflicts python27 python38 description {Build with Python 3.1
</span> depends_lib-append port:dbus-python310 \
port:py310-gdbm
depends_lib-append port:py310-gobject3
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.10/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${frameworks_dir}/Python.framework/Versions/3.10/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|PYTHON_PREFIX=\'\${prefix}\'|PYTHON_PREFIX=\'${frameworks_dir}/Python.framework/Versions/3.10\'|" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
variant x11 conflicts quartz {
</pre><pre style='margin:0'>
</pre>