<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/16eb14b0e69b0cd7a7f5e35360757ee63882be6d">https://github.com/macports/macports-ports/commit/16eb14b0e69b0cd7a7f5e35360757ee63882be6d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 16eb14b0e69b0cd7a7f5e35360757ee63882be6d
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Sep 17 15:39:27 2019 +1000
<span style='display:block; white-space:pre;color:#404040;'> deprecated pg: various fixes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Fix variable usage
</span><span style='display:block; white-space:pre;color:#404040;'> * Fix line wrapping in notes
</span><span style='display:block; white-space:pre;color:#404040;'> * Remove ascii art from notes
</span><span style='display:block; white-space:pre;color:#404040;'> * Add a blank line between added notes and any existing ones
</span><span style='display:block; white-space:pre;color:#404040;'> * Add eol_version type
</span>---
_resources/port1.0/group/deprecated-1.0.tcl | 34 +++++++++++++++++------------
1 file changed, 20 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/deprecated-1.0.tcl b/_resources/port1.0/group/deprecated-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index a7720e5..19c858a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/deprecated-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/deprecated-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,20 +15,25 @@
</span> options deprecated.maximum_xcodeversion \
deprecated.maximum_osmajor \
deprecated.upstream_support \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- deprecated.macports_support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ deprecated.macports_support \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ deprecated.eol_version
</span> default deprecated.maximum_xcodeversion {}
default deprecated.maximum_osmajor {}
default deprecated.upstream_support yes
default deprecated.macports_support yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+default deprecated.eol_version no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
proc deprecated.deprecate_port {} {
global deprecated.maximum_xcodeversion \
deprecated.maximum_osmajor \
deprecated.upstream_support \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ deprecated.macports_support \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ deprecated.eol_version \
</span> os.platform \
os.major \
xcodeversion
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && (${deprecated.maximum_xcodeversion} ne {}) && ([vercmp ${os.major} ${deprecated.maximum_osmajor}] > 0)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && (${deprecated.maximum_osmajor} ne {}) && ([vercmp ${os.major} ${deprecated.maximum_osmajor}] > 0)} {
</span> depends_lib
depends_run
archive_sites
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,22 +51,23 @@ proc deprecated.deprecate_port {} {
</span> }
} elseif {!${deprecated.upstream_support}} {
notes-prepend "
<span style='display:block; white-space:pre;background:#ffe0e0;'>----------------------------------------------------------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This port is deprecated since the project is no longer maintained upstream.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is likely to be removed from MacPorts at some point in the future.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you find this port useful and would like to see it continue, please consider posting to the macports-users mailing list.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This port is deprecated since the project is no longer maintained upstream.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+It is likely to be removed from MacPorts at some point in the future.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If you find this port useful and would like to see it continue, please consider posting to the macports-users mailing list.\
</span> See https://trac.macports.org/wiki/MailingLists for more details.
<span style='display:block; white-space:pre;background:#ffe0e0;'>----------------------------------------------------------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+" ""
</span> } elseif {!${deprecated.macports_support}} {
notes-prepend "
<span style='display:block; white-space:pre;background:#ffe0e0;'>----------------------------------------------------------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This port is deprecated due to the difficulty of maintaining it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is possible it will be removed from MacPorts at some point in the future.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you find this port useful and would like to see it continue, please consider contributing to the MacPort project.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This port is deprecated due to the difficulty of maintaining it.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+It is possible it will be removed from MacPorts at some point in the future.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If you find this port useful and would like to see it continue, please consider contributing to the MacPort project.\
</span> See https://guide.macports.org/chunked/project.contributing.html for more details.
<span style='display:block; white-space:pre;background:#ffe0e0;'>----------------------------------------------------------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+" ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${deprecated.eol_version}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-prepend "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This port is for a software version that is no longer receiving upstream updates. It may have security vulnerabilities\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+or other issues that will not be fixed. Newer versions are provided as separate ports.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+" ""
</span> }
}
</pre><pre style='margin:0'>
</pre>