Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/glassfish-transaction-api/
Date: Fri, 11 Aug 2017 06:11:26
Message-Id: 1502431838.658755be427eb70d923b8deb597d914e2486307c.fordfrog@gentoo
1 commit: 658755be427eb70d923b8deb597d914e2486307c
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 11 06:10:38 2017 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 11 06:10:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658755be
7
8 dev-java/glassfish-transaction-api: marked 1.1.2.2.04-r1 as stable to solve netbeans-java issue due to renaming of the jar in this ebuild
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 .../glassfish-transaction-api-1.1.2.2.04-r1.ebuild | 2 +-
13 .../glassfish-transaction-api-1.1.2.2.04.ebuild | 43 ----------------------
14 2 files changed, 1 insertion(+), 44 deletions(-)
15
16 diff --git a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild b/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild
17 index e9fe920b632..9f87fc7ad5e 100644
18 --- a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild
19 +++ b/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild
20 @@ -20,7 +20,7 @@ SRC_URI="http://download.java.net/javaee5/${MAJOR}/promoted/source/${ZIP}"
21
22 LICENSE="|| ( CDDL GPL-2 )"
23 SLOT="0"
24 -KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
25 +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
26
27 RDEPEND=">=virtual/jre-1.6"
28 DEPEND=">=virtual/jdk-1.6"
29
30 diff --git a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild b/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild
31 deleted file mode 100644
32 index ea2026b8d59..00000000000
33 --- a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04.ebuild
34 +++ /dev/null
35 @@ -1,43 +0,0 @@
36 -# Copyright 1999-2017 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -JAVA_PKG_IUSE="doc source"
40 -
41 -inherit versionator java-pkg-2 java-ant-2
42 -
43 -DESCRIPTION="Java Transaction API"
44 -HOMEPAGE="https://glassfish.dev.java.net/"
45 -MAJOR=v$(get_version_component_range 3-4)
46 -MAJOR=$(replace_version_separator 1 ur ${MAJOR})
47 -MY_PV=${MAJOR}-b$(get_version_component_range 5)
48 -MY_PN=${PN/-//}
49 -ZIP="glassfish-${MY_PV}-src.zip"
50 -SRC_URI="http://download.java.net/javaee5/${MAJOR}/promoted/source/${ZIP}"
51 -
52 -LICENSE="|| ( CDDL GPL-2 )"
53 -SLOT="0"
54 -KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
55 -
56 -IUSE=""
57 -
58 -RDEPEND=">=virtual/jre-1.4
59 - ${COMMON_DEP}"
60 -DEPEND=">=virtual/jdk-1.4
61 - app-arch/unzip
62 - ${COMMON_DEP}"
63 -
64 -S=${WORKDIR}/${MY_PN}
65 -
66 -src_unpack() {
67 - unzip -q "${DISTDIR}/${ZIP}" "${MY_PN}/*" "glassfish/bootstrap/*" \
68 - || die "unpacking failed"
69 - einfo "${S}"
70 -}
71 -
72 -EANT_DOC_TARGET="javadocs"
73 -
74 -src_install() {
75 - java-pkg_dojar build/release/*.jar
76 - use doc && java-pkg_dojavadoc docs
77 - use source && java-pkg_dosrc src/java/javax
78 -}