diff options
Diffstat (limited to 'dev-perl/Mail-DKIM/Mail-DKIM-0.440.0.ebuild')
-rw-r--r-- | dev-perl/Mail-DKIM/Mail-DKIM-0.440.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-perl/Mail-DKIM/Mail-DKIM-0.440.0.ebuild b/dev-perl/Mail-DKIM/Mail-DKIM-0.440.0.ebuild new file mode 100644 index 000000000000..dc8d71e5af77 --- /dev/null +++ b/dev-perl/Mail-DKIM/Mail-DKIM-0.440.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=MBRADSHAW +DIST_VERSION=0.44 +DIST_EXAMPLES=("examples/*" "scripts/*") +inherit perl-module + +DESCRIPTION="Signs/verifies Internet mail using DKIM message signatures" + +SLOT="0" +KEYWORDS="~amd64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="test" + +RDEPEND=">=dev-perl/Crypt-OpenSSL-RSA-0.24 + virtual/perl-Digest-SHA + virtual/perl-MIME-Base64 + dev-perl/Net-DNS + dev-perl/MailTools +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + dev-perl/Net-DNS-Resolver-Mock + virtual/perl-Test-Simple + dev-perl/YAML-LibYAML + ) +" +mydoc=("doc/*.txt" "HACKING.DKIM") + +src_test(){ + # disable online tests + if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + einfo "Removing network tests w/o DIST_TEST_OVERRIDE=~network" + perl_rm_files t/{policy,public_key,verifier,dev-manifest}.t + fi + perl-module_src_test +} |