r60454 - in /branches/upstream/libmoosex-followpbp-perl: ./ current/ current/lib/ current/lib/MooseX/ current/lib/MooseX/FollowPBP/ current/lib/MooseX/FollowPBP/Role/ current/t/
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Wed Jul 21 15:04:59 UTC 2010
Author: ansgar-guest
Date: Wed Jul 21 15:04:48 2010
New Revision: 60454
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=60454
Log:
[svn-inject] Installing original source of libmoosex-followpbp-perl (0.04)
Added:
branches/upstream/libmoosex-followpbp-perl/
branches/upstream/libmoosex-followpbp-perl/current/
branches/upstream/libmoosex-followpbp-perl/current/Changes
branches/upstream/libmoosex-followpbp-perl/current/INSTALL
branches/upstream/libmoosex-followpbp-perl/current/LICENSE
branches/upstream/libmoosex-followpbp-perl/current/MANIFEST
branches/upstream/libmoosex-followpbp-perl/current/META.json
branches/upstream/libmoosex-followpbp-perl/current/META.yml
branches/upstream/libmoosex-followpbp-perl/current/Makefile.PL
branches/upstream/libmoosex-followpbp-perl/current/README
branches/upstream/libmoosex-followpbp-perl/current/SIGNATURE
branches/upstream/libmoosex-followpbp-perl/current/dist.ini
branches/upstream/libmoosex-followpbp-perl/current/lib/
branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/
branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/
branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP.pm
branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/Role/
branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/Role/Attribute.pm
branches/upstream/libmoosex-followpbp-perl/current/t/
branches/upstream/libmoosex-followpbp-perl/current/t/basic.t
branches/upstream/libmoosex-followpbp-perl/current/t/release-eol.t
branches/upstream/libmoosex-followpbp-perl/current/t/release-kwalitee.t
branches/upstream/libmoosex-followpbp-perl/current/t/release-no-tabs.t
branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-coverage.t
branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-spell.t
branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-syntax.t
Added: branches/upstream/libmoosex-followpbp-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/Changes?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/Changes (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/Changes Wed Jul 21 15:04:48 2010
@@ -1,0 +1,19 @@
+0.04 2010-07-20
+
+- Respect "is => 'bare'" attributes.
+
+
+0.03 2010-07-14
+
+- Use modern Moose APIs, to avoid warnings with the next Moose release.
+
+
+0.02 2008-02-06
+
+- Add a missing dependency on Moose so it gets tested.
+
+
+0.01 2008-12-16
+
+- This code was extracted from Moose::Policy, and works without
+ needing said module.
Added: branches/upstream/libmoosex-followpbp-perl/current/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/INSTALL?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/INSTALL (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/INSTALL Wed Jul 21 15:04:48 2010
@@ -1,0 +1,44 @@
+
+This is the Perl distribution MooseX-FollowPBP.
+
+Installing MooseX-FollowPBP is straightforward.
+
+## Installation with cpanm
+
+If you have cpanm, you only need one line:
+
+ % cpanm MooseX::FollowPBP
+
+If you are installing into a system-wide directory, you may need to pass the
+"-S" flag to cpanm, which uses sudo to install the module:
+
+ % cpanm -S MooseX::FollowPBP
+
+## Installing with the CPAN shell
+
+Alternatively, if your CPAN shell is set up, you should just be able to do:
+
+ % cpan MooseX::FollowPBP
+
+## Manual installation
+
+As a last resort, you can manually install it. Download the tarball, untar it,
+then build it:
+
+ % perl Makefile.PL
+ % make && make test
+
+Then install it:
+
+ % make install
+
+If you are installing into a system-wide directory, you may need to run:
+
+ % sudo make install
+
+## Documentation
+
+MooseX-FollowPBP documentation is available as in POD.
+You can run perldoc from a shell to read the documentation:
+
+ % perldoc MooseX::FollowPBP
Added: branches/upstream/libmoosex-followpbp-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/LICENSE?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/LICENSE (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/LICENSE Wed Jul 21 15:04:48 2010
@@ -1,0 +1,207 @@
+This software is Copyright (c) 2010 by Dave Rolsky.
+
+This is free software, licensed under:
+
+ The Artistic License 2.0
+
+ The Artistic License 2.0
+
+ Copyright (c) 2000-2006, The Perl Foundation.
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+This license establishes the terms under which a given free software
+Package may be copied, modified, distributed, and/or redistributed.
+The intent is that the Copyright Holder maintains some artistic
+control over the development of that Package while still keeping the
+Package available as open source and free software.
+
+You are always permitted to make arrangements wholly outside of this
+license directly with the Copyright Holder of a given Package. If the
+terms of this license do not permit the full use that you propose to
+make of the Package, you should contact the Copyright Holder and seek
+a different licensing arrangement.
+
+Definitions
+
+ "Copyright Holder" means the individual(s) or organization(s)
+ named in the copyright notice for the entire Package.
+
+ "Contributor" means any party that has contributed code or other
+ material to the Package, in accordance with the Copyright Holder's
+ procedures.
+
+ "You" and "your" means any person who would like to copy,
+ distribute, or modify the Package.
+
+ "Package" means the collection of files distributed by the
+ Copyright Holder, and derivatives of that collection and/or of
+ those files. A given Package may consist of either the Standard
+ Version, or a Modified Version.
+
+ "Distribute" means providing a copy of the Package or making it
+ accessible to anyone else, or in the case of a company or
+ organization, to others outside of your company or organization.
+
+ "Distributor Fee" means any fee that you charge for Distributing
+ this Package or providing support for this Package to another
+ party. It does not mean licensing fees.
+
+ "Standard Version" refers to the Package if it has not been
+ modified, or has been modified only in ways explicitly requested
+ by the Copyright Holder.
+
+ "Modified Version" means the Package, if it has been changed, and
+ such changes were not explicitly requested by the Copyright
+ Holder.
+
+ "Original License" means this Artistic License as Distributed with
+ the Standard Version of the Package, in its current version or as
+ it may be modified by The Perl Foundation in the future.
+
+ "Source" form means the source code, documentation source, and
+ configuration files for the Package.
+
+ "Compiled" form means the compiled bytecode, object code, binary,
+ or any other form resulting from mechanical transformation or
+ translation of the Source form.
+
+
+Permission for Use and Modification Without Distribution
+
+(1) You are permitted to use the Standard Version and create and use
+Modified Versions for any purpose without restriction, provided that
+you do not Distribute the Modified Version.
+
+
+Permissions for Redistribution of the Standard Version
+
+(2) You may Distribute verbatim copies of the Source form of the
+Standard Version of this Package in any medium without restriction,
+either gratis or for a Distributor Fee, provided that you duplicate
+all of the original copyright notices and associated disclaimers. At
+your discretion, such verbatim copies may or may not include a
+Compiled form of the Package.
+
+(3) You may apply any bug fixes, portability changes, and other
+modifications made available from the Copyright Holder. The resulting
+Package will still be considered the Standard Version, and as such
+will be subject to the Original License.
+
+
+Distribution of Modified Versions of the Package as Source
+
+(4) You may Distribute your Modified Version as Source (either gratis
+or for a Distributor Fee, and with or without a Compiled form of the
+Modified Version) provided that you clearly document how it differs
+from the Standard Version, including, but not limited to, documenting
+any non-standard features, executables, or modules, and provided that
+you do at least ONE of the following:
+
+ (a) make the Modified Version available to the Copyright Holder
+ of the Standard Version, under the Original License, so that the
+ Copyright Holder may include your modifications in the Standard
+ Version.
+
+ (b) ensure that installation of your Modified Version does not
+ prevent the user installing or running the Standard Version. In
+ addition, the Modified Version must bear a name that is different
+ from the name of the Standard Version.
+
+ (c) allow anyone who receives a copy of the Modified Version to
+ make the Source form of the Modified Version available to others
+ under
+
+ (i) the Original License or
+
+ (ii) a license that permits the licensee to freely copy,
+ modify and redistribute the Modified Version using the same
+ licensing terms that apply to the copy that the licensee
+ received, and requires that the Source form of the Modified
+ Version, and of any works derived from it, be made freely
+ available in that license fees are prohibited but Distributor
+ Fees are allowed.
+
+
+Distribution of Compiled Forms of the Standard Version
+or Modified Versions without the Source
+
+(5) You may Distribute Compiled forms of the Standard Version without
+the Source, provided that you include complete instructions on how to
+get the Source of the Standard Version. Such instructions must be
+valid at the time of your distribution. If these instructions, at any
+time while you are carrying out such distribution, become invalid, you
+must provide new instructions on demand or cease further distribution.
+If you provide valid instructions or cease distribution within thirty
+days after you become aware that the instructions are invalid, then
+you do not forfeit any of your rights under this license.
+
+(6) You may Distribute a Modified Version in Compiled form without
+the Source, provided that you comply with Section 4 with respect to
+the Source of the Modified Version.
+
+
+Aggregating or Linking the Package
+
+(7) You may aggregate the Package (either the Standard Version or
+Modified Version) with other packages and Distribute the resulting
+aggregation provided that you do not charge a licensing fee for the
+Package. Distributor Fees are permitted, and licensing fees for other
+components in the aggregation are permitted. The terms of this license
+apply to the use and Distribution of the Standard or Modified Versions
+as included in the aggregation.
+
+(8) You are permitted to link Modified and Standard Versions with
+other works, to embed the Package in a larger work of your own, or to
+build stand-alone binary or bytecode versions of applications that
+include the Package, and Distribute the result without restriction,
+provided the result does not expose a direct interface to the Package.
+
+
+Items That are Not Considered Part of a Modified Version
+
+(9) Works (including, but not limited to, modules and scripts) that
+merely extend or make use of the Package, do not, by themselves, cause
+the Package to be a Modified Version. In addition, such works are not
+considered parts of the Package itself, and are not subject to the
+terms of this license.
+
+
+General Provisions
+
+(10) Any use, modification, and distribution of the Standard or
+Modified Versions is governed by this Artistic License. By using,
+modifying or distributing the Package, you accept this license. Do not
+use, modify, or distribute the Package, if you do not accept this
+license.
+
+(11) If your Modified Version has been derived from a Modified
+Version made by someone other than you, you are nevertheless required
+to ensure that your Modified Version complies with the requirements of
+this license.
+
+(12) This license does not grant you the right to use any trademark,
+service mark, tradename, or logo of the Copyright Holder.
+
+(13) This license includes the non-exclusive, worldwide,
+free-of-charge patent license to make, have made, use, offer to sell,
+sell, import and otherwise transfer the Package with respect to any
+patent claims licensable by the Copyright Holder that are necessarily
+infringed by the Package. If you institute patent litigation
+(including a cross-claim or counterclaim) against any party alleging
+that the Package constitutes direct or contributory patent
+infringement, then this Artistic License to you shall terminate on the
+date that such litigation is filed.
+
+(14) Disclaimer of Warranty:
+THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
+NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
+LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Added: branches/upstream/libmoosex-followpbp-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/MANIFEST?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/MANIFEST (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/MANIFEST Wed Jul 21 15:04:48 2010
@@ -1,0 +1,19 @@
+Changes
+INSTALL
+LICENSE
+MANIFEST
+META.json
+META.yml
+Makefile.PL
+README
+SIGNATURE
+dist.ini
+lib/MooseX/FollowPBP.pm
+lib/MooseX/FollowPBP/Role/Attribute.pm
+t/basic.t
+t/release-eol.t
+t/release-kwalitee.t
+t/release-no-tabs.t
+t/release-pod-coverage.t
+t/release-pod-spell.t
+t/release-pod-syntax.t
Added: branches/upstream/libmoosex-followpbp-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/META.json?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/META.json (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/META.json Wed Jul 21 15:04:48 2010
@@ -1,0 +1,47 @@
+{
+ "abstract" : "Name your accessors get_foo() and set_foo()",
+ "author" : [
+ "Dave Rolsky <autarch at urth.org>"
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Dist::Zilla version 4.101900, CPAN::Meta::Converter version 2.101670",
+ "license" : [
+ "artistic_2"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "MooseX-FollowPBP",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "6.31"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Moose" : "0.94"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "0.88"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "mailto" : "bug-moosex-semiaffordanceaccessor at rt.cpan.org",
+ "web" : "http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-FollowPBP"
+ },
+ "repository" : {
+ "type" : "git",
+ "url" : "git://git.moose.perl.org/MooseX-FollowPBP.git",
+ "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-FollowPBP.git;a=summary"
+ }
+ },
+ "version" : "0.04"
+}
+
Added: branches/upstream/libmoosex-followpbp-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/META.yml?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/META.yml (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/META.yml Wed Jul 21 15:04:48 2010
@@ -1,0 +1,21 @@
+---
+abstract: 'Name your accessors get_foo() and set_foo()'
+author:
+ - 'Dave Rolsky <autarch at urth.org>'
+build_requires:
+ Test::More: 0.88
+configure_requires:
+ ExtUtils::MakeMaker: 6.31
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.101900, CPAN::Meta::Converter version 2.101670'
+license: artistic_2
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: MooseX-FollowPBP
+requires:
+ Moose: 0.94
+resources:
+ bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-FollowPBP
+ repository: git://git.moose.perl.org/MooseX-FollowPBP.git
+version: 0.04
Added: branches/upstream/libmoosex-followpbp-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/Makefile.PL?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/Makefile.PL (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/Makefile.PL Wed Jul 21 15:04:48 2010
@@ -1,0 +1,53 @@
+
+use strict;
+use warnings;
+
+
+
+use ExtUtils::MakeMaker 6.31;
+
+
+
+my %WriteMakefileArgs = (
+ 'ABSTRACT' => 'Name your accessors get_foo() and set_foo()',
+ 'AUTHOR' => 'Dave Rolsky <autarch at urth.org>',
+ 'BUILD_REQUIRES' => {
+ 'Test::More' => '0.88'
+ },
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'DISTNAME' => 'MooseX-FollowPBP',
+ 'EXE_FILES' => [],
+ 'LICENSE' => 'artistic_2',
+ 'NAME' => 'MooseX::FollowPBP',
+ 'PREREQ_PM' => {
+ 'Moose' => '0.94'
+ },
+ 'VERSION' => '0.04',
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ }
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
Added: branches/upstream/libmoosex-followpbp-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/README?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/README (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/README Wed Jul 21 15:04:48 2010
@@ -1,0 +1,14 @@
+
+
+This archive contains the distribution MooseX-FollowPBP,
+version 0.04:
+
+ Name your accessors get_foo() and set_foo()
+
+This software is Copyright (c) 2010 by Dave Rolsky.
+
+This is free software, licensed under:
+
+ The Artistic License 2.0
+
+
Added: branches/upstream/libmoosex-followpbp-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/SIGNATURE?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/SIGNATURE (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/SIGNATURE Wed Jul 21 15:04:48 2010
@@ -1,0 +1,41 @@
+This file contains message digests of all files listed in MANIFEST,
+signed via the Module::Signature module, version 0.61.
+
+To verify the content in this distribution, first make sure you have
+Module::Signature installed, then type:
+
+ % cpansign -v
+
+It will check each file's integrity, as well as the signature's
+validity. If "==> Signature verified OK! <==" is not displayed,
+the distribution may already have been compromised, and you should
+not run its Makefile.PL or Build.PL.
+
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+SHA1 0a07a507c78c3627d133e9682e3e87e563ea531c Changes
+SHA1 bf82cb551685805c60f322d035eaf4c716d41ecb INSTALL
+SHA1 23c628b4a8a36738405ccdacaeb912d2e727b4c0 LICENSE
+SHA1 acef0d84fb59cdd7e64b975050e1df12230abfdb MANIFEST
+SHA1 f2321163f3993e324576b7eaf32ce40f2f686684 META.json
+SHA1 41e93f3967102e9cdab5ff936503459640bf749d META.yml
+SHA1 584e32c3b7c02b4392a890ab510960353a58d3e3 Makefile.PL
+SHA1 90f469351d5944b3ff6444e0df7cf3d8311103ae README
+SHA1 de259567bf6029a6579abe6dbc5883bb897c191b dist.ini
+SHA1 cc967c63e0dc47ae2f01a2a2976270ddc269d3d1 lib/MooseX/FollowPBP.pm
+SHA1 c38de5a57db2699f407fe6aac4133cdc6397c688 lib/MooseX/FollowPBP/Role/Attribute.pm
+SHA1 33235c2593361ec8d256ff6dc65fdd7646189c40 t/basic.t
+SHA1 24b525e3c18f37f8022a01ec30de757cefb679ff t/release-eol.t
+SHA1 961a1e2c92d836c8cad2d34b784cbc75345dec63 t/release-kwalitee.t
+SHA1 455d1dd1867212a665ad5ea4126b572411de300c t/release-no-tabs.t
+SHA1 9433c240fe590bc404ab68ff63984df763e347ed t/release-pod-coverage.t
+SHA1 cb3e2ea10fc7e63d3c8c82561439919d5780bace t/release-pod-spell.t
+SHA1 9775e90d40f094f3e5a23c695d6e6e436a2232c3 t/release-pod-syntax.t
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+iEYEARECAAYFAkxGPUsACgkQIgMCsV8qvRKkqgCeMfn1oJsPvWIvnH2il/8kDQRC
+QvMAoJJETSK4udlvA6a9/dqgR695uzkX
+=tVgv
+-----END PGP SIGNATURE-----
Added: branches/upstream/libmoosex-followpbp-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/dist.ini?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/dist.ini (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/dist.ini Wed Jul 21 15:04:48 2010
@@ -1,0 +1,37 @@
+name = MooseX-FollowPBP
+author = Dave Rolsky <autarch at urth.org>
+copyright_year = 2010
+
+version = 0.04
+
+[@Basic]
+
+[InstallGuide]
+[MetaJSON]
+
+[MetaResources]
+bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-FollowPBP
+bugtracker.mailto = bug-moosex-semiaffordanceaccessor at rt.cpan.org
+repository.url = git://git.moose.perl.org/MooseX-FollowPBP.git
+repository.web = http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-FollowPBP.git;a=summary
+repository.type = git
+
+[PodWeaver]
+
+[PkgVersion]
+
+[KwaliteeTests]
+[PodTests]
+[NoTabsTests]
+[EOLTests]
+[Signature]
+
+[CheckChangeLog]
+
+[Prereqs]
+Moose = 0.94
+
+[Prereqs / TestRequires]
+Test::More = 0.88
+
+[@Git]
Added: branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP.pm?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP.pm (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP.pm Wed Jul 21 15:04:48 2010
@@ -1,0 +1,81 @@
+package MooseX::FollowPBP;
+BEGIN {
+ $MooseX::FollowPBP::VERSION = '0.04';
+}
+
+use strict;
+use warnings;
+
+use Moose 0.94 ();
+use Moose::Exporter;
+use Moose::Util::MetaRole;
+use MooseX::FollowPBP::Role::Attribute;
+
+Moose::Exporter->setup_import_methods(
+ class_metaroles => {
+ attribute => ['MooseX::FollowPBP::Role::Attribute'],
+ },
+);
+
+1;
+
+# ABSTRACT: Name your accessors get_foo() and set_foo()
+
+
+
+=pod
+
+=head1 NAME
+
+MooseX::FollowPBP - Name your accessors get_foo() and set_foo()
+
+=head1 VERSION
+
+version 0.04
+
+=head1 SYNOPSIS
+
+ use Moose;
+ use MooseX::FollowPBP;
+
+ # make some attributes
+
+=head1 DESCRIPTION
+
+This module does not provide any methods. Simply loading it changes
+the default naming policy for the loading class so that accessors are
+separated into get and set methods. The get methods are prefixed with
+"get_" as the accessor, while set methods are prefixed with
+"set_". This is the naming style recommended by Damian Conway in
+I<Perl Best Practices>.
+
+If you define an attribute with a leading underscore, then both the
+get and set method will also have an underscore prefix.
+
+If you explicitly set a "reader" or "writer" name when creating an
+attribute, then that attribute's naming scheme is left unchanged.
+
+=head1 BUGS
+
+Please report any bugs or feature requests to
+C<bug-moosex-followpbp at rt.cpan.org>, or through the web interface at
+L<http://rt.cpan.org>. I will be notified, and then you'll
+automatically be notified of progress on your bug as I make changes.
+
+=head1 AUTHOR
+
+ Dave Rolsky <autarch at urth.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is Copyright (c) 2010 by Dave Rolsky.
+
+This is free software, licensed under:
+
+ The Artistic License 2.0
+
+=cut
+
+
+__END__
+
Added: branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/Role/Attribute.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/Role/Attribute.pm?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/Role/Attribute.pm (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/lib/MooseX/FollowPBP/Role/Attribute.pm Wed Jul 21 15:04:48 2010
@@ -1,0 +1,85 @@
+package MooseX::FollowPBP::Role::Attribute;
+BEGIN {
+ $MooseX::FollowPBP::Role::Attribute::VERSION = '0.04';
+}
+
+use strict;
+use warnings;
+
+use Moose::Role;
+
+before _process_options => sub {
+ my $class = shift;
+ my $name = shift;
+ my $options = shift;
+
+ if ( exists $options->{is}
+ && !( exists $options->{reader} || exists $options->{writer} )
+ && $options->{is} ne 'bare' ) {
+ my $get;
+ my $set;
+
+ if ( $name =~ s/^_// ) {
+ $get = '_get_';
+ $set = '_set_';
+ }
+ else {
+ $get = 'get_';
+ $set = 'set_';
+ }
+
+ $options->{reader} = $get . $name;
+
+ if ( $options->{is} eq 'rw' ) {
+ $options->{writer} = $set . $name;
+ }
+
+ delete $options->{is};
+ }
+};
+
+no Moose::Role;
+
+1;
+
+
+
+__END__
+=pod
+
+=head1 NAME
+
+MooseX::FollowPBP::Role::Attribute
+
+=head1 VERSION
+
+version 0.04
+
+=head1 SYNOPSIS
+
+ Moose::Util::MetaRole::apply_metaclass_roles
+ ( for_class => $p{for_class},
+ attribute_metaclass_roles =>
+ ['MooseX::FollowPBP::Role::Attribute'],
+ );
+
+=head1 DESCRIPTION
+
+This role applies a method modifier to the C<_process_options()>
+method, and tweaks the reader and writer parameters so that they
+follow the style recommended in I<Perl Best Practices>.
+
+=head1 AUTHOR
+
+ Dave Rolsky <autarch at urth.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is Copyright (c) 2010 by Dave Rolsky.
+
+This is free software, licensed under:
+
+ The Artistic License 2.0
+
+=cut
+
Added: branches/upstream/libmoosex-followpbp-perl/current/t/basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/basic.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/basic.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/basic.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,67 @@
+use strict;
+use warnings;
+
+use Test::More;
+
+
+{
+ package Standard;
+
+ use Moose;
+
+ has 'thing' => ( is => 'rw' );
+ has '_private' => ( is => 'rw' );
+}
+
+{
+ package PBP;
+
+ use Moose;
+ use MooseX::FollowPBP;
+
+ has 'thing' => ( is => 'rw' );
+ has '_private' => ( is => 'rw' );
+}
+
+{
+ package PBP3;
+
+ use Moose;
+ use MooseX::FollowPBP;
+
+ has 'ro' => ( is => 'ro' );
+ has 'thing' => ( is => 'rw', reader => 'thing' );
+ has 'thing2' => ( is => 'rw', writer => 'set_it' );
+}
+
+{
+ package PBP4;
+
+ use Moose;
+ use MooseX::FollowPBP;
+
+ has 'bare' => ( is => 'bare' );
+}
+
+
+ok( ! Standard->can('get_thing'), 'Standard->get_thing() does not exist' );
+ok( ! Standard->can('set_thing'), 'Standard->set_thing() does not exist' );
+ok( ! Standard->can('_get_private'), 'Standard->_get_private() does not exist' );
+ok( ! Standard->can('_set_private'), 'Standard->_set_private() does not exist' );
+
+ok( PBP->can('get_thing'), 'PBP->get_thing() exists' );
+ok( PBP->can('set_thing'), 'PBP->set_thing() exists' );
+ok( PBP->can('_get_private'), 'PBP->_get_private() exists' );
+ok( PBP->can('_set_private'), 'PBP->_set_private() exists' );
+
+ok( PBP3->can('get_ro'), 'PBP3->get_ro exists' );
+ok( ! PBP3->can('set_ro'), 'PBP3->set_ro does not exist' );
+ok( ! PBP3->can('get_thing'), 'PBP3->get_thing does not exist' );
+ok( ! PBP3->can('set_thing'), 'PBP3->set_thing does not exist' );
+ok( ! PBP3->can('get_thing2'), 'PBP3->get_thing2 does not exist' );
+ok( ! PBP3->can('set_thing2'), 'PBP3->set_thing2 does not exist' );
+
+ok( !PBP4->can('get_bare'), 'is => bare attribute is respected' );
+ok( !PBP4->can('set_bare'), 'is => bare attribute is respected' );
+
+done_testing();
Added: branches/upstream/libmoosex-followpbp-perl/current/t/release-eol.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/release-eol.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/release-eol.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/release-eol.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,16 @@
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::EOL';
+plan skip_all => 'Test::EOL required' if $@;
+
+all_perl_files_ok();
Added: branches/upstream/libmoosex-followpbp-perl/current/t/release-kwalitee.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/release-kwalitee.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/release-kwalitee.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/release-kwalitee.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+
+use Test::More;
+
+eval "use Test::Kwalitee";
+plan skip_all => "Test::Kwalitee required for testing kwalitee"
+ if $@;
Added: branches/upstream/libmoosex-followpbp-perl/current/t/release-no-tabs.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/release-no-tabs.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/release-no-tabs.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/release-no-tabs.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,16 @@
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::NoTabs';
+plan skip_all => 'Test::NoTabs required' if $@;
+
+all_perl_files_ok();
Added: branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-coverage.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-coverage.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-coverage.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,21 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.08";
+plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
+ if $@;
+
+eval "use Pod::Coverage::TrustPod";
+plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
+ if $@;
+
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
Added: branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-spell.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-spell.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-spell.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-spell.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,37 @@
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+use strict;
+use warnings;
+
+use Test::More;
+
+eval "use Test::Spelling";
+plan skip_all => "Test::Spelling required for testing POD coverage"
+ if $@;
+
+my @stopwords;
+for (<DATA>) {
+ chomp;
+ push @stopwords, $_
+ unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace
+}
+
+add_stopwords(@stopwords);
+set_spell_cmd('aspell list -l en');
+
+# This prevents a weird segfault from the aspell command - see
+# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
+local $ENV{LC_ALL} = 'C';
+all_pod_files_spelling_ok();
+
+__DATA__
+PayPal
+affordance
+attribute's
+init
Added: branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-syntax.t?rev=60454&op=file
==============================================================================
--- branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-syntax.t (added)
+++ branches/upstream/libmoosex-followpbp-perl/current/t/release-pod-syntax.t Wed Jul 21 15:04:48 2010
@@ -1,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list