debian/0000755000000000000000000000000012231711622007163 5ustar debian/watch0000644000000000000000000000025711563472151010230 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/TryCatch/ .*/TryCatch-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/README.source0000644000000000000000000000056312134045103011342 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/control.in0000644000000000000000000000170212132104045011166 0ustar Source: libtrycatch-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libtrycatch-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtrycatch-perl.git Homepage: http://search.cpan.org/dist/TryCatch/ Package: libtrycatch-perl Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends}, ${cdbs:Depends} Description: first class try catch semantics for Perl TryCatch aims to provide a nicer syntax and method to catch errors in Perl, similar to what is found in other languages (such as Java, Python or C++). The standard method of using "eval {}; if ($@) {}" is often prone to subtle bugs, primarily that its far too easy to stomp on the error in error handlers. And also eval/if isn't the nicest idiom. debian/rules0000755000000000000000000000374412141721204010250 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2011, 2013 Jonas Smedegaard # Description: Main Debian packaging script for TryCatch # # 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 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_PACKAGE = TryCatch #DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/TryCatch DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/A/AS/ASH DEB_UPSTREAM_TARBALL_MD5 = 37dbff1d9ab3b09d2a41b706f7716957 pkg = $(DEB_SOURCE_PACKAGE) # Needed by upstream build process and (always) at runtime deps-perl = devel-declare moose moosex-types parse-method-signatures deps-perl += scope-upper sub-exporter variable-magic deps = $(patsubst %,$(comma) lib%-perl,$(deps-perl)) deps +=, libb-hooks-endofscope-perl (>= 0.12) deps +=, libb-hooks-op-check-perl (>= 0.18) deps +=, libb-hooks-op-ppaddr-perl (>= 0.03) deps +=, libextutils-depends-perl (>= 0.302) deps +=, libnamespace-clean-perl (>= 0.20) # Needed by upstream testsuite deps-test = libtest-exception-perl deps-test +=, libxml-sax-expat-perl, libxml-sax-base-perl CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test) CDBS_DEPENDS_$(pkg) = $(deps) # Remove bogusly installed benchmarking(?) files binary-post-install/$(pkg):: rm -f $(DEB_DESTDIR)/usr/lib/perl5/bench* debian/copyright0000644000000000000000000000521212141721234011116 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: TryCatch Upstream-Contact: Ash Berlin Source: http://search.cpan.org/dist/TryCatch/ git://github.com/ashb/trycatch Files: * Copyright: Ash Berlin License: Artistic or GPL-1+ Comment: License: . Licensed under the same terms as Perl itself. . Comment: . Perl 5 is licensed under either the Artistic license or the GNU General Public License, version 1 or later. Files: inc/Module/AutoInstall.pm inc/Module/Install* Copyright: 2001-2006, Audrey Tang 2002-2004, Brian Ingerson 2006,2008-2012, Adam Kennedy License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install. Files: inc/EUDeps/ExtUtils/Depends.pm Copyright: Paolo Molaro muppet License: Artistic or GPL-1+ Comment: License: . This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. . Comment: This file does not contain an explicit statement of . copyright ownership. Pursuant to the Berne Convention for the Protection of Literary and Artistic Works, it is assumed that all content is copyright by its respective authors unless otherwise stated. Files: ppport.h Copyright: 1999, Kenneth Albanowski 2001, Paul Marquess 2004-2009, Marcus Holland-Moritz License: Artistic or GPL-1+ Comment: License: . This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Files: debian/* Copyright: 2011,2013, Jonas Smedegaard License: GPL-3+ License: Artistic Comment: . On Debian systems the 'Artistic' license is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: . On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL-1'. License: GPL-3+ 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 3, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Comment: . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/copyright_hints0000644000000000000000000000456612141721320012332 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Changes MANIFEST META.yml MYMETA.json MYMETA.yml Makefile.PL README TryCatch.xs debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch eg/bench.pl eg/bench_ok.pl inc/EUDeps/B/Hooks/OP/Check/Install/Files.pm inc/EUDeps/B/Hooks/OP/Check/Install/hook_op_check.h inc/EUDeps/B/Hooks/OP/PPAddr/Install/Files.pm inc/EUDeps/B/Hooks/OP/PPAddr/Install/hook_op_ppaddr.h inc/EUDeps/ExtUtils/Depends.pm inc/Module/AutoInstall.pm inc/Module/Install/AutoInstall.pm inc/Module/Install/Base.pm inc/Module/Install/Can.pm inc/Module/Install/Fetch.pm inc/Module/Install/Include.pm inc/Module/Install/Makefile.pm inc/Module/Install/Win32.pm inc/Module/Install/WriteAll.pm lib/TryCatch.pm t/catch_01.t t/context.t t/destroy.t t/handwritten.t t/invalid.t t/lib/NoType.pm t/lib/NoVarName.pm t/lib/TryCatchTest.pm t/method.t t/mx_types_structured.t t/nested.t t/simple.t t/types.t t/xml_sax_expat.t Copyright: *No copyright* License: UNKNOWN FIXME Files: inc/Module/Install/Metadata.pm Copyright: License: Expat FIXME Files: debian/rules Copyright: 2011, 2013 Jonas Smedegaard License: GPL-3+ FIXME Files: ppport.h Copyright: && HvNAME(hv) \ ( < ' ' || == 127) ( <= 127) (( >= 32 && < 127)) (( >= 33 && <= 47) || ( >= 58 && <= 64) || ( >= 91 && <= 96) || ( >= 123 && <= 126)) (->cop_file) (->cop_filegv) (->cop_stash) (->cop_stashpv) (CopFILE ? GvAV(gv_fetchfile(CopFILE)) : Nullav) (CopFILE ? GvSV(gv_fetchfile(CopFILE)) : Nullsv) (CopFILE ? gv_fetchfile(CopFILE) : Nullgv) (CopFILEGV ? GvAV(CopFILEGV) : Nullav) (CopFILEGV ? GvSV(CopFILEGV) : Nullsv) (CopFILESV ? SvPVX(CopFILESV) : Nullch) (CopSTASH ? HvNAME(CopSTASH) : Nullch) (CopSTASHPV ? gv_stashpv(CopSTASHPV,GV_ADD) : Nullhv) (isALNUM || isPUNCT) (isALPHA || isDIGIT) (isDIGIT || ( >= 'a' && <= 'f') || ( >= 'A' && <= 'F')) (isSPACE || == '\v') 1999, Kenneth Albanowski 2001, Paul Marquess 2004-2009, Marcus Holland-Moritz == (hv)) == HvNAME(hv) \ isalnum isascii iscntrl isgraph isprint ispunct isxdigit License: Perl FIXME Files: inc/Module/Install.pm Copyright: 2008, - 2012, Adam Kennedy License: UNKNOWN FIXME debian/source/0000755000000000000000000000000012132102375010462 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212132104034010352 0ustar 8 debian/control0000644000000000000000000000263212141721324010571 0ustar Source: libtrycatch-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, perl, debhelper, dh-buildinfo, libdevel-declare-perl, libmoose-perl, libmoosex-types-perl, libparse-method-signatures-perl, libscope-upper-perl, libsub-exporter-perl, libvariable-magic-perl, libb-hooks-endofscope-perl (>= 0.12), libb-hooks-op-check-perl (>= 0.18), libb-hooks-op-ppaddr-perl (>= 0.03), libextutils-depends-perl (>= 0.302), libnamespace-clean-perl (>= 0.20), libtest-exception-perl, libxml-sax-expat-perl, libxml-sax-base-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libtrycatch-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtrycatch-perl.git Homepage: http://search.cpan.org/dist/TryCatch/ Package: libtrycatch-perl Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends}, ${cdbs:Depends} Description: first class try catch semantics for Perl TryCatch aims to provide a nicer syntax and method to catch errors in Perl, similar to what is found in other languages (such as Java, Python or C++). The standard method of using "eval {}; if ($@) {}" is often prone to subtle bugs, primarily that its far too easy to stomp on the error in error handlers. And also eval/if isn't the nicest idiom. debian/gbp.conf0000644000000000000000000000014611373262460010612 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/changelog0000644000000000000000000000375612231711622011050 0ustar libtrycatch-perl (1.003002-1build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Wed, 23 Oct 2013 10:14:58 +0100 libtrycatch-perl (1.003002-1) unstable; urgency=low [ upstream ] * New realease. + Fix (the test failure in t/invalid where) syntax errors are reported from the wrong location. + Fix the xml_sax_expat test to check for dependencies correctly. [ Gregor Herman ] * Remove debian/source/local-options: abort-on-upstream-changes and unapply-patches are default in dpkg-source since 1.16.1. [ Salvatore Bonaccorso ] * Use canonical hostname (anonscm.debian.org) in Vcs-Git URI. [ Xavier Guimard ] * Update copyright file: + Add Berne convention comment to inc/EUDeps/ExtUtils/Depends.pm. [ Jonas Smedegaard ] * Update copyright file: + Add github URL as alternate source. * Use canonical hostname (anonscm.debian.org) in Vcs-Bowser URI. * Update package relations: + (Build-)depend on recent libnamespace-clean-perl. + Fix (build-)depend on recent libextutils-depends-perl. + Fix (build-)depend versioned on libb-hooks-op-check-perl: Needed version not satisfied in stable. + Tighten (build-)dependency on libb-hooks-endofscope-perl: Version now needed not satisfied in stable. + Build-depend on libxml-sax-expat-perl and libxml-sax-base-perl. + Relax to build-depend unversioned on debhelper, cdbs and devscripts: Needed versions satisfied in stable, and oldstable no longer supported. * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Bump packaging license to GPL-3+. * Extend copyright coverage for packaging to include current year. -- Jonas Smedegaard Mon, 06 May 2013 14:32:56 +0200 libtrycatch-perl (1.003000-1) unstable; urgency=low * Initial packaging release. Closes: bug#626702. -- Jonas Smedegaard Sat, 14 May 2011 15:10:50 +0200