diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-11-22 21:47:29 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-11-22 21:47:29 +1300 |
commit | 98e8f7b04edc1e8e8c9215f0e428c95bbb3962f8 (patch) | |
tree | 2f4fd9528118a9a701605edcb520f8bf342aa09c /dev-perl/Modem-Vgetty | |
parent | dev-perl/Math-NumberCruncher: EAPI6, tests (diff) | |
download | gentoo-98e8f7b04edc1e8e8c9215f0e428c95bbb3962f8.tar.gz gentoo-98e8f7b04edc1e8e8c9215f0e428c95bbb3962f8.tar.bz2 gentoo-98e8f7b04edc1e8e8c9215f0e428c95bbb3962f8.zip |
dev-perl/Modem-Vgetty: EAPI6, add tests
- EAPI6ify
- Add basic compile time testing
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'dev-perl/Modem-Vgetty')
-rw-r--r-- | dev-perl/Modem-Vgetty/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Modem-Vgetty/Modem-Vgetty-0.30.0-r2.ebuild | 36 |
2 files changed, 37 insertions, 1 deletions
diff --git a/dev-perl/Modem-Vgetty/Manifest b/dev-perl/Modem-Vgetty/Manifest index 3988e296fad5..47ba7b670748 100644 --- a/dev-perl/Modem-Vgetty/Manifest +++ b/dev-perl/Modem-Vgetty/Manifest @@ -1 +1 @@ -DIST Modem-Vgetty-0.03.tar.gz 11763 SHA256 0e3f01693c16c3063ecf474fcccbf3a1d0bbaa32c6b01f735b222c29d4f50a4d SHA512 19a50ebcd3c85205c3d89f9b995810aed3945fd19810ee68f540dd2a3a80d2ff840a7899828ae9261b28d47b9abc22a806b51ddcc6c6ef2553ef2d0bac8d0707 WHIRLPOOL 4c3df6dcb3f1b170ca6d462144e97c2909ffa479ca009e1ee01a5059b275aa177a3909a71852cfcef9702216d207741020ff042f7bd5e2053ca467598377e013 +DIST Modem-Vgetty-0.03.tar.gz 11763 BLAKE2B d70cb4c4023ec726c3b3774e15ad231f559c6e19a1950816d6371b727d496b79131bd5526263a176b37b52c8530927e3a737efac04710f6eb4ed059557284c72 SHA512 19a50ebcd3c85205c3d89f9b995810aed3945fd19810ee68f540dd2a3a80d2ff840a7899828ae9261b28d47b9abc22a806b51ddcc6c6ef2553ef2d0bac8d0707 diff --git a/dev-perl/Modem-Vgetty/Modem-Vgetty-0.30.0-r2.ebuild b/dev-perl/Modem-Vgetty/Modem-Vgetty-0.30.0-r2.ebuild new file mode 100644 index 000000000000..6d7b1e170500 --- /dev/null +++ b/dev-perl/Modem-Vgetty/Modem-Vgetty-0.30.0-r2.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=YENYA +DIST_VERSION=0.03 +DIST_EXAMPLES=( "examples/*" ) +inherit perl-module + +DESCRIPTION="Interface to voice modems using vgetty" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_test() { + local MODULES=( + "Modem::Vgetty ${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 + perl-module_src_test +} |