summaryrefslogtreecommitdiff
path: root/dev-java/mvel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-10 04:03:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-10 04:03:58 +0100
commit3aae425b3c39d02e2dc917db0fae8c225c158ca1 (patch)
tree89f296451fba2217a7c18592ecb1762a920dead7 /dev-java/mvel
parent6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (diff)
gentoo auto-resync : 10:10:2024 - 04:03:57
Diffstat (limited to 'dev-java/mvel')
-rw-r--r--dev-java/mvel/Manifest4
-rw-r--r--dev-java/mvel/mvel-2.5.0-r1.ebuild (renamed from dev-java/mvel/mvel-2.5.0.ebuild)2
-rw-r--r--dev-java/mvel/mvel-2.5.2.ebuild67
3 files changed, 71 insertions, 2 deletions
diff --git a/dev-java/mvel/Manifest b/dev-java/mvel/Manifest
index 249dda15fb31..14d88aba961c 100644
--- a/dev-java/mvel/Manifest
+++ b/dev-java/mvel/Manifest
@@ -1,3 +1,5 @@
DIST mvel2-2.5.0.Final.tar.gz 2182715 BLAKE2B 1e8dbde4b75e36ea4d285ab45c0040957b9af7b5819786daf6469ae509c9c1e16ba2b201a05f9f9cf1c694bac816afd2d613226a8eb3b06f9049a898c6586b85 SHA512 29ca1ef8fdc4cbb97b5847f59e7c3118e837022d7292b507869208da1798b55d0445c40214d72c159e610d7094df7002c091296b2b31775a1ad0606f622d12b5
-EBUILD mvel-2.5.0.ebuild 1796 BLAKE2B 6f1daa735388426d1483c0d941209ab1ddceadb411a9f262e97928e29a9ff926d2042d966bfd589c2dd4665c36181482a4fbe13fa5a516e14337e2521c855744 SHA512 f5109e97ac6e737a4b9495762da16e45cf717941bde15bcc6e190f201d1ecfc9f1ddd6a78d9805eede83602c5e85213d8a3d13e2c9895a711c6cdeb5436a8846
+DIST mvel2-2.5.2.Final.tar.gz 2184489 BLAKE2B 4e7b79f096a2a87a1d60b5edc0909fbadc754aa3927d5d439ebf8f2df2b05b6a85248d31d720b3a4f13e5890c45079388f8745baba32cffe5a2c998748cfb1a6 SHA512 ff1c0ee2b3cbce9d5f996e16df72cd1620087543b74c65c52632951a4842a7dc17d764303eac48c2df6a94feda0bbfffae7573b44409647db16ef2066930b4f1
+EBUILD mvel-2.5.0-r1.ebuild 1794 BLAKE2B 54c229bbf9cd0a429fb0f41bf0a715ef78f699c5a021a8a66ae9566f99e302090b6250e7a35c620d65e7d60540bf6f1dd1e17dcab8301f7e3eba21ec4429d7bc SHA512 bbf3822ae0d28e9e00508b191316c4a4da69cfc415040b03341453f05f064518c0fe14bd9c21fea12664997b01d877cc4f600f8d379069fedc83a3c43d9234f4
+EBUILD mvel-2.5.2.ebuild 1832 BLAKE2B ab6f796c691df6917d8618392e1076c9a1a42148e1690796d860772d4e2e850d58c7926cf12fd3e84467f924765ed503858fbb6d1998dda39f3a221735e48d24 SHA512 fb7ab8de72a26871301bbe68bfff1e8c5b0c4c9f4ba567c755614f498082d72f7f40cfb05cb5b8620ce4656005dbdece42933ba0ad8ac8433c0be3b95af69350
MISC metadata.xml 311 BLAKE2B fd4a83fa02a7d87a3b03c3b99b99f0e87b2dbe54b45eb00172999f629712e499aca3dfa631000d92ba51c1303dacea1499cf0394af8aab8ac53610b6bb7c31d7 SHA512 6ecb610dd945d4cba9764e55ffe05e896536d1deec4cdaa18949943fdb2e7e953f167f87599b4d6ebb16ee85c19e23da63217c4063b8553fa45ecf0680589ed1
diff --git a/dev-java/mvel/mvel-2.5.0.ebuild b/dev-java/mvel/mvel-2.5.0-r1.ebuild
index dc7079a91c1c..52097f6f110d 100644
--- a/dev-java/mvel/mvel-2.5.0.ebuild
+++ b/dev-java/mvel/mvel-2.5.0-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/mvel/mvel/archive/mvel2-${PV}.Final.tar.gz"
S="${WORKDIR}/${PN}-${PN}2-${PV}.Final"
LICENSE="Apache-2.0"
-SLOT="2.5"
+SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND="
diff --git a/dev-java/mvel/mvel-2.5.2.ebuild b/dev-java/mvel/mvel-2.5.2.ebuild
new file mode 100644
index 000000000000..bc25f1af94ef
--- /dev/null
+++ b/dev-java/mvel/mvel-2.5.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.mvel:mvel2:${PV}.Final"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="MVFLEX Expression Language"
+HOMEPAGE="https://github.com/mvel/mvel"
+SRC_URI="https://github.com/mvel/mvel/archive/mvel2-${PV}.Final.tar.gz"
+S="${WORKDIR}/${PN}-${PN}2-${PV}.Final"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+ dev-java/asm:9
+ >=virtual/jdk-1.8:*
+"
+RDEPEND=">=virtual/jre-1.8:*"
+
+# Required due to use of '_' as identifiers in source files
+JAVADOC_ARGS="-source 8"
+JAVA_CLASSPATH_EXTRA="asm-9"
+JAVA_MAIN_CLASS="org.mvel2.sh.Main"
+JAVA_SRC_DIR="src/main/java"
+
+# Significantly speed up test execution
+# https://github.com/mvel/mvel/blob/mvel2-2.3.2.Final/pom.xml#L158-L171
+JAVA_TEST_EXTRA_ARGS=(
+ -Dfile.encoding=UTF-8
+ -Dmvel.disable.jit=true
+ -Dmvel.tests.quick=true
+)
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" )
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ # ${S}/pom.xml#201-214
+ pushd src/test/java || die
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ \( -name "*Test.java" \
+ -o -name '*Tests.java' \
+ -o -name 'UsageDemos.java' \)\
+ ! -name "AbstractTest.java*" \
+ ! -name "CompiledUnitTestEx.java" \
+ ! -name "PerfTest.java" \
+ ! -name "DroolsTest.java" \
+ ! -name "FailureTests.java" \
+ ! -name "PerformanceTest.java" \
+ ! -name "CompiledPerformanceTests.java" \
+ ! -name "MVELThreadTest.java*" \
+ ! -name "SimpleTests.java*" \
+ ! -name "BaseOperatorsTest.java*" \
+ ! -name "BaseMvelTest.java*" \
+ )
+ popd
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ java-pkg-simple_src_test
+}