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: 1512942372.27520b903e5428a8b2000e9a41858f6686c1dd32.chewi@gentoo
1 commit: 27520b903e5428a8b2000e9a41858f6686c1dd32
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 10 21:43:16 2017 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 10 21:46:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27520b90
7
8 dev-java/java-sdk-docs: Goodbye Java 7!
9
10 Package-Manager: Portage-2.3.17, Repoman-2.3.6
11
12 dev-java/java-sdk-docs/Manifest | 1 -
13 .../java-sdk-docs/java-sdk-docs-1.7.0.80.ebuild | 48 ----------------------
14 2 files changed, 49 deletions(-)
15
16 diff --git a/dev-java/java-sdk-docs/Manifest b/dev-java/java-sdk-docs/Manifest
17 index 88683fb45ac..f53ec1e5a61 100644
18 --- a/dev-java/java-sdk-docs/Manifest
19 +++ b/dev-java/java-sdk-docs/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST jdk-7u80-docs-all.zip 61168809 SHA256 0494bd49bc9cb3cbe3203120ae8b2c8e0aeb1579cb15c0fbd3cd780d19aa200a SHA512 c673c00e55c9a19938c42512cb9c6ae65de9803a1307d11a2043903d87cc36d9ed1f5a1e287040d8570e430cfe55f496354c1242fe6e242f1245f8271394ea1a WHIRLPOOL ad18886c401ec42735665081a0dd5ba3dc7678de0171f3aa8151c2e4ce3392e467be65c602f393da38373e589fa9800ed1afd3601d2cef4e48b06e57f491698e
22 DIST jdk-8u152-docs-all.zip 93495668 BLAKE2B 9bb791ef4ace0fd180953e12501900a21583cf9cd8c256246c0d8b1fe139aa7c21fffd073cf6cfc27c206f00eb9d77fd510f8ced752f7c690a4762a9f52f3e8d SHA512 5aa49103685fc466bf2c5ff32aeee9ccf5b51359bb8e558bc8f23dc399fb108cba7fd282b669ce3b8062865fc4507afc809f8fb0ca844587eb168ad44c69ad77
23 DIST jdk-9.0.1_doc-all.zip 70497837 BLAKE2B 437aeae172d5a2133eb34f305925898aa80b52f15ae9860d148e3eda7de34b635c4defa0683009c4232658414c81d1f01fbea4201ea179347508caf63d13cd82 SHA512 c031497e5644abe9e9d72f9b2af6c11cf9842ee2f1001184704d994ec62b46a3620930e63944253c777d8ec9248418369579e439cf5c13c66805364669e54063
24
25 diff --git a/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.80.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.80.ebuild
26 deleted file mode 100644
27 index 42915862de6..00000000000
28 --- a/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.80.ebuild
29 +++ /dev/null
30 @@ -1,48 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit versionator
37 -
38 -MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
39 -
40 -DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html#jdk-${MY_PV}-apidocs-oth-JPR"
41 -ORIG_NAME="jdk-${MY_PV}-docs-all.zip"
42 -
43 -DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
44 -HOMEPAGE="http://download.oracle.com/javase/7/docs/"
45 -SRC_URI="${ORIG_NAME}"
46 -
47 -LICENSE="oracle-java-documentation-7"
48 -SLOT="1.7"
49 -KEYWORDS="amd64 ~arm ~ppc64 x86 ~amd64-linux ~x86-linux"
50 -IUSE=""
51 -
52 -DEPEND="app-arch/unzip"
53 -
54 -RESTRICT="fetch"
55 -
56 -S="${WORKDIR}/docs"
57 -
58 -pkg_nofetch() {
59 - einfo "Please download ${ORIG_NAME} from "
60 - einfo "${DOWNLOAD_URL}"
61 - einfo "(agree to the license) and place it in ${DISTDIR}"
62 -
63 - einfo "If you find the file on the download page replaced with a higher"
64 - einfo "version, please report to the bug 67266 (link below)."
65 - einfo "If emerge fails because of a checksum error it is possible that"
66 - einfo "the upstream release changed without renaming. Try downloading the file"
67 - einfo "again (or a newer revision if available). Otherwise report this to"
68 - einfo "https://bugs.gentoo.org/67266 and we will make a new revision."
69 -}
70 -
71 -src_install(){
72 - insinto /usr/share/doc/${P}/html
73 - doins index.html
74 -
75 - for i in *; do
76 - [[ -d $i ]] && doins -r $i
77 - done
78 -}