dev-perl/Sys-Hostname-Long: EAPI6 + Test
authorKent Fredric <kentnl@gentoo.org>
Wed, 10 Jan 2018 20:42:52 +0000 (09:42 +1300)
committerKent Fredric <kentnl@gentoo.org>
Wed, 10 Jan 2018 20:46:26 +0000 (09:46 +1300)
- EAPI6ify
- Enable tests

Package-Manager: Portage-2.3.18, Repoman-2.3.6

dev-perl/Sys-Hostname-Long/Sys-Hostname-Long-1.500.0-r1.ebuild [new file with mode: 0644]

diff --git a/dev-perl/Sys-Hostname-Long/Sys-Hostname-Long-1.500.0-r1.ebuild b/dev-perl/Sys-Hostname-Long/Sys-Hostname-Long-1.500.0-r1.ebuild
new file mode 100644 (file)
index 0000000..7b7aae9
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=SCOTT
+DIST_VERSION=1.5
+inherit perl-module
+
+DESCRIPTION="Try every conceivable way to get full hostname"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+src_install() {
+       perl-module_src_install
+       rm "${ED}${VENDOR_LIB}"/Sys/Hostname/testall.pl || die
+       dodoc testall.pl
+       docompress -x /usr/share/doc/${PF}/testall.pl
+}