diff options
Diffstat (limited to 'dev-perl/Mail-DMARC/Mail-DMARC-1.201.709.110.ebuild')
-rw-r--r-- | dev-perl/Mail-DMARC/Mail-DMARC-1.201.709.110.ebuild | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/dev-perl/Mail-DMARC/Mail-DMARC-1.201.709.110.ebuild b/dev-perl/Mail-DMARC/Mail-DMARC-1.201.709.110.ebuild new file mode 100644 index 000000000000..e837b5c89c44 --- /dev/null +++ b/dev-perl/Mail-DMARC/Mail-DMARC-1.201.709.110.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=MBRADSHAW +DIST_VERSION=1.20170911 +inherit perl-module + +DESCRIPTION="Perl implementation of DMARC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test minimal" + +PERL_RM_FILES=( + 'bin/install_deps.pl' +) +PATCHES=( + "${FILESDIR}/no-installdeps-script.patch" +) +RDEPEND=" + !minimal? ( + dev-perl/Net-IMAP-Simple + + ) + dev-perl/CGI + virtual/perl-CPAN + virtual/perl-Carp + dev-perl/Config-Tiny + >=dev-perl/DBD-SQLite-1.310.0 + >=dev-perl/DBIx-Simple-1.350.0 + virtual/perl-Data-Dumper + dev-perl/Email-MIME + dev-perl/Email-Simple + virtual/perl-Encode + dev-perl/File-ShareDir + virtual/perl-Getopt-Long + dev-perl/HTTP-Message + virtual/perl-HTTP-Tiny + virtual/perl-IO + virtual/perl-IO-Compress + dev-perl/IO-Socket-SSL + dev-perl/JSON + dev-perl/libwww-perl + dev-perl/Mail-DKIM + dev-perl/Net-DNS + dev-perl/Net-HTTP + dev-perl/Net-IDN-Encode + dev-perl/Net-IP + dev-perl/Net-SMTPS + dev-perl/Net-SSLeay + >=dev-perl/Net-Server-2 + virtual/perl-Socket + >=dev-perl/Socket6-0.230.0 + virtual/perl-Sys-Syslog + dev-perl/Test-File-ShareDir + dev-perl/URI + dev-perl/XML-LibXML + virtual/perl-parent + >=dev-perl/Regexp-Common-2013031301 +" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.360.100 + virtual/perl-ExtUtils-MakeMaker + >=dev-perl/File-ShareDir-Install-0.60.0 + test? ( + dev-perl/Test-Exception + dev-perl/Test-Output + virtual/perl-Test-Simple + ) +" +src_test() { + local my_test_control + local badfiles=( t/author-*.t ) + my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} + if ! has network ${my_test_control} ; then + einfo "Removing network tests w/o DIST_TEST_OVERRIDE~=network"; + badfiles+=( \ + "t/04.PurePerl.t" \ + "t/06.Result.t" \ + "t/09.HTTP.t" \ + "t/11.Report.Store.t" \ + "t/17.Report.Aggregate.Schema.t" \ + "t/22.Report.Send.SMTP.t" \ + ) + fi + perl_rm_files "${badfiles[@]}" + perl-module_src_test +} |