<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/d84ecab9c41d15906726e497cd2352566169bdc3">https://github.com/macports/macports-ports/commit/d84ecab9c41d15906726e497cd2352566169bdc3</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 d84ecab mod_python: mark apache22 variant and mod_python26 subport obsolete
</span>d84ecab is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d84ecab9c41d15906726e497cd2352566169bdc3
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Mon May 6 16:23:38 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> mod_python: mark apache22 variant and mod_python26 subport obsolete
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> remove Python 2.4 subport
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/58404
</span>---
www/mod_python/Portfile | 42 ++++++++++++------------------------------
1 file changed, 12 insertions(+), 30 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/mod_python/Portfile b/www/mod_python/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3bc50ef..b8e7c63 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/mod_python/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/mod_python/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,19 +29,14 @@ if {$subport ne $name} {
</span>
patchfiles patch-dist-Makefile.in.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache22]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set apxs ${prefix}/apache22/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set httpd_conf ${prefix}/apache22/conf/httpd.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mdir ${destroot}${prefix}/apache22/modules/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set apxs ${prefix}/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set httpd_conf ${prefix}/etc/apache2/httpd.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mdir ${destroot}${prefix}/lib/apache2/modules/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set apxs ${prefix}/bin/apxs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set httpd_conf ${prefix}/etc/apache2/httpd.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mdir ${destroot}${prefix}/lib/apache2/modules/
</span>
variant apache22 description "use apache22 instead of apache2" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-replace port:apache2 port:apache22
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove after 2020-05-06
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "Please do not install this variant since Apache 2.2 is obsolete."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error
</span> }
configure.args --with-apxs=${apxs} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,33 +53,20 @@ if {$subport ne $name} {
</span> to your apache2 config file:
${httpd_conf}"
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # mod_python used to be for python 2.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- replaced_by mod_python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib port:mod_python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "echo This port is a stub. > ${destroot}${prefix}/share/doc/${name}/README"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.type regex
livecheck.url http://archive.apache.org/dist/httpd/modpython/
livecheck.regex mod_python-(\[0-9\\.\]+)\\.tgz
}
subport mod_python27 {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mod_python26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span> depends_lib-append port:python27
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-python=${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-python=${prefix}/bin/python2.7
</span> }
subport mod_python26 {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mod_python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-python=${prefix}/bin/python2.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove after 2020-05-06
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by mod_python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>