]> Sergey Matveev's repositories - public-inbox.git/blobdiff - ci/deps.perl
remove most internal Email::MIME usage
[public-inbox.git] / ci / deps.perl
index ae6083b99cd27a2b3bc6b2b5f78d9962082e4703..48aaa9e46d49f4d1d3f0c760f101bef7ad805a0c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 # Helper script for installing/uninstalling packages for CI use
 # Intended for use on non-production chroots or VMs since it
@@ -9,37 +9,34 @@ my $usage = "$0 PKG_FMT PROFILE [PROFILE_MOD]";
 my $pkg_fmt = shift;
 @ARGV or die $usage, "\n";
 
-my @test_essential = qw(Test::Simple Plack::Test);
+my @test_essential = qw(Test::Simple); # we actually use Test::More
 
 # package profiles
 my $profiles = {
        # the smallest possible profile for testing
-       # TODO: trim this, Plack pulls in Filesys::Notify::Simple,
-       # and we don't need that for mda-only installs
+       # TODO: trim URI::Escape from this, maybe
        essential => [ qw(
                git
                perl
-               Date::Parse
                Devel::Peek
                Digest::SHA
-               Email::Simple
-               Email::MIME
-               Email::MIME::ContentType
                Encode
                ExtUtils::MakeMaker
-               Filesys::Notify::Simple
-               Plack
+               IO::Compress::Gzip
                URI::Escape
                ), @test_essential ],
 
        # everything optional for normal use
        optional => [ qw(
+               Date::Parse
                BSD::Resource
                DBD::SQLite
                DBI
-               IO::Compress::Gzip
+               Filesys::Notify::Simple
                Inline::C
                Net::Server
+               Plack
+               Plack::Test
                Plack::Middleware::Deflater
                Plack::Middleware::ReverseProxy
                Search::Xapian
@@ -50,7 +47,7 @@ my $profiles = {
 
        # optional developer stuff
        devtest => [ qw(
-               XML::Feed
+               XML::TreePP
                curl
                w3m
                ) ],