debian/0000755000000000000000000000000012201254774007172 5ustar debian/control0000644000000000000000000000235012201254412010562 0ustar Source: libtype-tiny-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, libmoose-perl, libmouse-perl, libclass-insideout-perl, libmoosex-types-perl, libmousex-types-perl, libtest-fatal-perl, perl (>= 5.13.4) | libtest-simple-perl (>= 0.96), libmoo-perl (>= 1.001000), perl (>= 5.13.11) | libjson-pp-perl (>= 2.27105), libvalidation-class-perl (>= 7.900017), libdevel-stacktrace-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libtype-tiny-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtype-tiny-perl.git Homepage: https://metacpan.org/release/Type-Tiny Package: libtype-tiny-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Provides: ${cdbs:Provides} Conflicts: ${cdbs:Conflicts} Replaces: ${cdbs:Replaces} Enhances: ${cdbs:Enhances} Description: tiny, yet Moo(se)-compatible type constraint Type::Tiny is a tiny class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse. debian/source/0000755000000000000000000000000011752713702010473 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001263212201254774011050 0ustar libtype-tiny-perl (0.022-1) unstable; urgency=low [ upstream ] * New release. [ Jonas Smedegaard ] * Improve watch file to use both www.cpan.org/authors URL (for newest info) and search.cpan.org/dist URL (for change of author). * Suggest (not only build-depend on) libdevel-stacktrace-perl. * Recommend libdevel-lexalias-perl. * Enhance libtype-tie-perl and libreply-perl. -- Jonas Smedegaard Fri, 09 Aug 2013 23:05:00 +0200 libtype-tiny-perl (0.020-1) unstable; urgency=low [ upstream ] * New release. Highlights: + Support for Perl 5.6.x. -- Jonas Smedegaard Mon, 29 Jul 2013 14:48:53 +0200 libtype-tiny-perl (0.016-1) unstable; urgency=low [ upstream ] * New release. + Type::Utils::dwim_type() function. + Experimental support for Perl 5.6.x. [ Jonas Smedegaard ] * Switch to cpan.org/authors URL for watch file and get-orig-source target, and simplify watch file. -- Jonas Smedegaard Thu, 18 Jul 2013 18:42:02 +0200 libtype-tiny-perl (0.014-1) unstable; urgency=low [ upstream ] * New release. [ Jonas Smedegaard ] * Build-depend on libtest-fatal-perl: Needed for testsuite. -- Jonas Smedegaard Sun, 30 Jun 2013 16:39:19 +0200 libtype-tiny-perl (0.012-1) unstable; urgency=low [ upstream ] * New release. [ Jonas Smedegaard ] * Update package relations: + Fix tighten to build-depend versioned on libvalidation-class-perl: Newer version needed in testsuite since 0.005~05. + Fix build-depend on (recent perl or) recent libjson-pp-perl (not libjson-perl): Needed fot testsuite since 0.005~08. + Build-depend on libdevel-stacktrace-perl, libmoosex-types-perl and libmousex-types-perl (and mention in comment Sub::Exporter::Lexical and Function::Parameters not yet in Debian): Optionally needed for testsuite. * Update copyright file: Add Files sections for new authors of regression tests (no new licensing). * Install examples. -- Jonas Smedegaard Sun, 30 Jun 2013 16:26:36 +0200 libtype-tiny-perl (0.006-1) unstable; urgency=low [ upstream ] * New release. + String error messages replaced with exceptions. - Assertion exceptions have an ->explain method. + Bytes, Chars, Encode and Decode split from Types::Standard to Types::Encodings. [ Jonas Smedegaard ] * Update upstream source to use github. * Stop tracking md5sum of upstream tarball. * Extend copyright coverage for additional convenience code copies. -- Jonas Smedegaard Fri, 14 Jun 2013 21:08:14 +0200 libtype-tiny-perl (0.004-1) unstable; urgency=low [ upstream ] * New release. [ Jonas Smedegaard ] * Add Files section for differently owned upstream file (no new license). * Update package relations: + Build-depend on (recent perl or) recent libtest-simple-perl: Required by testsuite. + Tighten to build-depend versioned on libmoo-perl: Match version mentioned in Type::Tiny::Manual::UsingWithMoo. + Build-depend on libclass-insideout-perl and libvalidation-class-perl: Optionally used in testsuite. -- Jonas Smedegaard Mon, 06 May 2013 16:13:58 +0200 libtype-tiny-perl (0.002-1) unstable; urgency=low [ upstream ] * Initial stable release. + Chars and Bytes types added to Types::Standard. + Fix method conflicts when exporting type constraints to roles. + Prevent warnings (about 'my $val' masking a previously declared variable) when several Str checks are being inlined in close proximity, such as Tuple[Str,Str]. + Link from Test::TypeTiny to Test::Deep::Type. + Avoid unnecessarily regenerating parameterized type constraints. + Make Type::Tiny's has_coercion method more DWIM. -- Jonas Smedegaard Sun, 28 Apr 2013 18:38:22 +0200 libtype-tiny-perl (0.001-1) unstable; urgency=low [ upstream ] * Initial stable release. + More test cases for Optional[`a] within Dict[`a]. + Some inline code assumed that it would be compiled in a package that had 'blessed' imported. + Some inline code wasn't wrapped in parentheses. + Improve test names generated by Test::TypeTiny; allow test scripts to provide test names. + Parameterized type constraints in Types::Standard now do some sanity checking on their arguments. + Weaken the reference from a Moose::Meta::TypeConstraint object to its Type::Tiny origin. [ Jonas Smedegaard ] * Fix stop build-depend on libtest-simple-perl: Provided by perl. * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Stop track or support import of upstream development releases. -- Jonas Smedegaard Fri, 19 Apr 2013 11:40:51 +0200 libtype-tiny-perl (0.000~12-1) unstable; urgency=low [ upstream ] * New prerelease. + Fix incorrect Test::Requires line in 'mouse-coercion.t'. + Improvements to has_coercion_for_{type,value} from Type::Coercion. + Fix prototype for Type::Utils::as. + No longer need to pass '-moose' parameter when importing a library into a Moose class; only Mouse needs that treatment now. -- Jonas Smedegaard Fri, 12 Apr 2013 21:55:31 +0200 libtype-tiny-perl (0.000~09-1) unstable; urgency=low * Initial packaging release. Closes: bug#705006. -- Jonas Smedegaard Mon, 08 Apr 2013 22:01:21 +0200 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/compat0000644000000000000000000000000212010177205010357 0ustar 8 debian/watch0000644000000000000000000000033212201241644010211 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://www.cpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-([\d.]+)\.tar\.gz http://search.cpan.org/dist/Type-Tiny/ .*/Type-Tiny-([\d.]+)\.tar\.gz debian/copyright_hints0000644000000000000000000001320012175461470012331 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: CONTRIBUTING README examples/benchmark-coercions.pl examples/benchmark-constraints.pl examples/datetime-coercions.pl lib/Devel/TypeTiny/Perl56Compat.pm lib/Eval/TypeTiny.pm lib/Exporter/TypeTiny.pm lib/Reply/Plugin/TypeTiny.pm lib/Test/TypeTiny.pm lib/Type/Coercion.pm lib/Type/Coercion/Union.pm lib/Type/Exception.pm lib/Type/Exception/Assertion.pm lib/Type/Exception/Compilation.pm lib/Type/Exception/WrongNumberOfParameters.pm lib/Type/Library.pm lib/Type/Params.pm lib/Type/Parser.pm lib/Type/Registry.pm lib/Type/Tiny.pm lib/Type/Tiny/Class.pm lib/Type/Tiny/Duck.pm lib/Type/Tiny/Enum.pm lib/Type/Tiny/Intersection.pm lib/Type/Tiny/Manual.pod lib/Type/Tiny/Manual/Coercions.pod lib/Type/Tiny/Manual/Libraries.pod lib/Type/Tiny/Manual/Params.pod lib/Type/Tiny/Manual/UsingWithMoo.pod lib/Type/Tiny/Manual/UsingWithMoose.pod lib/Type/Tiny/Manual/UsingWithMouse.pod lib/Type/Tiny/Manual/UsingWithOther.pod lib/Type/Tiny/Role.pm lib/Type/Tiny/Union.pm lib/Type/Utils.pm lib/Types/Standard.pm lib/Types/TypeTiny.pm t/00-begin.t t/01-compile.t t/02-api.t t/arithmetic.t t/coercion-classy.t t/coercion-frozen.t t/coercion-inlining.t t/coercion-modifiers.t t/coercion-union.t t/coercion.t t/dwim-moose.t t/dwim-mouse.t t/eval-lexicalsubs.t t/eval.t t/exceptions-stack.t t/exceptions.t t/exporter-installer.t t/exporter-roleconflict.t t/exporter.t t/functionparameters.t t/lib/BiggerLib.pm t/lib/DemoLib.pm t/library-assert.t t/library-is.t t/library-to.t t/library-types.t t/match-on-type.t t/moo-coercion.t t/moo-exceptions.t t/moo-inflation.t t/moo.t t/moose-autott.t t/moose-coercion.t t/moose.t t/moosextypes-more.t t/moosextypes.t t/mouse-coercion.t t/mouse.t t/mousextypes.t t/oo-objectaccessor.t t/parameterization.t t/params-badsigs.t t/params-carping.t t/params-coerce.t t/params-methods.t t/params-mixednamed.t t/params-named.t t/params-noninline.t t/params-optional.t t/params-positional.t t/params-slurpy.t t/parser.t t/registry.t t/stdlib-mxtmlb-alike.t t/stdlib-optlist.t t/stdlib-overload.t t/stdlib-strmatch.t t/stdlib-structures.t t/stdlib-tied.t t/stdlib.t t/subquote.t t/syntax.t t/type-class.t t/type-duck.t t/type-enum.t t/type-intersection.t t/type-role.t t/type-union.t t/type.t t/validationclass.t Copyright: 2012-2013, Toby Inkster 2013, Toby Inkster License: UNKNOWN FIXME Files: CREDITS Changes MANIFEST META.ttl META.yml Makefile.PL NEWS SIGNATURE debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch examples/benchmark-mkopt.pl examples/benchmark-param-validation.pl 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/Test/Fatal.pm inc/Test/Requires.pm inc/Try/Tiny.pm inc/YAML/Tiny.pm meta/changes.pret meta/doap.pret meta/makefile.pret meta/people.pret meta/rights.pret Copyright: *No copyright* License: UNKNOWN FIXME Files: inc/Module/Install/Package.pm inc/Module/Package.pm Copyright: 2011 License: UNKNOWN FIXME Files: t/rt85911.t t/rt86004.t Copyright: 2013, Diab Jerius License: UNKNOWN FIXME Files: t/rt86233.t t/rt86239.t Copyright: 2013, Vyacheslav Matyukhin License: UNKNOWN FIXME Files: inc/Module/Install/Metadata.pm Copyright: License: Expat FIXME Files: debian/rules Copyright: 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, Ingy döt Net 2013, MATSUNO Tokuhiro 2013, Ricardo Signes 2013, Toby Inkster 2013, Yuval Kogman 2013, the holder(s) None This software is 2011-2012, by Toby Inkster This software is 2013, by David Golden, Toby Inkster This software is 2013, by Diab Jerius This software is 2013, by Richard Simões This software is 2013, by Toby Inkster This software is 2013, by Vyacheslav Matyukhin Unknown License: UNKNOWN FIXME Files: inc/Module/Install.pm Copyright: 2008, - 2012, Adam Kennedy License: UNKNOWN FIXME Files: t/oo-classinsideout.t Copyright: 2013, David Golden, Toby Inkster License: UNKNOWN FIXME Files: t/coercions-parameterized.t Copyright: Paris", "Garçon" License: UNKNOWN FIXME Files: t/gh1.t Copyright: 2013, Richard Simões License: UNKNOWN FIXME Files: t/coercion-automatic.t Copyright: 2013, Toby Inkster to $Dict1 - changed in 0.003_11; the presence of an additional value cancels coercion" License: UNKNOWN FIXME debian/copyright0000644000000000000000000001131712163236433011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Type::Tiny Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny Source: http://search.cpan.org/dist/Type-Tiny/ https://github.com/tobyink/p5-type-tiny 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: t/rt85911.t t/rt86004.t Copyright: 2013, Diab Jerius 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. Files: t/rt86233.t t/rt86239.t Copyright: 2013, Vyacheslav Matyukhin 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. Files: t/oo-classinsideout.t Copyright: 2013, David Golden 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. 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/unicore/Name.pm inc/utf8.pm Copyright: 1993-2012, Larry Wall and others License: Artistic or GPL-1+ Mangled convenience copy of Perl. 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-2012, 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/Scalar/Util* Copyright: 1997-2007, Graham Barr 1999 Tuomas J. Lukka License: Artistic or GPL-1+ Comment: Mangled convenience copy of List::Util. Files: inc/Test/Fatal.pm Copyright: Copyright 2013 Ricardo Signes License: Artistic or GPL-1+ Comment: Mangled convenience copy of Test::Fatal. Files: inc/Test/Requires.pm Copyright: Copyright 2013 MATSUNO Tokuhiro License: Artistic or GPL-1+ Comment: Mangled convenience copy of Test::Requires. Files: inc/Try/Tiny.pm Copyright: Copyright 2013 Yuval Kogman License: Artistic or GPL-1+ Comment: Mangled convenience copy of Try::Tiny. Files: inc/YAML/Tiny.pm Copyright: 2006-2012, Adam Kennedy License: Artistic or GPL-1+ Comment: Mangled convenience copy of YAML::Tiny. Files: debian/* Copyright: 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.conf0000644000000000000000000000021512130506441010577 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = .gitignore debian/rules0000755000000000000000000000410112201252271010234 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2013, Jonas Smedegaard # Description: Main Debian packaging script for Type::Tiny # # 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 pkg = $(DEB_SOURCE_PACKAGE) DEB_UPSTREAM_PACKAGE = Type-Tiny DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/T/TO/TOBYINK # Needed by upstream testsuite # TODO: add Sub::Exporter::Lexical and Function::Parameters when in Debian perl-deps-test = moose mouse class-insideout perl-deps-test += moosex-types mousex-types test-fatal deps-test = $(patsubst %,$(comma) lib%-perl,$(perl-deps-test)) deps-test +=, perl (>= 5.13.4) | libtest-simple-perl (>= 0.96) deps-test +=, libmoo-perl (>= 1.001000) deps-test +=, perl (>= 5.13.11) | libjson-pp-perl (>= 2.27105) deps-test +=, libvalidation-class-perl (>= 7.900017) # Needed by upstream testsuite and (seldom) at runtime suggests-test = libdevel-stacktrace-perl # Needed (often) at runtime recommends = libdevel-lexalias-perl # Improves other packages # TODO: get libtype-tie-perl in Debian enhances = libtype-tie-perl, libreply-perl CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test), $(suggests-test) CDBS_DEPENDS_$(pkg) = $(deps) CDBS_RECOMMENDS_$(pkg) = $(recommends) CDBS_SUGGESTS_$(pkg) = $(suggests-test) CDBS_ENHANCES_$(pkg) = $(enhances) DEB_INSTALL_EXAMPLES_$(pkg) = examples/* debian/control.in0000644000000000000000000000157712201254032011177 0ustar Source: libtype-tiny-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/libtype-tiny-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtype-tiny-perl.git Homepage: https://metacpan.org/release/Type-Tiny Package: libtype-tiny-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Provides: ${cdbs:Provides} Conflicts: ${cdbs:Conflicts} Replaces: ${cdbs:Replaces} Enhances: ${cdbs:Enhances} Description: tiny, yet Moo(se)-compatible type constraint Type::Tiny is a tiny class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse.