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/msv | |
parent | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff) |
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'dev-java/msv')
-rw-r--r-- | dev-java/msv/Manifest | 4 | ||||
-rw-r--r-- | dev-java/msv/metadata.xml | 19 | ||||
-rw-r--r-- | dev-java/msv/msv-2022.7.ebuild | 70 |
3 files changed, 84 insertions, 9 deletions
diff --git a/dev-java/msv/Manifest b/dev-java/msv/Manifest index 714a90d27e66..0f29b19227ea 100644 --- a/dev-java/msv/Manifest +++ b/dev-java/msv/Manifest @@ -1,3 +1,5 @@ +DIST msv-2022.7.tar.gz 2594951 BLAKE2B fce006f4b845efcd930b7999ac00eaab06c404888eb73a6eeab6cfad616b4922271d2d682abc82f3be4c4f6a791aa14681f6e6bfebd2118ac3aa2bcba41fd1f8 SHA512 315342628f79c561883be0d966211dd81daae66a414dcc9bb5a87d86f97121d38b5835e9a6d1ac7c21ccff46040e53d3cabd32e9ea677c9ca4335a86c5259949 DIST msv-core-2013.6.1-sources.jar 1011944 BLAKE2B 474d8a45bc5f16ec76dbe853a835b66cd1d733973ffad0dd5e0a653d349f075e22a72d29d91da312a9a133218f4187ece15fd66b19dc34bc00cdea72b95a5929 SHA512 3985451ff52e50957fdc22ef598edcd7b02495b834a53a048018064d1a6063d4554a7cb5d7752c2d265b852d17c7a55787d9b1ec2b580988ad005fcbc9c6eb8a EBUILD msv-20130601.ebuild 1417 BLAKE2B 31e1f539d89c0c831d68bf983c7ea8fc7073969742dfba4c25275a3b18e9f879e0878f375daf18f663ff4ce030fa6efcca6d54be6e786aafaeb651d76e19711a SHA512 46a52e0e6769fd968f94143635282f7f5b758cae3ba6ccb38180f4bd954f4ad48c6cc3c27b013a76003d757ee942658dc60263edd64ef7c26fee98cfd275c676 -MISC metadata.xml 402 BLAKE2B 183580e666df7bb2193670fcd9124b4f0a5e145ee753ef358178d55300c0b98da38d3ca354639feafb266968e1cd0a2d7c3f298bbb2c38ebbbfcd2ed5034830c SHA512 b7572f0eec97ab9efd709c4dd93911e36f3adb07b473b539986ed1933cbf598b6ee99b62a41a3aebc53fca6b2454a1a5cb68e45d67ae38d83315c2cba4722946 +EBUILD msv-2022.7.ebuild 2118 BLAKE2B a17219c243e143f41d940c57f2a357357b28f29bdccdbd338db9e69bd45326d01a0b1663bd852d669f36428dc9678122d6810f24ccf530869467486733f10e5f SHA512 08372ec42aa705bb7d8289c4b2f9f19339fb2e0233492b551631ed8dd7a15a652b49271518d5615d6cca15b4820f28a597657654361dd00b9bd09b1f53ec443e +MISC metadata.xml 487 BLAKE2B e36790ebf85cccdda4aa092426060129c94c9b01032199e37811ea2b9debeb70013db2e6d34b132d9e9ef6ca14f5a03c3e1b66993ceba5620b68072787329aaa SHA512 8cef0d9e71f5e992dd4a33e020fbd4661d026d0230f7c9f99438c6f0fd6e431a20179842ba94527823264c166476d9cf64c9d7abb92b14316a65ee6a4efbfbfe diff --git a/dev-java/msv/metadata.xml b/dev-java/msv/metadata.xml index a12324e097b7..d52f73b93e44 100644 --- a/dev-java/msv/metadata.xml +++ b/dev-java/msv/metadata.xml @@ -1,12 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> -<longdescription> -The Sun Multi-Schema XML Validator (MSV) is a Java technology tool -to validate XML documents against several kinds of XML schemata. -</longdescription> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + The Sun Multi-Schema XML Validator (MSV) is a Java technology tool + to validate XML documents against several kinds of XML schemata. + </longdescription> + <upstream> + <remote-id type="github">xmlark/msv</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-java/msv/msv-2022.7.ebuild b/dev-java/msv/msv-2022.7.ebuild new file mode 100644 index 000000000000..300997bdee20 --- /dev/null +++ b/dev-java/msv/msv-2022.7.ebuild @@ -0,0 +1,70 @@ +# 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 msv-2022.7.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="net.java.dev.msv:msv-core:2022.7" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Multi-Schema Validator Core package" +HOMEPAGE="https://github.com/xmlark/msv/msv-core" +SRC_URI="https://github.com/xmlark/msv/archive/msv-${PV}.tar.gz" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: pom.xml +# isorelax:isorelax:20030108 -> !!!groupId-not-found!!! +# net.java.dev.msv:xsdlib:2022.7 -> !!!suitable-mavenVersion-not-found!!! +# relaxngDatatype:relaxngDatatype:20020414 -> >=dev-java/relaxng-datatype-20020414:0 +# xerces:xercesImpl:2.12.2 -> >=dev-java/xerces-2.12.2:2 +# xml-apis:xml-apis:1.4.01 -> >=dev-java/xml-commons-external-1.4.01:1.4 +# xml-resolver:xml-resolver:1.2 -> >=dev-java/xml-commons-resolver-1.2:0 + +CP_DEPEND=" + dev-java/iso-relax:0 + dev-java/relaxng-datatype:0 + dev-java/xerces:2 + dev-java/xml-commons-external:1.4 + dev-java/xml-commons-resolver:0 + dev-java/xsdlib:0 +" + +DEPEND=">=virtual/jdk-1.8:* + ${CP_DEPEND}" + +RDEPEND=">=virtual/jre-1.8:* + ${CP_DEPEND}" + +S="${WORKDIR}/msv-${P}/msv" + +JAVA_MAIN_CLASS="com.sun.msv.driver.textui.Driver" +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" + +src_test() { + # Selection according to pom.xml#L182-L210 + 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 +} |