This repository was archived by the owner on Jul 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcpanfile
124 lines (114 loc) · 4.43 KB
/
cpanfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# vim: set ft=perl sts=2 sw=2 et :
print "Installing dependencies for conch, using $^X at version $]\n";
print "PERL5LIB=$ENV{PERL5LIB}\n\n";
requires 'perl', '5.026';
die "Your perl is too old! Requires 5.026, but this is $]" if "$]" < '5.026';
# basics
requires 'Carton';
requires 'Cpanel::JSON::XS', '4.10';
requires 'List::MoreUtils::XS'; # make List::MoreUtils faster
requires 'Data::UUID';
requires 'List::Compare';
requires 'Try::Tiny';
requires 'Time::HiRes';
requires 'Time::Moment', '>= 0.43'; # for PR#28, fixes use of stdbool.h (thanks Dale)
requires 'Time::Local', '1.27'; # https://pandorafms.com/blog/2020-perl/
requires 'HTTP::Tiny';
requires 'Safe::Isa';
requires 'Encode', '2.98';
requires 'IPC::System::Simple';
requires 'Dir::Self';
requires 'Carp';
requires 'Module::Runtime';
requires 'Email::Valid';
requires 'Email::Simple';
requires 'Email::Sender::Simple';
requires 'Email::Sender::Transport::SMTP';
requires 'Net::DNS'; # not used directly, but Email::Valid sometimes demands it
requires 'experimental', '0.020';
requires 'JSON::Schema::Draft201909', '0.025';
requires 'Email::Address::XS', '1.01';
requires 'YAML::PP';
requires 'next::XS';
# mojolicious and networking
requires 'Mojolicious', '9.00';
requires 'Mojo::Pg';
requires 'Mojo::JWT';
requires 'Mojolicious::Plugin::Util::RandomString', '0.07'; # memory leak: https://rt.cpan.org/Ticket/Display.html?id=125981
requires 'Mozilla::CA'; # not used directly, but IO::Socket::SSL sometimes demands it
requires 'IO::Socket::SSL';
requires 'Mojolicious::Plugin::AccessLog';
requires 'Path::Tiny';
requires 'Moo';
requires 'MooX::HandlesVia';
requires 'Class::XSAccessor'; # faster Moo
requires 'strictures', '2';
requires 'namespace::clean';
requires 'Types::Standard';
requires 'Type::Tiny::XS'; # faster Type::Tiny and Types::Standard
requires 'MooX::TypeTiny'; # faster Moo + Type::Tiny
requires 'Role::Tiny';
requires 'Getopt::Long::Descriptive';
requires 'Session::Token';
requires 'Sys::Hostname';
requires 'Sub::Install';
requires 'WebService::Rollbar::Notifier';
requires 'Digest::SHA';
requires 'Digest::MD5';
requires 'Unicode::UTF8'; # used internally by some things to speed up utf8 operations, when available
requires 'PerlIO::utf8_strict'; # ""
requires 'List::Util', '1.55';
# debugging aids
requires 'Data::Printer', '1.000000';
requires 'Devel::Confess';
# misc scripts
requires 'Pod::Usage';
requires 'Pod::Markdown::Github';
requires 'Pod::Markdown', '3.200';
requires 'Getopt::Long';
requires 'JSON::MaybeXS';
# database and rendering
requires 'DBD::Pg';
requires 'DBIx::Class', '== 0.082841'; # not safe to upgrade: https://rt.cpan.org/Ticket/Display.html?id=133179
requires 'DBIx::Class::Schema::Loader';
requires 'DBIx::Class::Helpers', '2.035000'; # https://github.com/frioux/DBIx-Class-Helpers/pull/100
requires 'DateTime::Format::Pg'; # used by DBIx::Class::Storage::DBI::Pg
requires 'DBIx::Class::InflateColumn::TimeMoment';
requires 'Lingua::EN::Inflexion';
requires 'Text::CSV_XS';
requires 'DBIx::Class::PassphraseColumn';
requires 'Authen::Passphrase::BlowfishCrypt';
requires 'Data::Page';
on 'test' => sub {
requires 'Test::More';
requires 'Test::PostgreSQL', '1.27';
requires 'Test::Pod::Coverage';
requires 'YAML::XS', '0.81'; # http://blogs.perl.org/users/tinita/2020/01/making-yamlpm-yamlsyck-and-yamlxs-safer-by-default.html
requires 'Test::Pod', '1.41';
requires 'Test::Warnings';
requires 'Test::Fatal';
requires 'Test::Deep';
requires 'Test::Deep::JSON';
requires 'Test::Memory::Cycle';
requires 'Module::CPANfile';
requires 'DBIx::Class::EasyFixture', '0.13'; # Moo not Moose
requires 'Moo';
requires 'MooX::HandlesVia';
requires 'Storable';
requires 'Test::Deep::NumberTolerant';
requires 'Test::Spelling';
};
# note: DBD::Pg will fail to install on macos 10.13.x because Apple is
# shipping a bad berkeley-db. To fix (do this in a subshell you will close
# afterward, so as to not pollute your environment):
# sudo port install db48 # you may have this already
# eval $(perl -Mlocal::lib='local/lib/perl5')
# cpanm --look DB_File
# (you're now in another subshell)
# edit config.in to add these two lines, replacing the existing INCLUDE and LIB lines:
# INCLUDE = /opt/local/include/db48
# LIB = /opt/local/lib/db48
# perl Makefile.PL; make install
# <close subshell>
# see also: https://rt.cpan.org/Public/Bug/Display.html?id=125238
# and https://rt.perl.org/Ticket/Display.html?id=133280