summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-02-19 20:51:28 +0000
committerJames Le Cuirot <chewi@gentoo.org>2016-02-19 20:54:15 +0000
commit0dddd045cb181c631be9fe51d037942d6afdfafb (patch)
tree8c7d6d8fd7e11eba59da6976dbed45d4cf2cfcb4 /dev-java/eclipse-ecj
parentdev-lang/xsb: gcc-5 fixes (diff)
downloadgentoo-0dddd045cb181c631be9fe51d037942d6afdfafb.tar.gz
gentoo-0dddd045cb181c631be9fe51d037942d6afdfafb.tar.bz2
gentoo-0dddd045cb181c631be9fe51d037942d6afdfafb.zip
dev-java/eclipse-ecj: Remove 3.7
It doesn't build with Java 8 and we're last-riting its revdep, tomcat-6. Should tomcat-6 return, it can point to a later version. Upstream uses 4.3. Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-java/eclipse-ecj')
-rw-r--r--dev-java/eclipse-ecj/Manifest1
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-3.7.2-r1.ebuild101
2 files changed, 0 insertions, 102 deletions
diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest
index 6255e04232f4..f91eafb19083 100644
--- a/dev-java/eclipse-ecj/Manifest
+++ b/dev-java/eclipse-ecj/Manifest
@@ -1,4 +1,3 @@
-DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
DIST ecjsrc-4.5.1.jar 1809543 SHA256 101a31ee0474282a287b16c46fa6e793ede43ceecaecabbd382f6e0b1b67ef72 SHA512 ee615e6fb7fb4a16ef4aeefdff93bafdbf36c9d0ce15713b81f1d4dce0ae87379fa4a6de34c32a134f78db6ed1a68d6c7b4e2a431b7de57bf8262a718fdd6553 WHIRLPOOL 739746de8dfb3c9b9ad40925e99ed58de1f594d6d4e20fd71ce07394a99f2f3f51984daf27c32a76ae5c4a25abf99c6dfb012b62858806d91a5f584d3a4da9f7
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-3.7.2-r1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-3.7.2-r1.ebuild
deleted file mode 100644
index 3d6a3fcff8c0..000000000000
--- a/dev-java/eclipse-ecj/eclipse-ecj-3.7.2-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit java-pkg-2
-
-MY_PN="ecj"
-DMF="R-${PV}-201202080800"
-
-DESCRIPTION="Eclipse Compiler for Java"
-HOMEPAGE="http://www.eclipse.org/"
-SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.jar"
-
-LICENSE="EPL-1.0"
-KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
-SLOT="3.7"
-IUSE="+ant userland_GNU"
-
-COMMON_DEP="
- app-eselect/eselect-java"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.4"
-DEPEND="${COMMON_DEP}
- || ( virtual/jdk:1.7 virtual/jdk:1.6 )
- app-arch/unzip
- userland_GNU? ( sys-apps/findutils )"
-PDEPEND="
- ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
-
-S="${WORKDIR}"
-
-JAVA_PKG_WANT_SOURCE=1.4
-JAVA_PKG_WANT_TARGET=1.4
-
-java_prepare() {
- # These have their own package.
- rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
- rm -fr org/eclipse/jdt/internal/antadapter || die
-
- # upstream build.xml excludes this
- rm META-INF/eclipse.inf
-}
-
-src_compile() {
- local javac_opts javac java jar
-
- javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1"
- javac="$(java-config -c)"
- java="$(java-config -J)"
- jar="$(java-config -j)"
-
- find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \
- -path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \
- -print > sources-1.4
- find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6
-
- mkdir -p bootstrap || die
- cp -pPR org bootstrap || die
- cd "${S}/bootstrap" || die
-
- einfo "bootstrapping ${MY_PN} with ${javac} ..."
- ${javac} ${javac_opts} @../sources-1.4 || die
- ${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die
-
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-
- cd "${S}" || die
- einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..."
- ${java} -classpath bootstrap/${MY_PN}.jar \
- org.eclipse.jdt.internal.compiler.batch.Main \
- ${javac_opts} -nowarn @sources-1.4 || die
- ${java} -classpath bootstrap/${MY_PN}.jar \
- org.eclipse.jdt.internal.compiler.batch.Main \
- -encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die
-
- find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
- -exec ${jar} cf ${MY_PN}.jar {} + || die
-}
-
-src_install() {
- java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
- org.eclipse.jdt.internal.compiler.batch.Main
-
- # disable the class version verify, this has intentionally
- # some classes with 1.6, but most is 1.4
- JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar
-}
-
-pkg_postinst() {
- einfo "To select between slots of ECJ..."
- einfo " # eselect ecj"
-
- eselect ecj update ecj-${SLOT}
-}
-
-pkg_postrm() {
- eselect ecj update
-}