app-portage/eclass-manpages: Add a snapshot of today's manpages, #612424
authorMichał Górny <mgorny@gentoo.org>
Tue, 14 Mar 2017 16:02:55 +0000 (17:02 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 21 Mar 2017 18:22:44 +0000 (19:22 +0100)
Add a snapshot ebuild that fetches an archive of today's eclasses. This
has stable contents and as such can be keyworded properly. Furthermore,
any future snapshots added will ensure a clear upgrade path for users.

app-portage/eclass-manpages/Manifest [new file with mode: 0644]
app-portage/eclass-manpages/eclass-manpages-20170321.ebuild [new file with mode: 0644]

diff --git a/app-portage/eclass-manpages/Manifest b/app-portage/eclass-manpages/Manifest
new file mode 100644 (file)
index 0000000..f6fa513
--- /dev/null
@@ -0,0 +1 @@
+DIST eclass-manpages-20170321.tar.xz 459596 SHA256 47aaef9603822bf0a5e7f738b4f354c83bdcbb61b1639f66de02db24de2b4bc6 SHA512 7ff2a48659382ae84944e4f4cf4bb8a73d51355d8bcd63f16fa155e3da3010430babe6f7d977327e5c7f14f0b5e6a23ee5659665e35b020bcd7772008ce3b3b0 WHIRLPOOL 656cb2a0867b6f10a2bba59dd26ffc19c75d8e753d150d4fec90ffe7d586192e98fd44af5aafeb2fee1e0209a10c916ad0dc677a71a14ba4796dd1795d6acb17
diff --git a/app-portage/eclass-manpages/eclass-manpages-20170321.ebuild b/app-portage/eclass-manpages/eclass-manpages-20170321.ebuild
new file mode 100644 (file)
index 0000000..d9ecedd
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DESCRIPTION="collection of Gentoo eclass manpages"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+
+src_compile() {
+       env ECLASSDIR="${S}" bash "${FILESDIR}"/eclass-to-manpage.sh || die
+}
+
+src_install() {
+       doman *.5
+}