[libmodule-package-rdf-perl] 30/64: minor changes to distribution template
Jonas Smedegaard
js at alioth.debian.org
Fri Aug 9 22:11:56 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libmodule-package-rdf-perl.
commit 39b048d933f28d5975ebc5f110a2236b845d5213
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Mon Mar 11 16:48:34 2013 +0000
minor changes to distribution template
--HG--
branch : Module-Package-RDF
---
lib/App/mkdist.pm | 35 +++++++++++++++++++++++++++++++----
1 file changed, 31 insertions(+), 4 deletions(-)
diff --git a/lib/App/mkdist.pm b/lib/App/mkdist.pm
index 42e24ee..1f4c201 100644
--- a/lib/App/mkdist.pm
+++ b/lib/App/mkdist.pm
@@ -329,6 +329,10 @@ BEGIN \{
{}__END__
+{}=pod
+
+{}=encoding utf-8
+
{}=head1 NAME
{$module_name} - {$abstract}
@@ -379,6 +383,7 @@ COMMENCE meta/doap.pret
:homepage <https://metacpan.org/release/{URI::Escape::uri_escape($dist_name)}>;
:download-page <https://metacpan.org/release/{URI::Escape::uri_escape($dist_name)}>;
:bug-database <http://rt.cpan.org/Dist/Display.html?Queue={URI::Escape::uri_escape($dist_name)}>;
+# :repository [ a :HgRepository; :browse <https://bitbucket.org/{lc $author->{cpanid}}/p5-{lc URI::Escape::uri_escape($dist_name)}> ];
:created {DateTime->now->ymd('-')};
:license <{$licence->url}>;
:maintainer cpan:{uc $author->{cpanid}};
@@ -402,13 +407,35 @@ COMMENCE meta/makefile.pret
`{$dist_name}`
perl_version_from m`{$module_name}`;
version_from m`{$module_name}`;
- readme_from m`{$module_name}`;
- test_requires p`Test::More 0.61` {$requires};
+ readme_from m`{$module_name}` {$requires};
.
COMMENCE t/01basic.t
-use Test::More tests => 1;
-BEGIN \{ use_ok('{$module_name}') \};
+{}=pod
+
+{}=encoding utf-8
+
+{}=head1 PURPOSE
+
+Test that {$module_name} compiles.
+
+{}=head1 AUTHOR
+
+{$author->{name}} E<lt>{$author->{mbox}}E<gt>.
+
+{}=head1 COPYRIGHT AND LICENCE
+
+{$licence->notice}
+
+{}=cut
+
+use strict;
+use warnings;
+use Test::More;
+
+use_ok('{$module_name}');
+
+done_testing;
COMMENCE xt/03meta_uptodate.config
\{"package":"{$dist_name}"\}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-package-rdf-perl.git
More information about the Pkg-perl-cvs-commits
mailing list