--- libmoosex-strictconstructor-perl-0.05.orig/debian/control +++ libmoosex-strictconstructor-perl-0.05/debian/control @@ -0,0 +1,20 @@ +Source: libmoosex-strictconstructor-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5), libmodule-build-perl +Build-Depends-Indep: perl (>= 5.6.10-12), libmoose-perl (>= 0.26), libtest-perl-critic-perl, libtest-pod-perl, libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: Antony Gelberg +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/MooseX-StrictConstructor/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-strictconstructor-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/ + +Package: libmoosex-strictconstructor-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libmoose-perl (>= 0.26) +Description: Make your object constructors blow up on unknown attributes + "use MooseX::StrictConstructor" instead of just "use Moose" makes your + constructors strict. If your constructor is called with an attribute + init argument that your class does not declare, then it calls + "Carp::confess()". This is a great way to catch small typos. --- libmoosex-strictconstructor-perl-0.05.orig/debian/copyright +++ libmoosex-strictconstructor-perl-0.05/debian/copyright @@ -0,0 +1,19 @@ +This is the debian package for the MooseX-StrictConstructor module. +It was created by Antony Gelberg using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/MooseX-StrictConstructor/ + +The upstream author is: Dave Rolsky, . + +Copyright 2007 Dave Rolsky, All Rights Reserved. + +This program is free software. You may use, modify, and redistribute 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'. + +The Debian packaging is (C) 2008, Antony Gelberg and +is licensed under the same terms as the software itself (see above). --- libmoosex-strictconstructor-perl-0.05.orig/debian/watch +++ libmoosex-strictconstructor-perl-0.05/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/MooseX-StrictConstructor/ .*/MooseX-StrictConstructor-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libmoosex-strictconstructor-perl-0.05.orig/debian/compat +++ libmoosex-strictconstructor-perl-0.05/debian/compat @@ -0,0 +1 @@ +5 --- libmoosex-strictconstructor-perl-0.05.orig/debian/changelog +++ libmoosex-strictconstructor-perl-0.05/debian/changelog @@ -0,0 +1,5 @@ +libmoosex-strictconstructor-perl (0.05-1) unstable; urgency=low + + * Initial Release. Closes: #483373. + + -- Antony Gelberg Sat, 03 May 2008 14:50:35 +0100 --- libmoosex-strictconstructor-perl-0.05.orig/debian/rules +++ libmoosex-strictconstructor-perl-0.05/debian/rules @@ -0,0 +1,61 @@ +#!/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. +# +# It was later modified by Jason Kohles +# 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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Build.PL installdirs=vendor + $(PERL) Build +# Run maintainer tests too + IS_MAINTAINER=1 $(PERL) Build test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(PERL) Build install destdir=$(TMP) create_packlist=0 + 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 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install