diff -Nru libmethod-alias-perl-1.03/debian/changelog libmethod-alias-perl-1.03/debian/changelog --- libmethod-alias-perl-1.03/debian/changelog 2016-08-19 00:56:30.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/changelog 2016-08-18 19:02:44.000000000 +0000 @@ -1,3 +1,30 @@ +libmethod-alias-perl (1.03-2) unstable; urgency=low + + * Team upload. + + [ Nathan Handler ] + * debian/watch: Update to ignore development releases. + + [ Ansgar Burchardt ] + * debian/control: Convert Vcs-* fields to Git. + + [ gregor herrmann ] + * debian/control: update {versioned,alternative} (build) dependencies. + + [ Salvatore Bonaccorso ] + * Change search.cpan.org based URIs to metacpan.org based URIs + + [ gregor herrmann ] + * Mark package as autopkgtest-able. + * Declare compliance with Debian Policy 3.9.8. + * Switch to source format "3.0 (quilt)". + * Bump debhelper compatibility level to 9. + * Use dh(1) in debian/rules. (Closes: #834350) + * debian/copyright: switch formatting to Copyright-Format 1.0. + * Make short description a noun phrase. + + -- gregor herrmann Thu, 18 Aug 2016 21:02:44 +0200 + libmethod-alias-perl (1.03-1) unstable; urgency=low * Initial Release. (Closes: #470826) diff -Nru libmethod-alias-perl-1.03/debian/compat libmethod-alias-perl-1.03/debian/compat --- libmethod-alias-perl-1.03/debian/compat 2016-08-19 00:56:30.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/compat 2016-08-18 19:02:44.000000000 +0000 @@ -1 +1 @@ -5 +9 diff -Nru libmethod-alias-perl-1.03/debian/control libmethod-alias-perl-1.03/debian/control --- libmethod-alias-perl-1.03/debian/control 2016-08-19 00:56:30.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/control 2016-08-18 19:02:44.000000000 +0000 @@ -1,17 +1,22 @@ Source: libmethod-alias-perl -Section: perl -Priority: optional -Build-Depends: debhelper (>= 5) -Build-Depends-Indep: perl (>= 5.005), libtest-pod-perl Maintainer: Debian Perl Group Uploaders: Niko Tyni -Standards-Version: 3.7.3 -Homepage: http://search.cpan.org/dist/Method-Alias/ +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: perl, + libtest-pod-perl +Standards-Version: 3.9.8 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmethod-alias-perl.git +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libmethod-alias-perl.git +Homepage: https://metacpan.org/release/Method-Alias Package: libmethod-alias-perl Architecture: all -Depends: ${perl:Depends}, ${misc:Depends} -Description: Create method aliases +Depends: ${perl:Depends}, + ${misc:Depends} +Description: module to create method aliases The traditional way to create a method alias (provide an alternate name for a method) is simply a GLOB alias. While this works fine for functions, it does not work for methods overloaded by a subclass. @@ -19,4 +24,3 @@ Instead, Method::Alias creates a number of methods in the caller's package to call the real method. It is designed to be used as a pragma, to which you provide a set of pairs of method names. - diff -Nru libmethod-alias-perl-1.03/debian/copyright libmethod-alias-perl-1.03/debian/copyright --- libmethod-alias-perl-1.03/debian/copyright 2016-08-19 00:56:30.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/copyright 2016-08-18 19:02:44.000000000 +0000 @@ -1,37 +1,35 @@ -This is the debian package for the Method-Alias module. -It was created by Niko Tyni using dh-make-perl. - -It was downloaded from http://search.cpan.org/dist/Method-Alias/ . - -Upstream author: Adam Kennedy . +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/Method-Alias +Upstream-Contact: Adam Kennedy +Upstream-Name: Method-Alias Files: * -Copyright: Copyright 2004, 2006 Adam Kennedy. All rights reserved. -License: GPL-1+ | Artistic - This program is free software; you can redistribute it and/or modify it - under the same terms as Perl itself. +Copyright: 2004, 2006, Adam Kennedy +License: Artistic or GPL-1+ -Files: inc/* -Copyright:Copyright 2002, 2003, 2004, 2005, 2006 by - Audrey Tang - Brian Ingerson - Adam Kennedy -License: GPL-1+ | Artistic - All rights reserved. You can redistribute and/or modify - this bundle under the same terms as Perl itself. - . - These files have been copied from the Module::Install distribution by the - upstream build system. The copyright and license information were taken - from the copyright file of the libmodule-install-perl package. +Files: inc/Module/* +Copyright: 2002-2006, Adam Kennedy + 2002-2006, Audrey Tang + 2002-2006, Brian Ingerson +License: Artistic or GPL-1+ Files: debian/* -Copyright: © 2008 Niko Tyni -License: GPL-1+ | Artistic - This program is free software; you can redistribute it and/or modify it - under the same terms as Perl itself. - -Perl is distributed under your choice of the GNU General Public License or -the Artistic License. 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'. +Copyright: 2008, 2016, gregor herrmann + 2008, Niko Tyni +License: Artistic or GPL-1+ + +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 systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + 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 systems, the complete text of version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff -Nru libmethod-alias-perl-1.03/debian/rules libmethod-alias-perl-1.03/debian/rules --- libmethod-alias-perl-1.03/debian/rules 2016-08-19 00:56:30.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/rules 2016-08-18 19:02:44.000000000 +0000 @@ -1,75 +1,4 @@ #!/usr/bin/make -f -# This debian/rules file is provided as a template for normal perl -# packages. It was created by Marc Brockschmidt for -# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may -# be used freely wherever it is useful. -# 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) Makefile.PL INSTALLDIRS=vendor - $(MAKE) - $(MAKE) test - - touch $@ - -clean: - dh_testdir - dh_testroot - - dh_clean build-stamp install-stamp - - # Add commands to clean up after the build process here - [ ! -f Makefile ] || $(MAKE) realclean - -install: install-stamp -install-stamp: build-stamp - dh_testdir - dh_testroot - dh_clean -k - - # Add commands to install the package into $(TMP) here - $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - - [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 - - 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 Changes - dh_perl - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary +%: + dh $@ diff -Nru libmethod-alias-perl-1.03/debian/source/format libmethod-alias-perl-1.03/debian/source/format --- libmethod-alias-perl-1.03/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/source/format 2016-08-18 19:02:44.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru libmethod-alias-perl-1.03/debian/watch libmethod-alias-perl-1.03/debian/watch --- libmethod-alias-perl-1.03/debian/watch 2016-08-19 00:56:30.000000000 +0000 +++ libmethod-alias-perl-1.03/debian/watch 2016-08-18 19:02:44.000000000 +0000 @@ -1,3 +1,3 @@ version=3 -http://search.cpan.org/dist/Method-Alias/ .*/Method-Alias-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) +https://metacpan.org/release/Method-Alias .*/Method-Alias-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)