debian/0000755000000000000000000000000012164046342007170 5ustar debian/control0000644000000000000000000000310112164044456010572 0ustar Source: libmoox-struct-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, perl, debhelper, dh-buildinfo, libb-hooks-endofscope-perl, libdata-optlist-perl, libmoo-perl, libobject-id-perl, libscalar-does-perl, libsub-install-perl, libnamespace-clean-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libmoox-struct-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmoox-struct-perl.git Homepage: https://metacpan.org/release/MooX-Struct Package: libmoox-struct-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: simple lightweight record-like structures making sounds like cows MooX::Struct allows you to create cheap struct-like classes for your data using Moo. . While similar in spirit to MooseX::Struct and Class::Struct, MooX::Struct has a somewhat different usage pattern. Rather than providing you with a "struct" keyword which can be used to define structs, you define all the structs as part of the "use" statement. This means they happen at compile time. . A struct is just an "anonymous" Moo class. MooX::Struct creates this class for you, and installs a lexical alias for it in your namespace. Thus your module can create a "Point3D" struct, and some other module can too, and they won't interfere with each other. All struct classes inherit from MooX::Struct. debian/source/0000755000000000000000000000000011752713702010473 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000165012164046342011044 0ustar libmoox-struct-perl (0.012-1) unstable; urgency=low [ upstream ] * New release. [ Jonas Smedegaard ] * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Add git URL as alternate source. * Stop tracking md5sum of upstream tarball. * Drop patch 1001: Build problem turned out to be (and fixed by now) in CDBS. * Update Homepage to use metacpan.com, to match upstream hint. * Use canonical hostname (anonscm.debian.org) in Vcs-Git URI. * Extend copyright coverage for main author to include current year. * Update and extend copyright file Files sections for convenience copies. -- Jonas Smedegaard Sun, 30 Jun 2013 17:21:03 +0200 libmoox-struct-perl (0.010-1) unstable; urgency=low * Initial packaging release. Closes: bug#702810. -- Jonas Smedegaard Mon, 11 Mar 2013 23:19:18 +0100 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/watch0000644000000000000000000000024012117427223010214 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/MooX-Struct/ .*/MooX-Struct-([\d._]+)\.tar\.gz debian debian/copyright_hints0000644000000000000000000000547312164044417012342 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 NEWS SIGNATURE debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch examples/triangle.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/YAML/Tiny.pm meta/changes.pret meta/doap.pret meta/makefile.pret meta/people.pret meta/rt-bugs.ttl t/readme.pod Copyright: *No copyright* License: UNKNOWN FIXME Files: CONTRIBUTING README lib/MooX/Struct.pm lib/MooX/Struct/Util.pm t/01basic.t t/02basicusage.t t/03inherit.t t/04flag.t t/05methods.t t/06sigils.t t/07overloading.t t/08alt-constructor.t t/09roles.t t/10strict-constructor.t t/11extend.t t/12lexical.t t/13basestruct.t t/14trace.t t/96processor.t t/97dataprinter.t t/98baseclass.t t/99lazy.t Copyright: 2012, Toby Inkster 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: 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, 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/copyright0000644000000000000000000000633112164045776011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MooX::Struct Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=MooX-Struct Source: http://search.cpan.org/dist/MooX-Struct/ git://github.com/tobyink/p5-moox-struct 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/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/Contributors.pm Copyright: 2013, Toby Inkster License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install::Contributors. 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/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.conf0000644000000000000000000000014611373262460010612 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000263312164044344010254 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2013, Jonas Smedegaard # Description: Main Debian packaging script for MooX::Struct # # 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 = MooX-Struct DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/MooX # Needed by upstream build process and (always) at runtime perl-deps = b-hooks-endofscope data-optlist moo object-id scalar-does perl-deps += sub-install namespace-clean deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps)) CDBS_BUILD_DEPENDS +=, $(deps) CDBS_DEPENDS_$(pkg) = $(deps) DEB_INSTALL_EXAMPLES_$(pkg) += examples/* debian/control.in0000644000000000000000000000257012164043257011206 0ustar Source: libmoox-struct-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/libmoox-struct-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmoox-struct-perl.git Homepage: https://metacpan.org/release/MooX-Struct Package: libmoox-struct-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: simple lightweight record-like structures making sounds like cows MooX::Struct allows you to create cheap struct-like classes for your data using Moo. . While similar in spirit to MooseX::Struct and Class::Struct, MooX::Struct has a somewhat different usage pattern. Rather than providing you with a "struct" keyword which can be used to define structs, you define all the structs as part of the "use" statement. This means they happen at compile time. . A struct is just an "anonymous" Moo class. MooX::Struct creates this class for you, and installs a lexical alias for it in your namespace. Thus your module can create a "Point3D" struct, and some other module can too, and they won't interfere with each other. All struct classes inherit from MooX::Struct.