From 8c1fae9549b5eec9ed780fc979dae2cbe8f1c3fa Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Sun, 3 Aug 2025 13:42:01 +0200 Subject: [PATCH] Tighten up dependencies - Make sure we get the latest Slang::Tuxic / File::Temp - Remove test dependency on Test::Meta: if the meta is wrong, you will know, no reason to go to lengths at checking that after all the other tests - made $VERSION a constant, because it is --- META6.json | 18 +++++++++++++----- lib/Text/CSV.rakumod | 8 +++----- t/99_meta.t | 15 --------------- 3 files changed, 16 insertions(+), 25 deletions(-) delete mode 100644 t/99_meta.t diff --git a/META6.json b/META6.json index 6f61086..61f1973 100644 --- a/META6.json +++ b/META6.json @@ -5,17 +5,25 @@ "auth" : "zef:Tux", "authors" : [ "H.Merijn Brand (Tux)" ], "tags" : [ "CSV","CPAN5" ], - "depends" : [ "Slang::Tuxic", "File::Temp" ], - "test-depends" : [ "Test", "Test::META" ], + "depends": { + "runtime": { + "requires": [ + "Slang::Tuxic:ver<0.0.5+>:auth", + "File::Temp:ver<0.0.12+>:auth" + ] + } + }, + "test-depends" : [ ], "provides" : { "Text::CSV" : "lib/Text/CSV.rakumod", "Text::IO::String" : "lib/Text/IO/String.rakumod" }, "repo-type" : "git", - "source-url" : "git://github.com/Tux/CSV.git", "license" : "Artistic-2.0", - "support" : { - "irc" : "irc://irc.perl.org/#csv" + "support": { + "bugtracker": "https://github.com/lizmat/SBOM-Raku/issues", + "irc" : "irc://irc.perl.org/#csv", + "source" : "https://github.com/Tux/CSV.git" }, "build-depends" : [ ], "resources" : [ ] diff --git a/lib/Text/CSV.rakumod b/lib/Text/CSV.rakumod index 3221369..28a7886 100644 --- a/lib/Text/CSV.rakumod +++ b/lib/Text/CSV.rakumod @@ -1,10 +1,8 @@ -#!raku - -use Slang::Tuxic; -use File::Temp; +use Slang::Tuxic:ver<0.0.5+>:auth; +use File::Temp:ver<0.0.12+>:auth; use Text::IO::String; -my $VERSION = "0.022"; +my constant $VERSION = "0.022"; my constant $opt_v = %*ENV // 1; diff --git a/t/99_meta.t b/t/99_meta.t deleted file mode 100644 index 4513f65..0000000 --- a/t/99_meta.t +++ /dev/null @@ -1,15 +0,0 @@ -#!raku - -use v6; -use Slang::Tuxic; -use lib "lib"; - -use Test; -use Test::META; - -plan 1; - -# That's it -meta-ok (); - -done-testing;