debian/0000755000000000000000000000000012210111427007155 5ustar debian/control0000644000000000000000000000246712210111412010563 0ustar Source: libnamespace-sweep-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, perl, debhelper, dh-buildinfo, libsub-identify-perl, libb-hooks-endofscope-perl (>= 0.09), libpackage-stash-perl (>= 0.33), libsub-name-perl, libtest-simple-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libnamespace-sweep-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnamespace-sweep-perl.git Homepage: http://search.cpan.org/dist/namespace-sweep/ Package: libnamespace-sweep-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: sweeps up imported subs in your classes Because Perl methods are just regular subroutines, it's difficult to tell what's a method and what's just an imported function. As a result, imported functions can be called as methods on your objects. . The namespace::sweep pragma will delete imported functions from your class's symbol table, thereby ensuring that your interface is as you specified it. However, code inside your module will still be able to use the imported functions without any problems. debian/source/0000755000000000000000000000000011752713702010473 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000102612210111402011017 0ustar libnamespace-sweep-perl (0.006-2) unstable; urgency=low * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Fix stop (build-)depending on libscalar-list-utils-perl: Provided by perl(-modules). -- Jonas Smedegaard Fri, 30 Aug 2013 14:41:24 +0200 libnamespace-sweep-perl (0.006-1) unstable; urgency=low * Initial packaging release. Closes: bug#703988. -- Jonas Smedegaard Tue, 26 Mar 2013 15:45:54 +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/watch0000644000000000000000000000024012124326370010213 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/namespace-sweep/ .*/namespace-sweep-([\d.]+)\.tar\.gz debian/copyright_hints0000644000000000000000000000174712210111407012324 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: MANIFEST META.json META.yml Makefile.PL debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch dist.ini t/ns_a_also.t t/ns_a_basic.t t/ns_a_cleanee.t t/ns_a_matchclean.t t/overload.t t/pkg.t t/pkg_symbol.t t/x-moo.t t/x-moose-mouse.t t/x-moose.t t/x-mouse.t xt/ns_a_role.t Copyright: *No copyright* License: UNKNOWN FIXME Files: README lib/namespace/sweep.pm Copyright: 2011, Mike Friedman License: UNKNOWN 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 2011, Mike Friedman disclaimer" for the program, if interest in the the software, and License: GPL-ever FIXME debian/copyright0000644000000000000000000000327412124326614011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: namespace::sweep Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=namespace-sweep Source: http://search.cpan.org/dist/namespace-Sweep/ Files: * Copyright: 2011, Mike Friedman 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: 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/rules0000755000000000000000000000275112210111340010234 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2013, Jonas Smedegaard # Description: Main Debian packaging script for namespace::sweep # # 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 = namespace-sweep DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/namespace DEB_UPSTREAM_TARBALL_MD5 = 7302277a935dd97fb04065597b1049de # needed by upstream build process and (always) at runtime deps = libsub-identify-perl deps +=, libb-hooks-endofscope-perl (>= 0.09) deps +=, libpackage-stash-perl (>= 0.33) # needed by upstream testsuite deps-test = libsub-name-perl, libtest-simple-perl CDBS_BUILD_DEPENDS += , $(deps), $(deps-test) CDBS_DEPENDS_$(pkg) = $(deps) debian/control.in0000644000000000000000000000220112124330672011171 0ustar Source: libnamespace-sweep-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/libnamespace-sweep-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnamespace-sweep-perl.git Homepage: http://search.cpan.org/dist/namespace-sweep/ Package: libnamespace-sweep-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: sweeps up imported subs in your classes Because Perl methods are just regular subroutines, it's difficult to tell what's a method and what's just an imported function. As a result, imported functions can be called as methods on your objects. . The namespace::sweep pragma will delete imported functions from your class's symbol table, thereby ensuring that your interface is as you specified it. However, code inside your module will still be able to use the imported functions without any problems.