[151165] trunk/dports/perl/p5-list-uniq

devans at macports.org devans at macports.org
Mon Aug 8 22:25:17 PDT 2016


Revision: 151165
          https://trac.macports.org/changeset/151165
Author:   devans at macports.org
Date:     2016-08-08 22:25:16 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
p5-list-uniq: remove v-string version workarounds, patch broken version test, update dependencies, increment revision.

Modified Paths:
--------------
    trunk/dports/perl/p5-list-uniq/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-list-uniq/files/
    trunk/dports/perl/p5-list-uniq/files/patch-01_use.t.diff

Modified: trunk/dports/perl/p5-list-uniq/Portfile
===================================================================
--- trunk/dports/perl/p5-list-uniq/Portfile	2016-08-09 05:22:10 UTC (rev 151164)
+++ trunk/dports/perl/p5-list-uniq/Portfile	2016-08-09 05:25:16 UTC (rev 151165)
@@ -6,19 +6,25 @@
 
 perl5.branches      5.22 5.24
 perl5.use_search_cpan_org yes
-perl5.setup         List-Uniq 0.21.0 ../../authors/id/J/JF/JFITZ/
+perl5.setup         List-Uniq v0.21.0 ../../authors/id/J/JF/JFITZ/
+revision            1
 license             {Artistic-1 GPL}
 platforms           darwin
 maintainers         nomaintainer
-supported_archs     noarch
 
 description         List::Uniq extracts the unique elements of a list
 
 long_description    ${description}
 
-distname            ${perl5.module}-v${perl5.moduleversion}
-
 checksums           rmd160  50e0117733e6b39364a4d3686a9814196832380c \
                     sha256  0a32eacb7d805ecb67ff5a5771573dcaf3238d1eada1f6e91b2de7455b8d5a45
 
-livecheck.version   v${perl5.moduleversion}
+if {${perl5.major} != ""} {
+    depends_build-append \
+                    port:p${perl5.major}-test-exception \
+                    port:p${perl5.major}-test-nowarnings
+
+    patchfiles      patch-01_use.t.diff
+
+    supported_archs noarch
+}

Added: trunk/dports/perl/p5-list-uniq/files/patch-01_use.t.diff
===================================================================
--- trunk/dports/perl/p5-list-uniq/files/patch-01_use.t.diff	                        (rev 0)
+++ trunk/dports/perl/p5-list-uniq/files/patch-01_use.t.diff	2016-08-09 05:25:16 UTC (rev 151165)
@@ -0,0 +1,11 @@
+--- t/01_use.t.orig	2016-08-08 04:22:39.000000000 -0700
++++ t/01_use.t	2016-08-08 04:23:10.000000000 -0700
+@@ -14,7 +14,7 @@
+ }
+ 
+ use_ok('List::Uniq');
+-is($List::Uniq::VERSION, '0.20', 'check module version');
++is($List::Uniq::VERSION, '0.21.0', 'check module version');
+ 
+ #
+ # EOF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/ba4b0835/attachment.html>


More information about the macports-changes mailing list