debian/0000755000000000000000000000000012154721273007172 5ustar debian/control0000644000000000000000000000256412154721235010602 0ustar Source: libperlx-maybe-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, perl, debhelper, dh-buildinfo, libmodule-manifest-skip-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libperlx-maybe-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libperlx-maybe-perl.git Homepage: https://metacpan.org/release/PerlX-Maybe Package: libperlx-maybe-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: return a pair only if they are both defined Moose classes (and some other classes) distinguish between an attribute being unset and the attribute being set to undef. Supplying a constructor arguments like this: . my $bob = Person->new( name => $name, age => $age, ); . Will result in the "name" and "age" attributes possibly being set to undef (if the corresponding $name and $age variables are not defined), which may violate the Person class' type constraints. . PerlX::Maybe checks that $x and $y are both defined. If they are, it returns them both as a list; otherwise it returns the empty list. . This package also includes Syntax::Feature::Maybe. debian/source/0000755000000000000000000000000012154720714010471 5ustar debian/source/format0000644000000000000000000000001412154720714011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000361312154721273011047 0ustar libperlx-maybe-perl (0.004-1) unstable; urgency=low [ upstream ] * New release. + Silence warnings under 'perl -w'. (But you shouldn't use 'perl -w' anyway.) [ Jonas Smedegaard ] * 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+, and extend copyrigt coverage for myself to include current year. * Drop copyright file Files sections for no longer shipped convenience code copies. -- Jonas Smedegaard Sat, 08 Jun 2013 23:31:38 +0200 libperlx-maybe-perl (0.003-1) unstable; urgency=low [ upstream ] * New release. [ Salvatore Bonaccorso ] * Use canonical anonscm.debian.org hostname in Vcs-Git URI. [ Jonas Smedegaard ] * Stop track or support import of upstream development releases. * Revert wrong fix for lintian warning. * Update copyright file: + Fix use pseudo-license and pseudo-comment to obey silly restrictions of copyright format 1.0. + Cover yet another convenience code copy. + Extend coverage to current year for main author. * Use metacpan.org URL as Homepage, to match upstream meta hint. * Update package relations: + Recommend libperlx-maybe-xs-perl. + Suggest libsyntax-perl. + Relax to build-depend unversioned on cdbs: Needed version satisfied in stable, and oldstable no longer supported. * Bump dephelper compatibility level to 8. * Bump standards-version to 3.9.4. * Have git-buildpackage ignore upstream .gitignore files. * Mention Syntax::Feature::Maybe in long description. * Drop patch 1001: Fixed in CDBS (see bug#652274). -- Jonas Smedegaard Fri, 12 Apr 2013 23:57:47 +0200 libperlx-maybe-perl (0.002-1) unstable; urgency=low * Initial packaging release. Closes: bug#676292. -- Jonas Smedegaard Wed, 06 Jun 2012 01:37:03 +0200 debian/README.source0000644000000000000000000000056312154720714011354 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/compat0000644000000000000000000000000212154720714010367 0ustar 8 debian/watch0000644000000000000000000000024012154720714010216 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/PerlX-Maybe/ .*/PerlX-Maybe-([\d._]+)\.tar\.gz debian debian/copyright_hints0000644000000000000000000000465412154721231012335 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: CREDITS Changes MANIFEST META.ttl META.yml Makefile.PL SIGNATURE debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch inc/Module/AutoInstall.pm inc/Module/Install/AutoInstall.pm inc/Module/Install/AutoManifest.pm inc/Module/Install/Base.pm inc/Module/Install/Can.pm inc/Module/Install/Contributors.pm inc/Module/Install/Fetch.pm inc/Module/Install/Include.pm inc/Module/Install/Makefile.pm inc/Module/Install/TrustMetaYml.pm inc/Module/Install/Win32.pm inc/Module/Install/WriteAll.pm inc/Module/Package/Dist/RDF.pm inc/YAML/Tiny.pm meta/changes.ttl meta/doap.ttl meta/makefile.ttl t/01basic.t t/02maybe.t t/03provided.t Copyright: *No copyright* License: UNKNOWN FIXME Files: README lib/PerlX/Maybe.pm lib/Syntax/Feature/Maybe.pm Copyright: 2012-2013, Toby Inkster License: UNKNOWN FIXME Files: inc/Module/Install/Package.pm inc/Module/Package.pm Copyright: 2011 License: UNKNOWN FIXME Files: inc/Module/Install/Metadata.pm Copyright: License: Expat FIXME Files: debian/rules Copyright: 2012-2013, Jonas Smedegaard License: GPL-3+ FIXME Files: LICENSE Copyright: 1989, Free Software Foundation, Inc 19xx name of author 19yy 2013, Toby Inkster HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES Holder Holder maintains some semblance of Holder may not be used to endorse or promote Holder to include your Holder" is whoever is named in the or s for Holder, but only to the Holder. A Package modified in such disclaimer" for the program, if holder saying it may be interest in the notices and associated disclaimers the software, and License: GPL-ever FIXME Files: COPYRIGHT Copyright: 2002, - 2012, Brian Ingerson, Audrey Tang and Adam Kennedy 2002-2004, Audrey Tang and Brian Ingerson 2003-2004, Audrey Tang 2006, - 2012, Adam Kennedy 2011. Ingy doet Net 2013, the holder(s) None This software is 2011-2012, by Toby Inkster This software is 2012-2013, by Toby Inkster This software is 2013, by Toby Inkster Unknown License: UNKNOWN FIXME Files: inc/Module/Install.pm Copyright: 2008, - 2012, Adam Kennedy License: UNKNOWN FIXME debian/copyright0000644000000000000000000000551612154721051011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PerlX::Maybe Upstream-Contact: Toby Inkster Source: http://search.cpan.org/dist/PerlX-Maybe/ Files: * Copyright: 2012-2013, Toby Inkster License: Artistic or GPL-1+ Comment: License: . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system 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/Module/Package.pm inc/Module/Install/Package.pm Copyright: 2011, Ingy döt Net License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Package. Files: inc/Module/Install/AutoManifest.pm Copyright: 2008, Hans Dieter Pearcey License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install::AutoManifest. Files: inc/Module/Install/TrustMetaYml.pm Copyright: 2011, Toby Inkster License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install::TrustMetaYml. Files: inc/Module/Package/Dist/RDF.pm Copyright: 2011, Toby Inkster License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Package::RDF. Files: inc/YAML/Tiny.pm Copyright: 2006-2011, Adam Kennedy License: Artistic or GPL-1+ Comment: Mangled convenience copy of YAML::Tiny. Files: debian/* Copyright: 2012-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 3 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/gbp.conf0000644000000000000000000000021512154720714010606 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = .gitignore debian/rules0000755000000000000000000000274212154720714010256 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2012, 2013 Jonas Smedegaard # Description: Main Debian packaging script for PerlX::Maybe # # 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 = PerlX-Maybe DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/PerlX DEB_UPSTREAM_TARBALL_MD5 = a9eeaeed0d4a5c6f5abf5709dabb418e pkg = $(DEB_SOURCE_PACKAGE) # Needed by upstream build process and (always) at runtime deps = libmodule-manifest-skip-perl # Needed (often/seldom) at runtime recommends = libperlx-maybe-xs-perl suggests = libsyntax-perl CDBS_BUILD_DEPENDS += , $(deps) CDBS_DEPENDS_$(pkg) = $(deps) CDBS_RECOMMENDS_$(pkg) = $(recommends) CDBS_SUGGESTS_$(pkg) = $(suggests) debian/control.in0000644000000000000000000000245012154720714011202 0ustar Source: libperlx-maybe-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/libperlx-maybe-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libperlx-maybe-perl.git Homepage: https://metacpan.org/release/PerlX-Maybe Package: libperlx-maybe-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: return a pair only if they are both defined Moose classes (and some other classes) distinguish between an attribute being unset and the attribute being set to undef. Supplying a constructor arguments like this: . my $bob = Person->new( name => $name, age => $age, ); . Will result in the "name" and "age" attributes possibly being set to undef (if the corresponding $name and $age variables are not defined), which may violate the Person class' type constraints. . PerlX::Maybe checks that $x and $y are both defined. If they are, it returns them both as a list; otherwise it returns the empty list. . This package also includes Syntax::Feature::Maybe.