r43559 - in /trunk/dh-make-perl: Build.PL META.yml Makefile.PL debian/changelog debian/rules
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Thu Sep 3 05:11:41 UTC 2009
Author: ryan52-guest
Date: Thu Sep 3 05:11:22 2009
New Revision: 43559
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=43559
Log:
* update META.yml/MANIFEST/Makefile.PL during build, commit them to
SVN
* use a passthrough Makefile.PL, we use special Module::Build stuff
Added:
trunk/dh-make-perl/META.yml
trunk/dh-make-perl/Makefile.PL
Modified:
trunk/dh-make-perl/Build.PL
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/debian/rules
Modified: trunk/dh-make-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Build.PL?rev=43559&op=diff
==============================================================================
--- trunk/dh-make-perl/Build.PL (original)
+++ trunk/dh-make-perl/Build.PL Thu Sep 3 05:11:22 2009
@@ -46,7 +46,7 @@
'Test::More' => 0,
},
add_to_cleanup => [ 'DhMakePerl-*' ],
- create_makefile_pl => 'traditional',
+ create_makefile_pl => 'passthrough',
script_files => [ 'dh-make-perl' ],
install_path => {
share => '/usr/share/dh-make-perl',
Added: trunk/dh-make-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/META.yml?rev=43559&op=file
==============================================================================
--- trunk/dh-make-perl/META.yml (added)
+++ trunk/dh-make-perl/META.yml Thu Sep 3 05:11:22 2009
@@ -1,0 +1,78 @@
+---
+name: DhMakePerl
+version: 0.59
+author:
+ - |-
+ It is currently maintained by Gunnar Wolf and others, under the umbrella of the
+ Debian Perl Group <debian-perl at lists.debian.org>
+abstract: create Debian source package from CPAN dist
+license: gpl
+resources:
+ license: http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt
+requires:
+ AptPkg::Cache: 0
+ AptPkg::Config: 0
+ CPAN: 0
+ Carp: 0
+ Cwd: 0
+ Dpkg::Source::Package: 0
+ Email::Date::Format: 0
+ File::Basename: 0
+ File::Copy: 0
+ File::Find::Rule: 0
+ File::Spec: 0
+ File::Spec::Functions: 0
+ FindBin: 0
+ Getopt::Long: 0
+ IO::File: 0
+ IO::Uncompress::Gunzip: 0
+ List::MoreUtils: 0
+ Module::CoreList: 0
+ Module::Depends: 0
+ Module::Depends::Intrusive: 0
+ Parse::DebianChangelog: 0
+ Storable: 0
+ Text::Diff: 0
+ Text::Wrap: 0
+ Tie::File: 0
+ Tie::IxHash: 0
+ User::pwent: 0
+ WWW::Mechanize: 0
+ YAML: 0
+ perl: 5.010
+ version: 0
+build_requires:
+ Test::Deep: 0
+ Test::Differences: 0
+ Test::Exception: 0
+ Test::More: 0
+provides:
+ Debian::AptContents:
+ file: lib/Debian/AptContents.pm
+ Debian::Control:
+ file: lib/Debian/Control.pm
+ Debian::Control::FromCPAN:
+ file: lib/Debian/Control/FromCPAN.pm
+ Debian::Control::Stanza:
+ file: lib/Debian/Control/Stanza.pm
+ Debian::Control::Stanza::Binary:
+ file: lib/Debian/Control/Stanza/Binary.pm
+ Debian::Control::Stanza::Source:
+ file: lib/Debian/Control/Stanza/Source.pm
+ Debian::Dependencies:
+ file: lib/Debian/Dependencies.pm
+ Debian::Dependency:
+ file: lib/Debian/Dependency.pm
+ Debian::Version:
+ file: lib/Debian/Version.pm
+ DhMakePerl:
+ file: lib/DhMakePerl.pm
+ version: 0.59
+ DhMakePerl::Config:
+ file: lib/DhMakePerl/Config.pm
+ DhMakePerl::PodParser:
+ file: lib/DhMakePerl/PodParser.pm
+generated_by: Module::Build version 0.33
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Added: trunk/dh-make-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Makefile.PL?rev=43559&op=file
==============================================================================
--- trunk/dh-make-perl/Makefile.PL (added)
+++ trunk/dh-make-perl/Makefile.PL Thu Sep 3 05:11:22 2009
@@ -1,0 +1,35 @@
+# Note: this file was auto-generated by Module::Build::Compat version 0.33
+require 5.010;
+
+ unless (eval "use Module::Build::Compat 0.02; 1" ) {
+ print "This module requires Module::Build to install itself.\n";
+
+ require ExtUtils::MakeMaker;
+ my $yn = ExtUtils::MakeMaker::prompt
+ (' Install Module::Build now from CPAN?', 'y');
+
+ unless ($yn =~ /^y/i) {
+ die " *** Cannot install without Module::Build. Exiting ...\n";
+ }
+
+ require Cwd;
+ require File::Spec;
+ require CPAN;
+
+ # Save this 'cause CPAN will chdir all over the place.
+ my $cwd = Cwd::cwd();
+
+ CPAN::Shell->install('Module::Build::Compat');
+ CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
+ or die "Couldn't install Module::Build, giving up.\n";
+
+ chdir $cwd or die "Cannot chdir() back to $cwd: $!";
+ }
+ eval "use Module::Build::Compat 0.02; 1" or die $@;
+
+ Module::Build::Compat->run_build_pl(args => \@ARGV);
+ my $build_script = 'Build';
+ $build_script .= '.com' if $^O eq 'VMS';
+ exit(0) unless(-e $build_script); # cpantesters convention
+ require Module::Build;
+ Module::Build::Compat->write_makefile(build_class => 'Module::Build');
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=43559&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Thu Sep 3 05:11:22 2009
@@ -2,8 +2,11 @@
* fix MANIFEST file handling
* use Test::DistManifest
-
- -- Ryan Niebur <ryanryan52 at gmail.com> Wed, 02 Sep 2009 21:54:48 -0700
+ * update META.yml/MANIFEST/Makefile.PL during build, commit them to
+ SVN
+ * use a passthrough Makefile.PL, we use special Module::Build stuff
+
+ -- Ryan Niebur <ryanryan52 at gmail.com> Wed, 02 Sep 2009 22:11:16 -0700
dh-make-perl (0.59) unstable; urgency=low
Modified: trunk/dh-make-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/rules?rev=43559&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/rules (original)
+++ trunk/dh-make-perl/debian/rules Thu Sep 3 05:11:22 2009
@@ -2,6 +2,11 @@
%:
dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure
+ ./Build distmeta
+ ./Build manifest
clean:
dh clean
More information about the Pkg-perl-cvs-commits
mailing list