diff options
Diffstat (limited to 'dev-java/javacup')
-rw-r--r-- | dev-java/javacup/Manifest | 3 | ||||
-rw-r--r-- | dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch | 44 | ||||
-rw-r--r-- | dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild | 91 |
3 files changed, 0 insertions, 138 deletions
diff --git a/dev-java/javacup/Manifest b/dev-java/javacup/Manifest index 0663f080b1be..c1031b6045a9 100644 --- a/dev-java/javacup/Manifest +++ b/dev-java/javacup/Manifest @@ -1,6 +1,3 @@ -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 DIST java-cup-src-11b-20160615.tar.gz 313847 BLAKE2B 0031cdb73471512162f69fff6ed47e91d78769c5162f37d4fdcef1c4b4be17ec9e950eda973a8842ae95423840be6c43a335180584b81c4618ea43cbfa926972 SHA512 532a8169f8e1ed2c637c66e7e21cc90eea363732870fbf4e3d66acbff03de3ba0583cefb7b4e7b8f8cb0c9bf1ca92dd5a59111860612bc7544e8beab87f5fbda -EBUILD javacup-0.11b_p20151001-r1.ebuild 2741 BLAKE2B 5fe46493b06faa38180c636131d1a1180fdfb567f94377389c609870127285ac7d61b93f3c61c4708af3aa668aa14d541e0d17b9c08e3bd57d301c7bbfdcd202 SHA512 7d7f646c6b832a83225d940aa11068fe984b3879dd2ecbdc63d3e0c32e8eab2185c8a32442b7bb92ce5096dd0377884630eb44a268dc541bc1a7a278411b6163 EBUILD javacup-11b_p20160615.ebuild 2587 BLAKE2B d2d869f17662522f0622ae6e35555e9b1cc3cf23805a05ef34de9a0e3846272c3fc25b3ec0a7082af449257c218019156343380b498c6896e1b4a7310b503c9d SHA512 d7fd669ed7956545cc53b0d96aeb452e949132dab2272f2a319585697c4e85006d5778ca26eea0e20612bbb78cf6c0dd991f59c97c458074ca0f2efad01dd82e MISC metadata.xml 399 BLAKE2B 735ada4795cee491980197e589097e933cd2f18ef453f1d793e10be22b44618b75f519e88f7b76f715a7d07ffb56ee7e9ac71951f1829c1b4eeff5430b06b8c6 SHA512 100cea816b78fbbad49ef4499cba083e3492d9928bd055dc5b289e80537e0bb50275115b3a9cedffce32a4e755f6552e12c84582be724437fb27b1f4cd7f5b50 diff --git a/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch b/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch deleted file mode 100644 index d5a14af3587b..000000000000 --- a/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 1a908a86fa6c253332b673ecc98e4ec8dffcdca2 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sat, 8 Aug 2015 14:49:02 +0200 -Subject: [PATCH] No longer query subversion revision - -There is not .svn folder shipped anyway ---- - build.xml | 13 +------------ - 1 file changed, 1 insertion(+), 12 deletions(-) - -diff --git a/build.xml b/build.xml -index 33f0c60..860bbb5 100644 ---- a/build.xml -+++ b/build.xml -@@ -18,17 +18,6 @@ - <mkdir dir="${classes}" /> - <mkdir dir="${dist}" /> - <loadfile property="cupversion" srcFile="version.txt"/> -- <exec executable="svn" outputproperty="svnversion"> -- <arg value="info"/> -- <redirector> -- <outputfilterchain> -- <linecontains> -- <contains value="Revision"/> -- </linecontains> -- <deletecharacters chars="Revision: "/> -- </outputfilterchain> -- </redirector> -- </exec> - </target> - - <property environment="env" /> -@@ -67,7 +56,7 @@ - <copy todir="${java}"><fileset dir="${src}"></fileset></copy> - <replace file="${java}/java_cup/version.java" - token="+ version_str" -- value='+ "v0.11b ${cupversion} (SVN rev ${svnversion})"'> -+ value='+ "v0.11b ${cupversion}"'> - </replace> - <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.5" target="1.5"> - <classpath refid="libraries"/> --- -2.5.0 - diff --git a/dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild b/dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild deleted file mode 100644 index 4fd75cc0bcbd..000000000000 --- a/dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit 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 ~x64-solaris" - -DEPEND="dev-java/ant-core:0 - dev-java/jflex:0 - >=virtual/jdk-1.8:*" - -RDEPEND=">=virtual/jre-1.8:*" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS+=" taskdef" - -S="${WORKDIR}" - -src_prepare() { - default - # Bizarrely, you can't build from the tarball without this patch. - eapply "${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 -} |