<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9b203ab18eda4e8b6b5bd54d434483919d409b71">https://github.com/macports/macports-ports/commit/9b203ab18eda4e8b6b5bd54d434483919d409b71</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 9b203ab p5-mac-osversion: add name support for Catalina
</span>9b203ab is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9b203ab18eda4e8b6b5bd54d434483919d409b71
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Tue Feb 11 18:20:24 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> p5-mac-osversion: add name support for Catalina
</span>---
perl/p5-mac-osversion/Portfile | 7 +++-
.../p5-mac-osversion/files/patch-add-catalina.diff | 37 ++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mac-osversion/Portfile b/perl/p5-mac-osversion/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0c73dd3..15de983 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-mac-osversion/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-mac-osversion/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup perl5 1.0
</span>
perl5.branches 5.26 5.28 5.30
perl5.setup Mac-OSVersion 1.003
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license Artistic-2
maintainers {devans @dbevans} openmaintainer
description Mac::OSVersion - Get the Mac OS X system version information
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,4 +17,8 @@ checksums rmd160 4831f4f45e508256e8b170f667e5891992f6ec84 \
</span> sha256 14d16ce94746e71425069a7555549cb05a688cb797fa21ac26c1f98f8394f0a2 \
size 12052
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${perl5.major} != ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-add-catalina.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mac-osversion/files/patch-add-catalina.diff b/perl/p5-mac-osversion/files/patch-add-catalina.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..406db5f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-mac-osversion/files/patch-add-catalina.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,37 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/Mac/OSVersion.pm.orig 2018-06-06 07:17:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/Mac/OSVersion.pm 2020-02-11 16:46:33.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -125,14 +125,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4 Tiger
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5 Leopard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 6 Snow Leopard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 7 Lion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 7 Lion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8 Mountain Lion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 9 Mavericks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10 Yosemite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 11 El Capitan
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 12 Sierra
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 13 High Sierra
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 14 Mojave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 11 El Capitan
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 12 Sierra
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 13 High Sierra
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 14 Mojave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 15 Catalina
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ =item minor_version_numbers()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -146,10 +147,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ =cut
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BEGIN {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-my @names = qw( Cheetah Puma Jaguar Panther Tiger Leopard ) ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-push @names, 'Snow Leopard', 'Lion', 'Mountain Lion',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++my @names = ( 'Cheetah', 'Puma', 'Jaguar', 'Panther', 'Tiger',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 'Leopard', 'Snow Leopard', 'Lion', 'Mountain Lion',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Mavericks', 'Yosemite', 'El Capitan', 'Sierra',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 'High Sierra', 'Mojave';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 'High Sierra', 'Mojave', 'Catalina' );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sub minor_to_name { $names[ $_[1] ] }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>