commit: 48dcf0b8310d2e7ed8579d1b8d8857e9e881d8c6 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Thu Oct 26 00:42:05 2017 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Thu Oct 26 00:42:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dcf0b8
dev-perl/IMAP-Admin: Bump to version 1.6.8 - EAPI6 - Add basic compile tests - Fence/document manual tests Upstream: - Remove use of legacy defined(@array) syntax Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-perl/IMAP-Admin/IMAP-Admin-1.6.8.ebuild | 36 +++++++++++++++++++++++++++++ dev-perl/IMAP-Admin/Manifest | 1 + 2 files changed, 37 insertions(+) diff --git a/dev-perl/IMAP-Admin/IMAP-Admin-1.6.8.ebuild b/dev-perl/IMAP-Admin/IMAP-Admin-1.6.8.ebuild new file mode 100644 index 00000000000..0aa8613b1af --- /dev/null +++ b/dev-perl/IMAP-Admin/IMAP-Admin-1.6.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=EESTABROO +DIST_EXAMPLES=("examples/*" "test.pl") +inherit perl-module + +DESCRIPTION="Perl module for basic IMAP server administration" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_test() { + local MODULES=( + "IMAP::Admin ${DIST_VERSION}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + ewarn "Comprehensive testing requires manual steps. For details, see:" + ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}" +} diff --git a/dev-perl/IMAP-Admin/Manifest b/dev-perl/IMAP-Admin/Manifest index 1eac3cc7807..1ca103ece67 100644 --- a/dev-perl/IMAP-Admin/Manifest +++ b/dev-perl/IMAP-Admin/Manifest @@ -1 +1,2 @@ DIST IMAP-Admin-1.6.7.tar.gz 14990 SHA256 382f44a8ab92ae9332ce35327c97e49253768719988a569e2fbb18b41acaf58a SHA512 cd4c735b3152e9f9db5198274b6c1dd39a8cf0f127b55e671880e6a6fb2278673e5443df46e9e01741cca1f1013f885781bee6b9c45214919510762475e72a75 WHIRLPOOL 2f0ffa26dd7ac2e825134730b229802e673f8fe5d85b61c77464dec862298bc09965f6dc1e41dbe2c632bc422be1f5462492db2077fbb460b94960284fa77eb7 +DIST IMAP-Admin-1.6.8.tar.gz 15332 SHA256 86bd699bda6774b6281e2abb629deeeb30edb58b7a179679aba90243ef1a7456 SHA512 b9a600b66b539a9d7e5fa3c635f37302bbef87f5403c432f880edd724ab0576b1365303a309582d5dfd455093e8a67ad9716154d55ca9e938dd8175acb7fa0b1 WHIRLPOOL dd3b82a5cba1859affcc498ac63eed26e8685a0bce20ac90bfa363d8fa4bd0b6ebccbf44a44408ddd03917423493bc20d89786de09b7fe822e9af703774a9978