Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 58cc456

Converted to Build.PL.

  • Participants
  • Parent commits 75fb825

Comments (0)

Files changed (5)

File perl/modules/XML-SemanaticDiff/Build.PL

+use strict;
+use warnings;
+
+use Module::Build;
+
+my $builder = Module::Build->new(
+    module_name         => 'XML::SemanticDiff',
+    license             => 'perl',
+    dist_author         => 'Kip Hampton <khampton@cpan.org>',
+    dist_version_from   => 'lib/XML/SemanticDiff.pm',
+    requires => 
+    {
+        'Encode' => '0',
+        'Digest::MD5' => '0',
+        'XML::Parser' => '0',
+    },
+    add_to_cleanup      => [ 'XML-SemanticDiff-*' ],
+    create_makefile_pl => 'traditional',
+);
+
+$builder->create_build_script();

File perl/modules/XML-SemanaticDiff/Changes

       (Kwalitee)
     - Added t/pod.t. (Kwalitee).
         - fixed the POD in the process.
+    - Created a Build.PL script based on the Makefile.PL in order to
+    make sure the META.yml is according to the SPEC. (Kwalitee).
 
 0.96  July 03 2007
     - Fixed the warning emitted with the namespaces being undefined.

File perl/modules/XML-SemanaticDiff/MANIFEST

+Build.PL
 Changes
 eg/camelids2.xml
 eg/camelids.xml

File perl/modules/XML-SemanaticDiff/META.yml

---- #YAML:1.0
-name:                XML-SemanticDiff
-version:             0.95
-abstract:            ~
-license:             ~
-generated_by:        ExtUtils::MakeMaker version 6.31
-distribution_type:   module
-requires:     
-    Digest::MD5:                   0
-    XML::Parser:                   0
+---
+name: XML-SemanticDiff
+version: 0.96
+author:
+  - 'Kip Hampton <khampton@cpan.org>'
+abstract: Perl extension for comparing XML documents.
+license: perl
+resources:
+  license: http://dev.perl.org/licenses/
+requires:
+  Digest::MD5: 0
+  Encode: 0
+  XML::Parser: 0
+provides:
+  PathFinder:
+    file: lib/XML/SemanticDiff.pm
+  XML::SemanticDiff:
+    file: lib/XML/SemanticDiff.pm
+    version: 0.96
+  XML::SemanticDiff::BasicHandler:
+    file: lib/XML/SemanticDiff/BasicHandler.pm
+    version: 0.93
+generated_by: Module::Build version 0.2805
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.2.html
-    version: 1.2
+  url: http://module-build.sourceforge.net/META-spec-v1.2.html
+  version: 1.2

File perl/modules/XML-SemanaticDiff/Makefile.PL

-use strict;
-
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
-    'NAME'	=> 'XML::SemanticDiff',
-    'VERSION_FROM' => 'lib/XML/SemanticDiff.pm', # finds $VERSION
-    'PREREQ_PM' => 
-    {
-        'Digest::MD5' => '0',
-        'Encode' => '0',
-        'XML::Parser' => '0',
-    },
-    'EXE_FILES' => [ 'eg/xmlsemdiff' ],
-    'LICENSE' => "perl",
-);