[148605] trunk/dports/perl/p5-test-simple/Portfile
devans at macports.org
devans at macports.org
Thu May 12 14:54:19 PDT 2016
Revision: 148605
https://trac.macports.org/changeset/148605
Author: devans at macports.org
Date: 2016-05-12 14:54:19 -0700 (Thu, 12 May 2016)
Log Message:
-----------
p5-test-simple: update to version 1.302015, now includes new Test2 as preferred test framework.
Modified Paths:
--------------
trunk/dports/perl/p5-test-simple/Portfile
Modified: trunk/dports/perl/p5-test-simple/Portfile
===================================================================
--- trunk/dports/perl/p5-test-simple/Portfile 2016-05-12 21:49:14 UTC (rev 148604)
+++ trunk/dports/perl/p5-test-simple/Portfile 2016-05-12 21:54:19 UTC (rev 148605)
@@ -5,14 +5,33 @@
PortGroup perl5 1.0
perl5.branches 5.22 5.24
-perl5.setup Test-Simple 1.001014
+perl5.setup Test-Simple 1.302015
platforms darwin
supported_archs noarch
maintainers devans openmaintainer
license {Artistic-1 GPL}
-description Basic utilities for writing perl tests
-long_description ${description}
+description Framework for writing test tools that all work together.
+long_description ${description} Now includes new Test2 as preferred test framework.
-checksums rmd160 93fbdc8a521ef0f89b82945c90c4f32b200d5af1 \
- sha256 55a414ce89eb7a5e9e84186f286b002054f10ae8ef4f8f2d61bb710e7549f16b
+checksums rmd160 e41e4a1990984acbc31390b02869b307b8ee00ee \
+ sha256 d4ac67ad324d70fd97570ee3b3c253b6f64077652714bdd70790af9ec80672a5
+
+if {${perl5.major} != ""} {
+
+ # Test2, now part of this module, was previously provided by separate port p5-test2
+ # deactivate old conflicting p5-test2 before activation
+
+ pre-activate {
+ set pname p${perl5.major}-test2
+ if {![catch {set installed [lindex [registry_active $pname] 0]}]} {
+ set _version [lindex $installed 1]
+ if {[vercmp $_version 0.0.45] < 0} {
+ registry_deactivate_composite $pname "" [list ports_nodepcheck 1]
+ }
+ }
+ }
+
+ supported_archs noarch
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160512/db938103/attachment.html>
More information about the macports-changes
mailing list