Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/java-sdk-docs/
Date: Sun, 10 Dec 2017 21:46:28
Message-Id: 1512942371.678ff3c01e80fe437b1bf669aa8811b3bcbfef62.chewi@gentoo
1 commit: 678ff3c01e80fe437b1bf669aa8811b3bcbfef62
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 10 21:42:32 2017 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 10 21:46:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678ff3c0
7
8 dev-java/java-sdk-docs: Version bump to 9.0.1 (Java 9)
9
10 I have decided to install to /usr/share/doc/${PN}-${SLOT} because the
11 sheer size of this means you briefly have an extra 400MB taken up
12 before the old version is removed. A more static location can be
13 useful anyhow.
14
15 Package-Manager: Portage-2.3.17, Repoman-2.3.6
16
17 dev-java/java-sdk-docs/Manifest | 3 +-
18 dev-java/java-sdk-docs/java-sdk-docs-9.0.1.ebuild | 37 +++++++++++++++++++++++
19 2 files changed, 39 insertions(+), 1 deletion(-)
20
21 diff --git a/dev-java/java-sdk-docs/Manifest b/dev-java/java-sdk-docs/Manifest
22 index ac2f8ca4de6..88683fb45ac 100644
23 --- a/dev-java/java-sdk-docs/Manifest
24 +++ b/dev-java/java-sdk-docs/Manifest
25 @@ -1,2 +1,3 @@
26 DIST jdk-7u80-docs-all.zip 61168809 SHA256 0494bd49bc9cb3cbe3203120ae8b2c8e0aeb1579cb15c0fbd3cd780d19aa200a SHA512 c673c00e55c9a19938c42512cb9c6ae65de9803a1307d11a2043903d87cc36d9ed1f5a1e287040d8570e430cfe55f496354c1242fe6e242f1245f8271394ea1a WHIRLPOOL ad18886c401ec42735665081a0dd5ba3dc7678de0171f3aa8151c2e4ce3392e467be65c602f393da38373e589fa9800ed1afd3601d2cef4e48b06e57f491698e
27 -DIST jdk-8u152-docs-all.zip 93495668 SHA256 68d1f0f7827d86c6309b04c0f089c219f203158e993a88b47a6acaa0e4b40823 SHA512 5aa49103685fc466bf2c5ff32aeee9ccf5b51359bb8e558bc8f23dc399fb108cba7fd282b669ce3b8062865fc4507afc809f8fb0ca844587eb168ad44c69ad77 WHIRLPOOL a0eff7c33c37c286a69e03340e1ccf5f4c59be40f0a03ff9c800960c2a26971cee22b94829bd1b064b77332b17590969cbcc31f291b7f8da0eebd63e5009aeeb
28 +DIST jdk-8u152-docs-all.zip 93495668 BLAKE2B 9bb791ef4ace0fd180953e12501900a21583cf9cd8c256246c0d8b1fe139aa7c21fffd073cf6cfc27c206f00eb9d77fd510f8ced752f7c690a4762a9f52f3e8d SHA512 5aa49103685fc466bf2c5ff32aeee9ccf5b51359bb8e558bc8f23dc399fb108cba7fd282b669ce3b8062865fc4507afc809f8fb0ca844587eb168ad44c69ad77
29 +DIST jdk-9.0.1_doc-all.zip 70497837 BLAKE2B 437aeae172d5a2133eb34f305925898aa80b52f15ae9860d148e3eda7de34b635c4defa0683009c4232658414c81d1f01fbea4201ea179347508caf63d13cd82 SHA512 c031497e5644abe9e9d72f9b2af6c11cf9842ee2f1001184704d994ec62b46a3620930e63944253c777d8ec9248418369579e439cf5c13c66805364669e54063
30
31 diff --git a/dev-java/java-sdk-docs/java-sdk-docs-9.0.1.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-9.0.1.ebuild
32 new file mode 100644
33 index 00000000000..865ee06d166
34 --- /dev/null
35 +++ b/dev-java/java-sdk-docs/java-sdk-docs-9.0.1.ebuild
36 @@ -0,0 +1,37 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk9-doc-downloads-3850606.html"
43 +
44 +SLOT="${PV%%.*}"
45 +DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
46 +HOMEPAGE="https://docs.oracle.com/javase/${SLOT}"
47 +SRC_URI="jdk-${PV}_doc-all.zip"
48 +LICENSE="oracle-java-documentation-${SLOT}"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
50 +RESTRICT="fetch"
51 +
52 +DEPEND="app-arch/unzip"
53 +
54 +S="${WORKDIR}/docs"
55 +
56 +pkg_nofetch() {
57 + einfo "Please download ${SRC_URI} from"
58 + einfo "${DOWNLOAD_URL}"
59 + einfo "by agreeing to the license and place it in ${DISTDIR}"
60 + einfo ""
61 + einfo "If you find the file on the download page replaced with a higher"
62 + einfo "version, please report it in bug #67266 (link below)."
63 + einfo ""
64 + einfo "If emerge fails because of a checksum error, it is possible that"
65 + einfo "the upstream release changed without renaming. Try downloading the file"
66 + einfo "again (or a newer revision if available). Otherwise report this to"
67 + einfo "https://bugs.gentoo.org/67266 and we will make a new revision."
68 +}
69 +
70 +src_install() {
71 + insinto /usr/share/doc/${PN}-${SLOT}/html
72 + doins -r index.html */
73 +}