[151625] trunk/dports/perl/p5-cpan-meta/Portfile

devans at macports.org devans at macports.org
Thu Aug 18 14:19:42 PDT 2016


Revision: 151625
          https://trac.macports.org/changeset/151625
Author:   devans at macports.org
Date:     2016-08-18 14:19:42 -0700 (Thu, 18 Aug 2016)
Log Message:
-----------
p5-cpan-meta: update to version 2.150010, dependencies, deactivate obsolete port p5-parse-cpan-meta now included in this port before activation.

Modified Paths:
--------------
    trunk/dports/perl/p5-cpan-meta/Portfile

Modified: trunk/dports/perl/p5-cpan-meta/Portfile
===================================================================
--- trunk/dports/perl/p5-cpan-meta/Portfile	2016-08-18 19:53:42 UTC (rev 151624)
+++ trunk/dports/perl/p5-cpan-meta/Portfile	2016-08-18 21:19:42 UTC (rev 151625)
@@ -1,17 +1,11 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-# This comment was inserted on 20160713 to force reindexing of
-# this port after the default homepage definition in the perl5
-# PortGroup was changed to use metacpan.org (r150080).
-# Reindexing is necessary for the new definition to take effect.
-# This comment may be removed in subsequent updates of this port.
-
 PortSystem          1.0
 PortGroup           perl5 1.0
 
 perl5.branches      5.22 5.24
-perl5.setup         CPAN-Meta 2.150005
+perl5.setup         CPAN-Meta 2.150010
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
 description         the distribution metadata for a CPAN dist
@@ -19,16 +13,26 @@
 
 platforms           darwin
 
-checksums           rmd160  1d76e3b4a75f62bbcb5af10c717af129adf9c688 \
-                    sha256  d218aeedf8ff9de167b8661f08f69a35ee92feb067f39b189e28eed39763e711
+checksums           rmd160  6f85c17dba70983ed6d7e0179675e2e9ed0f6d01 \
+                    sha256  e4f80f2ec73e0741455f957bbfc992b167ecbfa1c9e23ba358df3b37b86ba3d6
 
 supported_archs     noarch
 
 if {${perl5.major} != ""} {
+   # Parse::CPAN::Meta, now part of this module, was previously provided by separate port p5-parse-cpan-meta
+   # deactivate old conflicting p5-parse-cpan-meta before activation
+
+    pre-activate {
+        set pname p${perl5.major}-parse-cpan-meta
+        if {![catch {set installed [lindex [registry_active $pname] 0]}]} {
+            registry_deactivate_composite $pname "" [list ports_nodepcheck 1]
+        }
+    }
+
     depends_lib-append \
                     port:p${perl5.major}-cpan-meta-requirements \
                     port:p${perl5.major}-cpan-meta-yaml \
-                    port:p${perl5.major}-parse-cpan-meta \
+                    port:p${perl5.major}-encode \
                     port:p${perl5.major}-scalar-list-utils \
                     port:p${perl5.major}-version
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160818/98f0a0d2/attachment.html>


More information about the macports-changes mailing list