From 5e41a38157bb40e8513e8e34426e85faba672fe7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Jun 2024 00:09:04 +0100 Subject: gentoo auto-resync : 14:06:2024 - 00:09:04 --- dev-java/velocity/Manifest | 2 - dev-java/velocity/velocity-2.3.ebuild | 146 ---------------------------------- 2 files changed, 148 deletions(-) delete mode 100644 dev-java/velocity/velocity-2.3.ebuild (limited to 'dev-java/velocity') diff --git a/dev-java/velocity/Manifest b/dev-java/velocity/Manifest index 3f19c320e6d9..1703e552c976 100644 --- a/dev-java/velocity/Manifest +++ b/dev-java/velocity/Manifest @@ -1,6 +1,4 @@ AUX velocity-2.3-skipSecurityManager.patch 383 BLAKE2B ce955f4336d4184b9c3d27f12e28c4f721fc25b613aef07f5f0a161ff9d43333e63ad0a145b67e83b91d7ce6afc2520effe84e529dce0ea97ee7f7ad2eb1eb5b SHA512 b76fe09011ce5ae5d621ef03c16fc23586df4b06115ea2b6bea18ef5c28cf7e11b7023e9c654f59f1e03c31c8bc56ab73bfe95eef7094f42a1f7bdb590c454c6 -DIST velocity-2.3.tar.gz 443754 BLAKE2B 16b7aaa87eb6be899f40d09ee8aa50b2ac24dd59c33f29b944d46ea84a77de07cd69f344632b4b829b92a92fe6ccd75cf79e021787b2ca59a79040aa08a53eed SHA512 987f2991a96fa8fae43ff2f72d6a57b25b1cb7d98b7def7a1a6e9a308c8b5b86e394444c47ee0eca8b70d41b341759c7309404dc4b952dbc65fc3a5b92d46cdb DIST velocity-2.3_p20240314.tar.gz 440967 BLAKE2B c5fcea7af49d6c46d5c0943efe82f3c04d921afc2c53201b97842ae71714e7035d075c147b3bea71e959db12dd970b7879ade73bbc23bab09a1fd262e21f2fc6 SHA512 9055e780d2a3c798bfe30e5c7859a7311c4984b551d7b2ffa68c57c076549326d0ddae31eabff8009ea021c749331d34c71eee8cab55599dea5f3c8dba841a02 -EBUILD velocity-2.3.ebuild 5324 BLAKE2B 13c09feae6a40da9f60665174b57e81c041238a22854b35ede8334d5b72e0a9941818fc25ddd54b139231f2214d47a54e537401665e569cf31ef27aed0ff89e6 SHA512 6b6932e00b61f1f77f04853ffd781954e291783bed80b54ac4070ff085d910ff4dfb3597a6885949fb296dd06d1e8f26e46b5851517187d37dde1d1795cbcc73 EBUILD velocity-2.3_p20240314.ebuild 3493 BLAKE2B b013a9ca66130483dc48a42e7d7f0048ab97920d283dee80f57bb1316d3e06d00e5c7b59723a48af73042cbbc9912bf823efc0515819a84f2e11258e6fba5d3e SHA512 47c9dcdbefa162dd232bb3e6cc8cfb36fc5faa38dc5a8144419443914b5e637463713f1513e7edc596452c1c9b1f9c642dcce30603462c412d430d9f66fef092 MISC metadata.xml 324 BLAKE2B c8eea57701703ec431e972c8e9c79135f5c124f1d16d4882cdcf64b884ba656654f030dc63ae7bcba3f0485cf751c53cce51e3b337eae198d61ae84abb3d04ed SHA512 29c6d5194ebede2598996e03408bd4c3c54bdcfce18c1025ffa95fbfba99a953acc66af25e4bb046d33a71d2c462e4fc84867ff8067a2434af885fb046980840 diff --git a/dev-java/velocity/velocity-2.3.ebuild b/dev-java/velocity/velocity-2.3.ebuild deleted file mode 100644 index fd0fb1074e25..000000000000 --- a/dev-java/velocity/velocity-2.3.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/apache/velocity-engine/archive/refs/tags/2.3.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild velocity-2.3.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.velocity:velocity-engine-core:2.3" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Apache Velocity is a general purpose template engine" -HOMEPAGE="https://velocity.apache.org" -SRC_URI="https://github.com/apache/${PN}-engine/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# commons-io:commons-io:2.8.0 -> >=dev-java/commons-io-2.8.0:1 -# org.apache.commons:commons-lang3:3.11 -> >=dev-java/commons-lang-3.11:3.6 -# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 - -CDEPEND=" - >=dev-java/commons-io-2.8.0:1 - >=dev-java/commons-lang-3.11:3.6 - >=dev-java/slf4j-api-1.7.30:0 -" - -# Compile dependencies -# POM: pom.xml -# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 -# test? org.hsqldb:hsqldb:2.5.1 -> !!!groupId-not-found!!! -# test? org.slf4j:slf4j-simple:1.7.30 -> >=dev-java/slf4j-simple-1.7.30:0 - -DEPEND=" - >=virtual/jdk-1.8:* - ${CDEPEND} - test? ( - dev-db/hsqldb:0 - >=dev-java/slf4j-simple-1.7.30:0 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CDEPEND} -" - -BDEPEND=" - dev-java/javacc:0 -" - -S="${WORKDIR}/${PN}-engine-${PV}/${PN}-engine-core" -PATCHES=( "${FILESDIR}/velocity-2.3-skipSecurityManager.patch" ) - -JAVA_GENTOO_CLASSPATH="commons-io-1,commons-lang-3.6,slf4j-api" -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4,hsqldb,slf4j-simple" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -JAVA_TEST_EXCLUDES=( - # org.junit.runners.model.InvalidTestClassError: Invalid test class, No runnable methods - "org.apache.velocity.test.RenderVelocityTemplateTest" - "org.apache.velocity.test.provider.TestNumber" - "org.apache.velocity.test.provider.TestProvider" - "org.apache.velocity.test.sql.TestDataSource" - "org.apache.velocity.test.misc.TestContext" - - # java.lang.IllegalArgumentException: Test class can only have one constructor - "org.apache.velocity.test.misc.TestLogger" - - # junit.framework.AssertionFailedError: Class org.apache.velocity.test.sql.BaseSQLTest has no public constructor TestCase(String name) or TestCase() - "org.apache.velocity.test.sql.BaseSQLTest" - - # requires configured jdbc - # junit.framework.AssertionFailedError: Exception in constructor: testSimpleTemplate (java.lang.NullPointerException - # junit.framework.AssertionFailedError: Exception in constructor: testNullTimestamp (java.lang.NullPointerException - # junit.framework.AssertionFailedError: Exception in constructor: testMacroInvocation (java.lang.NullPointerException - # junit.framework.AssertionFailedError: Exception in constructor: testRenderTool (java.lang.NullPointerException - "org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase" -) - -src_prepare() { - default #780585 - java-pkg-2_src_prepare - - cp -v "${JAVA_SRC_DIR}-templates/org/apache/velocity/runtime/VelocityEngineVersion.java" \ - "${JAVA_SRC_DIR}/org/apache/velocity/runtime/VelocityEngineVersion.java" || die - - sed -i "s/\${project.version}/${PV}/g" \ - "${JAVA_SRC_DIR}/org/apache/velocity/runtime/VelocityEngineVersion.java" || die - - # fix paths for tests - sed -i \ - -e "s%System.getProperty(\"test.compare.dir\")%\"${S}/target/test-classes\"%g" \ - -e "s%System.getProperty(\"test.result.dir\")%\"${S}/results\"%g" \ - "${JAVA_TEST_SRC_DIR}/org/apache/velocity/test/TemplateTestBase.java" || die - - sed -i \ - -e 's/\${parser.basename}/Standard/g' \ - -e 's/\${parser.package}/org.apache.velocity.runtime.parser/g' \ - -e 's/\${parser.char.asterisk}/\*/g' \ - -e 's/\${parser.char.at}/\@/g' \ - -e 's/\${parser.char.dollar}/\$/g' \ - -e 's/\${parser.char.hash}/\#/g' \ - "${S}/src/main/parser/Parser.jjt" || die - - # File "StandardParserTreeConstants.java" does not exist. Will create one. - # File "StandardParserVisitor.java" does not exist. Will create one. - # File "JJTStandardParserState.java" does not exist. Will create one. - jjtree -GRAMMAR_ENCODING=UTF-8 \ - -JDK_VERSION=1.8 \ - -BUILD_NODE_FILES=false \ - -MULTI=true \ - -NODE_PACKAGE=org.apache.velocity.runtime.parser.node \ - -NODE_USES_PARSER=true \ - -STATIC=false \ - -OUTPUT_DIRECTORY="${JAVA_SRC_DIR}/org/apache/velocity/runtime/parser/node" \ - "${S}/src/main/parser/Parser.jjt" \ - || die "Code generation via jjtree failed" - - javacc -GRAMMAR_ENCODING=UTF-8 \ - -JDK_VERSION=1.8 \ - -STATIC=false \ - -DEBUG_PARSER=false \ - -DEBUG_LOOKAHEAD=false \ - -DEBUG_TOKEN_MANAGER=false \ - -BUILD_PARSER=true \ - -TOKEN_MANAGER_USES_PARSER=true \ - -OUTPUT_DIRECTORY="${JAVA_SRC_DIR}" \ - "${JAVA_SRC_DIR}/org/apache/velocity/runtime/parser/node/Parser.jj" \ - || die "Parser.java code generation via javacc failed" - - # Avoid "error: duplicate class: org.apache.velocity.runtime.parser...." - rm -v "${JAVA_SRC_DIR}/CharStream.java" || die "cannot remove 'CharStream.java'" - rm -v "${JAVA_SRC_DIR}/ParseException.java" || die "cannot remove 'ParseException.java'" -} -- cgit v1.2.3