diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
commit | 81b8f20732954c4508baf2f77472b5435e3f851f (patch) | |
tree | 4180177cb7ba85eab50159ce96218c2419fb24a6 /dev-java/xsdlib | |
parent | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff) |
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'dev-java/xsdlib')
-rw-r--r-- | dev-java/xsdlib/Manifest | 4 | ||||
-rw-r--r-- | dev-java/xsdlib/metadata.xml | 3 | ||||
-rw-r--r-- | dev-java/xsdlib/xsdlib-2022.7.ebuild | 73 |
3 files changed, 79 insertions, 1 deletions
diff --git a/dev-java/xsdlib/Manifest b/dev-java/xsdlib/Manifest index 8dd8dad280f0..5aa690c71197 100644 --- a/dev-java/xsdlib/Manifest +++ b/dev-java/xsdlib/Manifest @@ -1,3 +1,5 @@ +DIST msv-2022.7.tar.gz 2594951 BLAKE2B fce006f4b845efcd930b7999ac00eaab06c404888eb73a6eeab6cfad616b4922271d2d682abc82f3be4c4f6a791aa14681f6e6bfebd2118ac3aa2bcba41fd1f8 SHA512 315342628f79c561883be0d966211dd81daae66a414dcc9bb5a87d86f97121d38b5835e9a6d1ac7c21ccff46040e53d3cabd32e9ea677c9ca4335a86c5259949 DIST xsdlib-2013.6.1-sources.jar 274740 BLAKE2B 356c3e6005c26a1b63ea016a523140d93bb8c6a4c1952d60f5a881c92dd013e1691451be96e31b7c96c48e1f182e0224bceb712e230bb008ad97732a8e9ffdb6 SHA512 a4e308fae6a1116158ddbebfad0570f6cf1f840acb72de8bdd9414b363da78edf6aea2349f4ac7511b774a494f9e4c17c309f86aefc39b30421a1c86945302b0 EBUILD xsdlib-2013.6.1.ebuild 916 BLAKE2B 9ebcd72e2473378b10ff552c20cd81f45b247d0805bfb6b1699aa39ebce4cb719d765de563255f2357af459915a47f3fe0d629c6f9dca077fb1d4f881f4e8899 SHA512 3e74a7762cb9c45874406d255b119642e0ee0eb7e8e73ff3bb6e742aa3fd320374fd0a402e50762ece98642c5161df1e39d317bf8bd4bdb481f654f3d106b0c4 -MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559 +EBUILD xsdlib-2022.7.ebuild 1993 BLAKE2B 6b8f006705a2a0fe88f930fb5eaa8f47d97d7c7a2a72777e341bf85e5ce04a8ab7105d1dd576de85ec57954bc565987b5cdc5bdbc950635fecd47f2d743336bf SHA512 679f786a423ad6ee8b20d4fb48b0e7b4e65aa55b30d4adcacd61b88547d9138402776309c90eb358ed28828700a2eeb68270b09a620b88411d22676a63b72c16 +MISC metadata.xml 312 BLAKE2B fdf01de30bc8afcb14e04b660bc640ebe9ac26c764dda429615f5648357a119eff9d04abaa67c7afb112a29b3d83e6734f39ed7431e5478428ef4fe5fbfb737f SHA512 5fff6a60300076895c0ada9117e863a6ae69ae0e03f53404b15154b42d9097d3773ca5ebf9c9435732190cb739f696fdc33fd6e45486ba20c5ea200d4472eab7 diff --git a/dev-java/xsdlib/metadata.xml b/dev-java/xsdlib/metadata.xml index 4221e170cbc0..a2eeb0a46ec6 100644 --- a/dev-java/xsdlib/metadata.xml +++ b/dev-java/xsdlib/metadata.xml @@ -5,4 +5,7 @@ <email>java@gentoo.org</email> <name>Java</name> </maintainer> + <upstream> + <remote-id type="github">xmlark/msv</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-java/xsdlib/xsdlib-2022.7.ebuild b/dev-java/xsdlib/xsdlib-2022.7.ebuild new file mode 100644 index 000000000000..66c89422937a --- /dev/null +++ b/dev-java/xsdlib/xsdlib-2022.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 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/xmlark/msv/archive/msv-2022.7.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild xsdlib-2022.7.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="net.java.dev.msv:xsdlib:2022.7" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XML Schema datatypes library" +HOMEPAGE="https://github.com/xmlark/msv/tree/main/xsdlib" +SRC_URI="https://github.com/xmlark/msv/archive/msv-${PV}.tar.gz" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +# Common dependencies +# POM: pom.xml +# relaxngDatatype:relaxngDatatype:20020414 -> >=dev-java/relaxng-datatype-20020414:0 +# xerces:xercesImpl:2.12.2 -> >=dev-java/xerces-2.12.2:2 + +CP_DEPEND=" + dev-java/relaxng-datatype:0 + dev-java/xerces:2 +" + +# Compile dependencies +# POM: pom.xml +# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 +# test? org.jdom:jdom2:2.0.6.1 -> >=dev-java/jdom-2.0.6.1:2 + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} + test? ( + dev-java/jdom:2 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +S="${WORKDIR}/msv-msv-${PV}/xsdlib" + +JAVA_MAIN_CLASS="com.sun.msv.datatype.xsd.CommandLineTester" +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,jdom-2" +JAVA_TEST_SRC_DIR="src/test/java" + +src_test() { + # Selection according to pom.xml#L156-L184 + pushd src/test/java || die + local JAVA_TEST_RUN_ONLY=$(find * \ + \( -wholename "**/*Test.java" \ + -o -wholename "**/*TestCase.java" \ + -o -wholename "**/*TestCases.java" \) \ + ! -wholename "**/*\$*" \ + ) + popd + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" + java-pkg-simple_src_test +} |