The attach patches makes the unimporting code and the metadata consistent with the fact this module `use Moose`, rather than Any::Moose.
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,
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;