diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-11-06 07:42:55 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-07 08:27:32 +0100 |
commit | 8a5e92627cf532b0038656a4d16037b0214b72a0 (patch) | |
tree | 9e46873e44ecc98d35c9c66fd944651e7ec6bf0d /dev-java | |
parent | dev-java/jackcess: add github upstream metadata (diff) | |
download | gentoo-8a5e92627cf532b0038656a4d16037b0214b72a0.tar.gz gentoo-8a5e92627cf532b0038656a4d16037b0214b72a0.tar.bz2 gentoo-8a5e92627cf532b0038656a4d16037b0214b72a0.zip |
dev-java/jackcess: add 4.0.7
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/39208/commits/1f76d134bde076d7a08095a186fd470000578cf7
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jackcess/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jackcess/jackcess-4.0.7.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/jackcess/Manifest b/dev-java/jackcess/Manifest index 95b315a20989..8b0c1cf99e50 100644 --- a/dev-java/jackcess/Manifest +++ b/dev-java/jackcess/Manifest @@ -1 +1,2 @@ DIST jackcess-4.0.0-sources.tar.gz 12140889 BLAKE2B 44bdd0ba74e9e462364506e563b2e5db8a6581686a0b1ab7d9995d2dfce164593eb533986ac666a7f79180478a8a16ccc8ef57a7af08045cb671a3a5269f84a6 SHA512 514ecf235943183e0b3813550adf801cc4ab1734137ae0b131f5e3dca9f774f2a866bec397ccc8d37d65e9c3f0c4c995baee091480eb8e2bb91e85894c2a27e6 +DIST jackcess-4.0.7-sources.tar.gz 12257727 BLAKE2B 5d19d5aef02388342d881214e6956eb118e74fd4dcc6b750df927c888e689eb94bf605952c30884b0b0c4bfd1ae651c8b96cc908dd2dbf0fa7506fd789c14fa0 SHA512 3867019b50e8734938c08e562a57cd16b49f664865b8dbe904c418d73dc750492c6f94bccecd9c9a9d2ab2be51a211d49416a5dcb5130ac96aef7a9aeef7a3e0 diff --git a/dev-java/jackcess/jackcess-4.0.7.ebuild b/dev-java/jackcess/jackcess-4.0.7.ebuild new file mode 100644 index 000000000000..768da2c43f0f --- /dev/null +++ b/dev-java/jackcess/jackcess-4.0.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.healthmarketscience.jackcess:jackcess:4.0.7" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A pure Java library for reading from and writing to MS Access databases" +HOMEPAGE="https://jackcess.sourceforge.io" +SRC_URI="https://github.com/jahlborn/${PN}/archive/${P}.tar.gz -> ${P}-sources.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos" + +CP_DEPEND=" + >=dev-java/commons-lang-3.17:3.6 + >=dev-java/commons-logging-1.3.1:0[log4j] + >=dev-java/poi-5.2.5:0 +" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND}" + +PATCHES=( "${FILESDIR}/jackcess-4.0.0-fix-tests.patch" ) + +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +JAVA_TEST_EXCLUDES=( + # initializationError(com.healthmarketscience.jackcess.TestUtil) + # org.junit.runners.model.InvalidTestClassError: Invalid test class 'com.healthmarketscience.jackcess.TestUtil' + "com.healthmarketscience.jackcess.TestUtil" +) + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} + +src_test() { + export TZ=UTC + export LC_ALL=C + java-pkg-simple_src_test +} |