Skip Menu |

This queue is for tickets about the Barcode-DataMatrix-PNG CPAN distribution.

Report information
The Basics
Id: 96974
Status: open
Priority: 0/
Queue: Barcode-DataMatrix-PNG

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Use of deprecated Any::Moose
As documented, this is now deprecated in favour of Moo - see http://shadow.cat/blog/matt-s-trout/moo-versus-any-moose/ for an explanation of why Any::Moose is broken by design. https://metacpan.org/pod/Any::Moose#DEPRECATION
The attach patches makes the unimporting code and the metadata consistent with the fact this module `use Moose`, rather than Any::Moose.
Subject: Drop-useless-dependency-on-Any-Moose.patch
From: intrigeri <intrigeri@debian.org> Date: Sun, 17 May 2020 14:39:36 +0000 Subject: Drop useless dependency on Any::Moose --- META.yml | 1 - Makefile.PL | 1 - 2 files changed, 2 deletions(-) diff --git a/META.yml b/META.yml index cb9963e..d9211ec 100644 --- a/META.yml +++ b/META.yml @@ -13,7 +13,6 @@ meta-spec: version: 1.4 name: Barcode-DataMatrix-PNG requires: - Any::Moose: 0 Barcode::DataMatrix: 0 Carp: 0 GD: 0 diff --git a/Makefile.PL b/Makefile.PL index db58e9a..9d810a8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -20,7 +20,6 @@ my %WriteMakefileArgs = ( "LICENSE" => "perl", "NAME" => "Barcode::DataMatrix::PNG", "PREREQ_PM" => { - "Any::Moose" => 0, "Barcode::DataMatrix" => 0, "Carp" => 0, "GD" => 0,
Subject: Fix-unimporting-Moose.patch
From: intrigeri <intrigeri@debian.org> Date: Sun, 17 May 2020 14:37:55 +0000 Subject: Fix unimporting Moose This module has "use Moose" so it does not make sense to unimport Any::Moose --- lib/Barcode/DataMatrix/PNG.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 lib/Barcode/DataMatrix/PNG.pm diff --git a/lib/Barcode/DataMatrix/PNG.pm b/lib/Barcode/DataMatrix/PNG.pm old mode 100644 new mode 100755 index b23018a..41dc54a --- a/lib/Barcode/DataMatrix/PNG.pm +++ b/lib/Barcode/DataMatrix/PNG.pm @@ -182,5 +182,5 @@ See http://dev.perl.org/licenses/ for more information. =cut -no Any::Moose; +no Moose; 1;