summaryrefslogtreecommitdiff
path: root/dev-java/javacup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-java/javacup
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-java/javacup')
-rw-r--r--dev-java/javacup/Manifest1
-rw-r--r--dev-java/javacup/javacup-0.11b_p20151001.ebuild89
2 files changed, 0 insertions, 90 deletions
diff --git a/dev-java/javacup/Manifest b/dev-java/javacup/Manifest
index bb214c9fd188..d0959ebda2a0 100644
--- a/dev-java/javacup/Manifest
+++ b/dev-java/javacup/Manifest
@@ -1,5 +1,4 @@
AUX javacup-0.11b_beta20150326-build-xml-svn.patch 1385 BLAKE2B 43ed5b0c75aa308f2301d8e7d633ca69689a1772a7d8f0f7dbd6f914f1bbf571dcef0ac9fb9cacbe07aaa8c50fca69f0fa95f661314dfab2c16ac96ad50f11f7 SHA512 211157370c61995a05ce45e70941d99da9031174fae2b6e4bbacfdd0c402c451009eb5952a8c3cf8a586402aa138e70733dfd46ce9cf6b5fb680edf65657506c
DIST java-cup-src-11b-20151001.tar.gz 313405 BLAKE2B 126944916d120dd2150e4a665fea6d216f3d55e002a72b581621df726e4bf0e0664f9ff925189c97162582277c08a4f121e056299ea5a3f5c10cc31d7c0feb9c SHA512 70bb6a0e13fe52694980040205fcf5b3e904c4a07e50c7740c55cc3bb481496c5c071377757b94f59807b936b8c4fdde5423d78cc2d12a7ada1870f71cd9f47e
EBUILD javacup-0.11b_p20151001-r1.ebuild 2786 BLAKE2B 02de56281f4f530ad1e7841f981b1522cb56e5ada96a523cd4dcd08eab16124a2a27ace79633ecc8bf64f47f1191e005fcd0e50751e380d3328c6b3123e84aff SHA512 e18275195a7a01ef05fcd3ce6d9cb5290271f28711edf53a3b6f3f972988ba3b14a5cb53ea8d41a9ec664a6f8dd38ba46166455177b1dfe8504761c5448a8fa0
-EBUILD javacup-0.11b_p20151001.ebuild 2798 BLAKE2B 8bf3e57971595295db4c5af67e9d810577fb1cd017a226ad4bf6f1835fa96d1150f9135e7ac5e4b2b374d2d433f58d6ad55193465a8f092e8d82c83c949f2050 SHA512 cc8885b9d6dfa24f39d9ad9ad28f4af755d1c50182b388f7ce1243125de58aade47872647b2fd5add3a4f80af1b88697da39855fab8d0d95e49e6db75b087bfb
MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253
diff --git a/dev-java/javacup/javacup-0.11b_p20151001.ebuild b/dev-java/javacup/javacup-0.11b_p20151001.ebuild
deleted file mode 100644
index 9e50193d6fef..000000000000
--- a/dev-java/javacup/javacup-0.11b_p20151001.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit eutils java-pkg-2 java-ant-2
-
-MY_PV=${PV/_beta/-}
-MY_PV=${MY_PV/_p/-}
-MY_PV=${MY_PV#0.}
-MY_P=java-cup-${MY_PV%-*}
-
-DESCRIPTION="CUP Parser Generator for Java"
-HOMEPAGE="http://www2.cs.tum.edu/projects/cup/"
-SRC_URI="http://www2.cs.tum.edu/projects/cup/releases/java-cup-src-${MY_PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-
-DEPEND=">=virtual/jdk-1.7
- >=dev-java/ant-core-1.7.0:0
- >=dev-java/jflex-1.6.1:0"
-
-RDEPEND=">=virtual/jre-1.7"
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-JAVA_ANT_CLASSPATH_TAGS+=" taskdef"
-
-S="${WORKDIR}"
-
-java_prepare() {
- # Bizarrely, you can't build from the tarball without this patch.
- epatch "${FILESDIR}"/${PN}-0.11b_beta20150326-build-xml-svn.patch
-
- # The JFlex package name has changed to lower case.
- sed -i "s/JFlex\./jflex./g" build.xml || die
-
- # Remove the bundled JFlex.
- rm -v bin/JFlex.jar || die
-}
-
-src_configure() {
- EANT_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only ant-core,jflex)
- java-ant-2_src_configure
-}
-
-src_compile() {
- # Annoyingly javacup bundles an older version of itself that will
- # break jflex if that has already been built against this newer
- # version beforehand. Even more annoyingly, the binary download is
- # built with Java 8, which isn't much use to us. We therefore use
- # any installed javacup that is newer than the bundled version where
- # possible. If this approach turns out to be unworkable then we may
- # just have to use the bundled jflex for bootstrapping.
- if has_version \>=${CATEGORY}/${PN}-0.11b:${SLOT}; then
- # Use PORTAGE_QUIET to suppress a QA warning that is spurious
- # thanks to has_version above. This is Portage-specific but
- # showing the warning elsewhere isn't the end of the world.
- einfo "Bootstrapping with installed javacup ..."
- EANT_GENTOO_CLASSPATH_EXTRA+=":$(PORTAGE_QUIET=1 java-pkg_getjars --build-only javacup)" eant
- else
- einfo "Bootstrapping with bundled javacup ..."
- EANT_GENTOO_CLASSPATH_EXTRA+=":${S}/bin/${MY_P:0:-1}.jar" eant
- fi
-
- # Clean everything except the new jar.
- rm -rv java/ classes/ || die
-
- einfo "Recompiling with newly built javacup ..."
- EANT_GENTOO_CLASSPATH_EXTRA+=":${S}/dist/${MY_P}.jar" eant
-
- use doc && ejavadoc -sourcepath src/ -d javadoc java_cup
-}
-
-src_install() {
- java-pkg_newjar dist/${MY_P}.jar
- java-pkg_newjar dist/${MY_P}-runtime.jar ${PN}-runtime.jar
- java-pkg_dolauncher ${PN} --jar ${PN}.jar
- java-pkg_register-ant-task
-
- dodoc changelog.txt
- docinto html
- dodoc manual.html
-
- use source && java-pkg_dosrc java/*
- use doc && java-pkg_dojavadoc javadoc
-}