X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=ci%2Fdeps.perl;h=a797911a7a57d0c7df5ba4d6d8a289dea652d648;hb=47ad2954fa34cdc75fa5c56f38f352d77afba553;hp=330ba2f32fa43140bcde89733093afbb8bc1acfb;hpb=56643bfddba2f7bca60955e5c48435fe58cc8e1c;p=public-inbox.git
diff --git a/ci/deps.perl b/ci/deps.perl
index 330ba2f3..a797911a 100755
--- a/ci/deps.perl
+++ b/ci/deps.perl
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# Copyright (C) 2019 all contributors
+# Copyright (C) 2019-2021 all contributors
# License: AGPL-3.0+
# Helper script for installing/uninstalling packages for CI use
# Intended for use on non-production chroots or VMs since it
@@ -9,26 +9,20 @@ 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
essential => [ qw(
git
perl
Devel::Peek
Digest::SHA
- Email::Simple
- Email::MIME
- Email::MIME::ContentType
Encode
ExtUtils::MakeMaker
- Filesys::Notify::Simple
- Plack
- URI::Escape
+ IO::Compress::Gzip
+ URI
), @test_essential ],
# everything optional for normal use
@@ -37,10 +31,10 @@ my $profiles = {
BSD::Resource
DBD::SQLite
DBI
- IO::Compress::Gzip
Inline::C
Net::Server
- Plack::Middleware::Deflater
+ Plack
+ Plack::Test
Plack::Middleware::ReverseProxy
Search::Xapian
Socket6
@@ -50,9 +44,10 @@ my $profiles = {
# optional developer stuff
devtest => [ qw(
- XML::Feed
+ XML::TreePP
curl
w3m
+ Plack::Test::ExternalServer
) ],
};
@@ -113,7 +108,7 @@ my $non_auto = {
pkg => 'p5-Plack',
rpm => 'perl-Plack-Test',
},
- 'URI::Escape' => {
+ 'URI' => {
deb => 'liburi-perl',
pkg => 'p5-URI',
rpm => 'perl-URI',