r29396 - in /trunk/libtest-distribution-perl/debian: changelog clean control copyright rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Wed Jan 7 14:49:03 UTC 2009
Author: gregoa
Date: Wed Jan 7 14:49:00 2009
New Revision: 29396
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29396
Log:
* Set debhelper compatibility level to 7; adapt
debian/{control,compat,rules}.
* debian/copyright: switch to new format.
Added:
trunk/libtest-distribution-perl/debian/clean
Modified:
trunk/libtest-distribution-perl/debian/changelog
trunk/libtest-distribution-perl/debian/control
trunk/libtest-distribution-perl/debian/copyright
trunk/libtest-distribution-perl/debian/rules
Modified: trunk/libtest-distribution-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-distribution-perl/debian/changelog?rev=29396&op=diff
==============================================================================
--- trunk/libtest-distribution-perl/debian/changelog (original)
+++ trunk/libtest-distribution-perl/debian/changelog Wed Jan 7 14:49:00 2009
@@ -18,6 +18,9 @@
* debian/control: change my email address.
* debian/control: make alternative dependency on perl-modules versioned and
add it to libmodule-build-perl too.
+ * Set debhelper compatibility level to 7; adapt
+ debian/{control,compat,rules}.
+ * debian/copyright: switch to new format.
-- David Paleino <d.paleino at gmail.com> Tue, 06 Jan 2009 23:09:12 +0100
Added: trunk/libtest-distribution-perl/debian/clean
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-distribution-perl/debian/clean?rev=29396&op=file
==============================================================================
--- trunk/libtest-distribution-perl/debian/clean (added)
+++ trunk/libtest-distribution-perl/debian/clean Wed Jan 7 14:49:00 2009
@@ -1,0 +1,1 @@
+Changes.txt
Modified: trunk/libtest-distribution-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-distribution-perl/debian/control?rev=29396&op=diff
==============================================================================
--- trunk/libtest-distribution-perl/debian/control (original)
+++ trunk/libtest-distribution-perl/debian/control Wed Jan 7 14:49:00 2009
@@ -4,11 +4,11 @@
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jose Luis Rivas <ghostbar38 at gmail.com>,
gregor herrmann <gregoa at debian.org>
+Build-Depends: debhelper (>= 7), perl-modules (>= 5.10) | libmodule-build-perl
Build-Depends-Indep: perl, libfile-find-rule-perl (>= 0.03),
perl-modules (>= 5.10) | libmodule-corelist-perl (>= 1.93),
libtest-pod-perl (>= 0.95), libtest-pod-coverage-perl,
libpod-coverage-perl (>= 0.17), libfile-spec-perl
-Build-Depends: debhelper (>= 6), perl-modules (>= 5.10) | libmodule-build-perl
Standards-Version: 3.8.0
Homepage: http://search.cpan.org/dist/Test-Distribution/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-distribution-perl/
@@ -16,14 +16,14 @@
Package: libtest-distribution-perl
Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends}, libfile-find-rule-perl (>= 0.03), libfile-spec-perl,
- perl-modules | libmodule-corelist-perl (>= 1.93),
+Depends: ${misc:Depends}, ${perl:Depends}, libfile-find-rule-perl (>= 0.03),
+ libfile-spec-perl, perl-modules (>= 5.10) | libmodule-corelist-perl (>= 1.93),
libtest-pod-perl (>= 0.95), libtest-pod-coverage-perl,
libpod-coverage-perl (>= 0.17)
Description: perform tests on all modules of a distribution
- When using this module in a test script, it goes through all the modules in
- your distribution, checks their POD, checks that they compile ok and checks
- that they all define a $VERSION.
+ When using Test::Distribution in a test script, it goes through all the
+ modules in your distribution, checks their POD, checks that they compile ok
+ and checks that they all define a $VERSION.
.
This module also performs a numer of test on the distribution itself. It
checks that your files match your SIGNATURE file if you have one. It checks
Modified: trunk/libtest-distribution-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-distribution-perl/debian/copyright?rev=29396&op=diff
==============================================================================
--- trunk/libtest-distribution-perl/debian/copyright (original)
+++ trunk/libtest-distribution-perl/debian/copyright Wed Jan 7 14:49:00 2009
@@ -1,32 +1,31 @@
-This package was debianized by Jose Luis Rivas <ghostbar38 at gmail.com> on
-Wed, 25 Apr 2007 10:12:08 -0400.
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Sagar R. Shah <srshah at cpan.org>
+Upstream-Source: http://search.cpan.org/dist/Test-Distribution/
+Upstream-Name: Test-Distribution
-It was downloaded from http://search.cpan.org/dist/Test-Distribution
+Files: *
+Copyright:
+ Copyright 2002-2003 Marcel Grünauer. All rights reserved.
+ Copyright 2003-2007, Sagar R. Shah, All rights reserved.
+License-Alias: Perl
+License: Artistic | GPL-1+
-Upstream Author:
+Files: debian/*
+Copyright: 2007-2009, various members of the Debian Perl Group,
+ cf. debian/changelog
+License: Artistic | GPL-1+
- Marcel Grünauer <marcel at cpan.org>
- Sagar R. Shah <srshah at cpan.org>
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in /usr/share/common-licenses/Artistic
-Copyright:
-
- Copyright 2002-2003 Marcel Grünauer. All rights reserved.
- Copyright 2003-2005, Sagar R. Shah, All rights reserved.
-
-License:
-
+License: GPL-1+
This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- a) the GNU General Public License as published by the Free Software
- Foundation; either version 1, or (at your option) any later
- version, or
-
- b) the "Artistic License" which comes with Perl.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL' and
-the Artistic Licence in `/usr/share/common-licenses/Artistic'.
-
-The Debian packaging is Copyright (C) 2007, Jose Luis Rivas <ghostbar38 at gmail.com>
-and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
Modified: trunk/libtest-distribution-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-distribution-perl/debian/rules?rev=29396&op=diff
==============================================================================
--- trunk/libtest-distribution-perl/debian/rules (original)
+++ trunk/libtest-distribution-perl/debian/rules Wed Jan 7 14:49:00 2009
@@ -1,77 +1,26 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
- dh_testdir
-
- # Add commands to compile the package here
- $(PERL) Build.PL installdirs=vendor
- $(PERL) Build
- $(PERL) Build test
-
+ dh build
+ pod2text $(CURDIR)/Changes.pod > $(CURDIR)/Changes.txt
touch $@
clean:
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp Changes.txt
-
- # Add commands to clean up after the build process here
- [ ! -f Build ] || $(PERL) Build distclean
+ dh $@
install: install-stamp
install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add commands to install the package into $(TMP) here
- $(PERL) Build install destdir=$(TMP) create_packlist=0
- pod2text $(CURDIR)/Changes.pod > $(CURDIR)/Changes.txt
-
+ dh install --before dh_installchangelogs
+ dh_installchangelogs Changes.txt
+ dh install --remaining
touch $@
binary-arch:
-# We have nothing to do here for an architecture-independent package
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs $(CURDIR)/Changes.txt
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+binary-indep: install
+ dh $@
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build
More information about the Pkg-perl-cvs-commits
mailing list