diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-04-21 01:43:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-04-21 01:43:17 +0000 |
| commit | 74f1f28e70a3272741f2fbac1bc6029b10ce143f (patch) | |
| tree | c6f4d54c2b032bb845fa293443b57c01d4c561f5 /dev-java | |
| parent | 46f16294c273dc905ce5466d783ea6752251483d (diff) | |
| download | baldeagleos-repo-74f1f28e70a3272741f2fbac1bc6029b10ce143f.tar.gz baldeagleos-repo-74f1f28e70a3272741f2fbac1bc6029b10ce143f.tar.xz baldeagleos-repo-74f1f28e70a3272741f2fbac1bc6029b10ce143f.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/commons-codec/Manifest | 2 | ||||
| -rw-r--r-- | dev-java/commons-codec/commons-codec-1.11.ebuild | 55 | ||||
| -rw-r--r-- | dev-java/commons-codec/commons-codec-1.15.ebuild | 50 | ||||
| -rw-r--r-- | dev-java/commons-codec/files/commons-codec-1.11-build.xml | 200 | ||||
| -rw-r--r-- | dev-java/jackcess/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch | 13 | ||||
| -rw-r--r-- | dev-java/jackcess/jackcess-4.0.0.ebuild | 73 | ||||
| -rw-r--r-- | dev-java/poi/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/poi/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-java/poi/poi-5.0.0.ebuild | 64 | ||||
| -rw-r--r-- | dev-java/sparsebitset/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/sparsebitset/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-java/sparsebitset/sparsebitset-1.2.ebuild | 36 |
13 files changed, 265 insertions, 256 deletions
diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest index ac0569a673cc..96b71d14ae70 100644 --- a/dev-java/commons-codec/Manifest +++ b/dev-java/commons-codec/Manifest @@ -1,2 +1,2 @@ -DIST commons-codec-1.11.tar.gz 369538 BLAKE2B 6b77cb3c69c81a9684b298ac5233b788d6651ecc96b70ac7fda9face5af5a60970c5bb2531fd285d20dce7732829f7470b9e4941d63025faf47247410f1ffba2 SHA512 b3159308f28b2fc50208421412d8cc81f439cc07dc3d071df7b50f2d862aab65b3d20bc8eb2906367a05ecf5138c56b5f12c6cf9c224def8b8286fe12ac5346f +DIST commons-codec-1.15.tar.gz 423639 BLAKE2B 5d9d3dd44fda7eee77048eaa1e28f54f9baff7ad276f7e718f4a4d6c5b26605914809db538e9832bf06b1468a65432645ef9de74aec9f9af9973668a82bd996f SHA512 dcf0b86f269a96362dca5b36b9e764a07e390634804b359d4dbd1a0c50bfcc9f778e3797f196e1f553d76dd25b3c6fd016f0ffbbca856fa6c88d3d55791889ce DIST commons-codec-1.7-src.tar.gz 291251 BLAKE2B b8fecdb9b88a21ceb3106a13332493617ecd2c8064c84a1514dec1c1c254e18116ff4926f7445bef4171000ba77da411efd6a93fe80a4795e887832035373e10 SHA512 31358283ac2827cb05486b8ff1512242153f61deb086f7fe145ee3ca38d96e43fba080a1e89a3b8cd44d09761015ff4dbe5226d29b7f9fcd59e68ca7701b28d6 diff --git a/dev-java/commons-codec/commons-codec-1.11.ebuild b/dev-java/commons-codec/commons-codec-1.11.ebuild deleted file mode 100644 index 9f6242f107c2..000000000000 --- a/dev-java/commons-codec/commons-codec-1.11.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="commons-codec:commons-codec:1.11" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Implementations of common encoders and decoders in Java" -HOMEPAGE="https://commons.apache.org/codec" -SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - >=virtual/jre-1.6" - -DEPEND=" - >=virtual/jdk-1.6 - test? ( - dev-java/ant-junit:0 - dev-java/junit:4 - )" - -S="${WORKDIR}/${P}-src" - -JAVA_ANT_ENCODING="ISO-8859-1" -EANT_TEST_GENTOO_CLASSPATH="junit-4" - -JAVA_ANT_REWRITE_CLASSPATH="yes" - -RESTRICT="test" - -DOCS=( RELEASE-NOTES.txt NOTICE.txt ) - -src_prepare() { - cp "${FILESDIR}/${P}-build.xml" "${S}/build.xml" || die - default -} - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar "target/${P}.jar" - - use doc && java-pkg_dojavadoc target/site/apidocs - use source && java-pkg_dosrc src/main/java/* -} diff --git a/dev-java/commons-codec/commons-codec-1.15.ebuild b/dev-java/commons-codec/commons-codec-1.15.ebuild new file mode 100644 index 000000000000..f67de5d44ad1 --- /dev/null +++ b/dev-java/commons-codec/commons-codec-1.15.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom commons-codec-1.15-src/pom.xml --download-uri https://apache.osuosl.org/commons/codec/source/commons-codec-1.15-src.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild commons-codec-1.15.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="commons-codec:commons-codec:1.15" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Implementations of common encoders and decoders in Java" +HOMEPAGE="https://commons.apache.org/proper/commons-codec/" +SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +# Compile dependencies +# POM: ${P}-src/pom.xml +# test? junit:junit:4.13 -> >=dev-java/junit-4.13.1:4 +# test? org.apache.commons:commons-lang3:3.8 -> >=dev-java/commons-lang-3.11:3.6 + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + >=dev-java/commons-lang-3.11:3.6 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +S="${WORKDIR}/${P}-src" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS=( + "src/main/resources" +) + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,commons-lang-3.6" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS=( + "src/test/resources" +) diff --git a/dev-java/commons-codec/files/commons-codec-1.11-build.xml b/dev-java/commons-codec/files/commons-codec-1.11-build.xml deleted file mode 100644 index 251268136bf8..000000000000 --- a/dev-java/commons-codec/files/commons-codec-1.11-build.xml +++ /dev/null @@ -1,200 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- ====================================================================== --> -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> -<!-- ====================================================================== --> - -<!-- ====================================================================== --> -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> -<!-- ====================================================================== --> -<!-- --> -<!-- Any modifications will be overwritten. --> -<!-- --> -<!-- Generated by Maven Ant Plugin on 5/27/18 9:10 AM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="commons-codec-from-maven" default="package" basedir="."> - - <!-- ====================================================================== --> - <!-- Build environment properties --> - <!-- ====================================================================== --> - - <property file="maven-build.properties"/> - - <property name="maven.build.finalName" value="commons-codec-1.11"/> - <property name="maven.build.dir" value="target"/> - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> - <property name="maven.build.srcDir.0" value="src/main/java"/> - <property name="maven.build.resourceDir.0" value="src/main/resources"/> - <property name="maven.build.resourceDir.1" value="."/> - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> - <property name="maven.build.testDir.0" value="src/test/java"/> - <property name="maven.build.testResourceDir.0" value="src/test/resources"/> - <property name="maven.build.testResourceDir.1" value="."/> - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> - - <property name="maven.settings.offline" value="false"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"/> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/junit/junit/4.12/junit-4.12.jar"/> - <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/> - <pathelement location="${maven.repo.local}/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar"/> - </path> - - <!-- ====================================================================== --> - <!-- Cleaning up target --> - <!-- ====================================================================== --> - - <target name="clean" description="Clean the output directory"> - <delete dir="${maven.build.dir}"/> - </target> - - <!-- ====================================================================== --> - <!-- Compilation target --> - <!-- ====================================================================== --> - - <target name="compile" description="Compile the code"> - <mkdir dir="${maven.build.outputDir}"/> - <javac destdir="${maven.build.outputDir}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.6" - verbose="false" - fork="false" - source="1.6"> - <src> - <pathelement location="${maven.build.srcDir.0}"/> - </src> - <classpath refid="build.classpath"/> - </javac> - <copy todir="${maven.build.outputDir}"> - <fileset dir="${maven.build.resourceDir.0}"/> - </copy> - <mkdir dir="${maven.build.outputDir}/META-INF"/> - <copy todir="${maven.build.outputDir}/META-INF"> - <fileset dir="${maven.build.resourceDir.1}"> - <include name="NOTICE.txt"/> - <include name="LICENSE.txt"/> - </fileset> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" - description="Run the test cases"> - <mkdir dir="${maven.test.reports}"/> - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> - <sysproperty key="basedir" value="."/> - <formatter type="xml"/> - <formatter type="plain" usefile="false"/> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - <pathelement location="${maven.build.testOutputDir}"/> - </classpath> - <batchtest todir="${maven.test.reports}" unless="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/Test*.java"/> - <include name="**/*Test.java"/> - <include name="**/*TestCase.java"/> - <exclude name="**/*AbstractTest.java"/> - <exclude name="**/*PerformanceTest.java"/> - </fileset> - </batchtest> - <batchtest todir="${maven.test.reports}" if="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/${test}.java"/> - <exclude name="**/*AbstractTest.java"/> - <exclude name="**/*PerformanceTest.java"/> - </fileset> - </batchtest> - </junit> - </target> - - <!-- ====================================================================== --> - <!-- Javadoc target --> - <!-- ====================================================================== --> - - <target name="javadoc" description="Generates the Javadoc of the application"> - <javadoc sourcepath="${maven.build.srcDir.0}" - packagenames="*" - destdir="${maven.reporting.outputDirectory}/apidocs" - access="protected" - old="false" - verbose="false" - encoding="UTF-8" - version="true" - use="true" - author="true" - splitindex="false" - nodeprecated="false" - nodeprecatedlist="false" - notree="false" - noindex="false" - nohelp="false" - nonavbar="false" - serialwarn="false" - charset="ISO-8859-1" - docencoding="UTF-8" - source="1.6" - linksource="true" - breakiterator="false"> - <link href="http://docs.oracle.com/javase/7/docs/api/"/> - <link href="http://docs.oracle.com/javaee/6/api/"/> - </javadoc> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <!-- - <target name="package" depends="compile" description="Package the application"> - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" - compress="true" - index="false" - manifest="/var/tmp/portage/dev-java/commons-codec-1.11/work/commons-codec-1.11-src/target/osgi/MANIFEST.MF" - basedir="${maven.build.outputDir}" - excludes="**/package.html"> - <manifest> - <attribute name="Main-Class"/> - </manifest> - </jar> - </target> - --> - - <target name="package" depends="compile" description="Package the application"> - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" - compress="true" - index="false" - basedir="${maven.build.outputDir}" - excludes="**/package.html"> - </jar> - </target> - - <!-- ====================================================================== --> - <!-- A dummy target for the package named after the type it creates --> - <!-- ====================================================================== --> - - <target name="jar" depends="package" description="Builds the jar for the application"/> - - <!-- ====================================================================== --> - <!-- Download dependencies target --> - <!-- ====================================================================== --> - -</project> diff --git a/dev-java/jackcess/Manifest b/dev-java/jackcess/Manifest index 63a13dff7c53..ab3e2780f877 100644 --- a/dev-java/jackcess/Manifest +++ b/dev-java/jackcess/Manifest @@ -1 +1,2 @@ DIST jackcess-1.2.14.3-sources.jar 541095 BLAKE2B 60700a7ebb87f371a28d7cfcc588fbd61e28e4744e96a214e0923cd32c1b8e265b87d98048b277e8d9e5f1e582f17dc0962550ec8e5e7ede7adb83d0c417f25a SHA512 a0ccc39187ee94f550760d5640b736cf54d7523bad4eed715166608e18b30acad82a8db2d78f4c9da381c04876571c3d9fdb0418ee2585568c5da18b000f3b1b +DIST jackcess-4.0.0-sources.tar.gz 12140889 BLAKE2B 44bdd0ba74e9e462364506e563b2e5db8a6581686a0b1ab7d9995d2dfce164593eb533986ac666a7f79180478a8a16ccc8ef57a7af08045cb671a3a5269f84a6 SHA512 514ecf235943183e0b3813550adf801cc4ab1734137ae0b131f5e3dca9f774f2a866bec397ccc8d37d65e9c3f0c4c995baee091480eb8e2bb91e85894c2a27e6 diff --git a/dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch b/dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch new file mode 100644 index 000000000000..221710f4fbe5 --- /dev/null +++ b/dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch @@ -0,0 +1,13 @@ +diff --git a/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java b/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java +index d127f9f..03885f2 100644 +--- a/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java ++++ b/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java +@@ -687,7 +687,7 @@ public class DatabaseTest extends TestCase + + public void testAncientDates() throws Exception + { +- TimeZone tz = TimeZone.getTimeZone("America/New_York"); ++ TimeZone tz = TimeZone.getTimeZone("UTC"); + SimpleDateFormat sdf = DatabaseBuilder.createDateFormat("yyyy-MM-dd"); + sdf.getCalendar().setTimeZone(tz); + diff --git a/dev-java/jackcess/jackcess-4.0.0.ebuild b/dev-java/jackcess/jackcess-4.0.0.ebuild new file mode 100644 index 000000000000..c2ed144f55e8 --- /dev/null +++ b/dev-java/jackcess/jackcess-4.0.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 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/jahlborn/jackcess/archive/refs/tags/jackcess-4.0.0.tar.gz --slot 1 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jackcess-4.0.0.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.healthmarketscience.jackcess:jackcess:4.0.0" +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/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +# Common dependencies +# POM: pom.xml +# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 +# org.apache.commons:commons-lang3:3.10 -> >=dev-java/commons-lang-3.11:3.6 +# org.apache.poi:poi:4.0.0 -> >=dev-java/poi-5.0.0:0 + +CDEPEND=" + >=dev-java/commons-lang-3.11:3.6 + >=dev-java/commons-logging-1.2:0 + >=dev-java/poi-5.0.0:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CDEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CDEPEND}" + +S="${WORKDIR}/${PN}-${P}" + +PATCHES=( + "${FILESDIR}/${P}-fix-tests.patch" +) + +JAVA_GENTOO_CLASSPATH="commons-logging,commons-lang-3.6,poi" +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +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 + java-utils-2_src_prepare +} + +src_test() { + export TZ=UTC + export LC_ALL=C + java-pkg-simple_src_test +} diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest new file mode 100644 index 000000000000..712b8ee1f6e0 --- /dev/null +++ b/dev-java/poi/Manifest @@ -0,0 +1 @@ +DIST poi-5.0.0.tar.gz 111429369 BLAKE2B b29e754fb709d01ff4d68e9227f4c4739384bd02934b6860e8a0e96552d9e9ff1c5c665bc0b701f79226505fd98373fe6ad160c72735903eae388f0cd6618337 SHA512 e79d15b42d8ec389fd15b7714faf7b49b9fb4d57014cb341fff0f061393f4ea7dfcbd3810a6ec19539eabddbb1d0690aa56de4a1a412d05a527e11797047023a diff --git a/dev-java/poi/metadata.xml b/dev-java/poi/metadata.xml new file mode 100644 index 000000000000..b90d346a3b46 --- /dev/null +++ b/dev-java/poi/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">apache/poi</remote-id> + <changelog>https://poi.apache.org/changes.html</changelog> + <bugs-to>https://bz.apache.org/bugzilla/buglist.cgi?product=POI</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/poi/poi-5.0.0.ebuild b/dev-java/poi/poi-5.0.0.ebuild new file mode 100644 index 000000000000..78cd671c2ba4 --- /dev/null +++ b/dev-java/poi/poi-5.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom poi-5.0.0/sonar/main/pom.xml --download-uri https://archive.apache.org/dist/poi/release/src/poi-src-5.0.0-20210120.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild poi-5.0.0.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.poi:poi-main:5.0.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Maven build of Apache POI for Sonar checks" +HOMEPAGE="https://poi.apache.org/" +SRC_URI="https://archive.apache.org/dist/${PN}/release/src/${PN}-src-${PV}-20210120.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +# Common dependencies +# POM: ${P}/sonar/main/pom.xml +# com.zaxxer:SparseBitSet:1.2 -> >=dev-java/sparsebitset-1.2:0 +# commons-codec:commons-codec:1.15 -> >=dev-java/commons-codec-1.11:0 +# org.apache.commons:commons-collections4:4.4 -> >=dev-java/commons-collections-4.1:4 +# org.apache.commons:commons-math3:3.6.1 -> >=dev-java/commons-math-3.6.1:3 +# org.slf4j:jcl-over-slf4j:1.7.30 -> !!!artifactId-not-found!!! +# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 + +# CDEPEND=" +# !!!artifactId-not-found!!! +# >=dev-java/commons-codec-1.11:0 +# >=dev-java/commons-collections-4.1:4 +# >=dev-java/commons-math-3.6.1:3 +# >=dev-java/slf4j-api-1.7.30:0 +# >=dev-java/sparsebitset-1.2:0 +# " +CDEPEND=" + >=dev-java/commons-codec-1.11:0 + >=dev-java/commons-collections-4.1:4 + >=dev-java/commons-math-3.6.1:3 + >=dev-java/slf4j-api-1.7.30:0 + >=dev-java/sparsebitset-1.2:0 + dev-java/commons-logging:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CDEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CDEPEND}" + +S="${WORKDIR}/${P}" + +JAVA_GENTOO_CLASSPATH="sparsebitset,commons-codec,commons-collections-4,commons-logging,commons-math-3,slf4j-api" +JAVA_SRC_DIR="src/java" + +src_prepare() { + default + java-pkg_clean +} diff --git a/dev-java/sparsebitset/Manifest b/dev-java/sparsebitset/Manifest new file mode 100644 index 000000000000..170900e3d8e7 --- /dev/null +++ b/dev-java/sparsebitset/Manifest @@ -0,0 +1 @@ +DIST sparsebitset-1.2.tar.gz 1669439 BLAKE2B abfd88fb21f72d22bbb1f7bff11bd2a9b4e2af84689cbe8013f27f1f138512ecf843a60b8c5c196b622d024614e7f197b349a6cd510eb1c17bd757f7c1a0d90d SHA512 0c7c182556240886e0732626561401aa8695fd46ba90e5e95c5b28c90abaf5f6fd4c3b791171cdde71f61111c6b08ae8f56de105779f71d0448635cbe3b0b247 diff --git a/dev-java/sparsebitset/metadata.xml b/dev-java/sparsebitset/metadata.xml new file mode 100644 index 000000000000..bcb1fc704544 --- /dev/null +++ b/dev-java/sparsebitset/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">brettwooldridge/SparseBitSet</remote-id> + <bugs-to>https://github.com/brettwooldridge/SparseBitSet/issues</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/sparsebitset/sparsebitset-1.2.ebuild b/dev-java/sparsebitset/sparsebitset-1.2.ebuild new file mode 100644 index 000000000000..5e8549ea0ab3 --- /dev/null +++ b/dev-java/sparsebitset/sparsebitset-1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 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/brettwooldridge/SparseBitSet/archive/refs/tags/SparseBitSet-1.2.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild sparsebitset-1.2.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.zaxxer:SparseBitSet:1.2" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An efficient sparse bitset implementation for Java" +HOMEPAGE="https://github.com/brettwooldridge/SparseBitSet" +SRC_URI="https://github.com/brettwooldridge/SparseBitSet/archive/refs/tags/SparseBitSet-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +S="${WORKDIR}/SparseBitSet-SparseBitSet-${PV}" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" |
