diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-25 10:31:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-25 10:31:10 +0000 |
commit | 2900e684ae4bdce1f20652587728095cd01a30a1 (patch) | |
tree | db7b5054b7d0de362a2960a0a7268ffc37b8e1f9 /dev-java | |
parent | ff8c6e4babf1a2911b8d61b6bb7e80290355cb70 (diff) |
gentoo auto-resync : 25:11:2023 - 10:31:10
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 58148 -> 58140 bytes | |||
-rw-r--r-- | dev-java/commons-lang/Manifest | 3 | ||||
-rw-r--r-- | dev-java/commons-lang/commons-lang-2.6-r3.ebuild | 43 | ||||
-rw-r--r-- | dev-java/htmlcleaner/Manifest | 2 | ||||
-rw-r--r-- | dev-java/htmlcleaner/htmlcleaner-2.29.ebuild | 40 | ||||
-rw-r--r-- | dev-java/snappy/Manifest | 4 | ||||
-rw-r--r-- | dev-java/snappy/files/1.1.7.8-remove-perl-usage.patch | 38 | ||||
-rw-r--r-- | dev-java/snappy/files/1.x-build.xml | 185 | ||||
-rw-r--r-- | dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 97 |
9 files changed, 42 insertions, 370 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 5ec0a20f8ecd..99217277f57d 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/commons-lang/Manifest b/dev-java/commons-lang/Manifest index 2026fbcfc6b7..1e86f1fa321c 100644 --- a/dev-java/commons-lang/Manifest +++ b/dev-java/commons-lang/Manifest @@ -1,7 +1,4 @@ -DIST commons-lang-2.6-src.tar.gz 564032 BLAKE2B 9d72b0426f2146eaa8498a6601edf80dbf45a16ef5ee14cf4ed87130e6d3732d5c713f25f44c10435baa1357f61a271acb88483915968aaf645d1ceaa318c601 SHA512 4a30ed153f93fe6616a28974721bdf005d064203ef8a3dd375d6c1176647c0cdbd29cfde2a580e2c8d26bfa4655be6be7025b8ccae94086dcd816676c5cf8e87 -DIST commons-lang-2.6-src.tar.gz.asc 203 BLAKE2B 6d7763cb5ac31cbd8e56bd5aeb6ca5fc7c3f3196bb0d8548f9e10e94987a5c39e09f84309de01dfb921f55ab693c9f64074e254fbb5a6a395848fdddf16a27ab SHA512 af7cca99519c7aaa58e0068093599b9a85d963dee30520cbf39bc90586042bccdccff0a9aa361418b5a89bfce75fdf81e11a5eee1e393e970c54e8b8dca51ea6 DIST commons-lang-3.13.0-sources.tar.gz 1133483 BLAKE2B bf2239b03129f3cc6104c8ff66ac9d0c2dc7367111e4a8c4d76b5e2773c56a17607e28b24f5d7283b2119c3421f1526dac4ef98ed16da9e8bf9d033fbb7a4b80 SHA512 6fca0ce86aea84458021360bac3f6775135a1a5c1826194921e2d4ead7c12f6ac560e7c3fc240112f862aaee24be8754c37dd867f45e9449cde4a388018d8691 DIST commons-lang-3.13.0-sources.tar.gz.asc 488 BLAKE2B ecfc26f598b4a683a14803f5eee42f9b9ebfc7c02dac5b9fdc72ef97839e80ac648489da4e136f94044852fb09eff05bc08021cf1678ea9c19065a5b69c1375f SHA512 4d9dca040d9f06791f7f67ad7313e5a2c6bc19a07a62ae4dbcd10712afbcc51e926258938a54f0507d8cd1486041b46b29ed070b488b55833c30cbb6786c4145 -EBUILD commons-lang-2.6-r3.ebuild 1183 BLAKE2B 9054ed1d9b76d06c791633630696d7affd61eed4ad1e806740a7e44b8a56ccd48c75731a7ed1a28043fb89c29703af1608957a54fdb74df45a1fdb69d43fd5d3 SHA512 3609fc9d540b60a3f5d550b4c12c23e7c78f60bbd16dd90a1412547decf5fbb35a16eaabdf1c737a6631e7357e798c50d8c292e0c315b017eb45d80e89f2b1c3 EBUILD commons-lang-3.13.0.ebuild 1059 BLAKE2B f6f49f1f21493561d6eb39b220d5602f7802c2b7acd923deeb38f61161b341885addfbf451ff7d64f9935cf4717ddcd6dcb8782475073e47ff21862bd11c2631 SHA512 c219cab7552dd75bae263cd5e7dde15aff431f6ca635c24a38aa92a80ab1e96c4644aac1c20032fb7367e71fbaf10d87c5feacf3f6f61ab63712fc74c17b7899 MISC metadata.xml 321 BLAKE2B f819853737f06392675eee2f97361ee693ab04e6f62c1c801c450d1da45a44ad598bc1837e366502bdccb68c94660c394bb74cd0a2bca07a6d86c9286e973e33 SHA512 a44dc189ce760a3d845652c3361d2eca847a2df71c64290ae71f830e28a5982a6da3145bb958c52bb75db9970182948c19b51a55888a2a888d3e56966cd788a1 diff --git a/dev-java/commons-lang/commons-lang-2.6-r3.ebuild b/dev-java/commons-lang/commons-lang-2.6-r3.ebuild deleted file mode 100644 index b9afce451cde..000000000000 --- a/dev-java/commons-lang/commons-lang-2.6-r3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="commons-lang:commons-lang:2.6" -JAVA_PKG_WANT_SOURCE="1.4" -JAVA_PKG_WANT_TARGET="1.4" - -inherit java-pkg-2 java-ant-2 verify-sig - -DESCRIPTION="Commons components to manipulate core java classes" -HOMEPAGE="https://commons.apache.org/proper/commons-lang/" -SRC_URI="mirror://apache/commons/lang/source/${P}-src.tar.gz - verify-sig? ( https://downloads.apache.org/commons/lang/source/${P}-src.tar.gz.asc )" - -LICENSE="Apache-2.0" -SLOT="2.1" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" - -DEPEND="virtual/jdk:1.8 - test? ( - dev-java/ant-junit:0 - )" - -RDEPEND="virtual/jre:1.8" - -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" - -S="${WORKDIR}/${P}-src" - -JAVA_ANT_ENCODING="ISO-8859-1" - -src_install() { - java-pkg_newjar "target/${P}.jar" "${PN}.jar" - dodoc RELEASE-NOTES.txt NOTICE.txt - docinto html - dodoc *.html - use doc && java-pkg_dojavadoc target/apidocs - use source && java-pkg_dosrc src/main/java/* -} diff --git a/dev-java/htmlcleaner/Manifest b/dev-java/htmlcleaner/Manifest index d53a7699ea59..c59c65ee88ad 100644 --- a/dev-java/htmlcleaner/Manifest +++ b/dev-java/htmlcleaner/Manifest @@ -1,4 +1,6 @@ AUX htmlcleaner-2.24-fix-tests.patch 1351 BLAKE2B 995c788b1e33d1997ee9e0f72f417d8d3c69e2f9b4e71ee666b62db40b0207c816af50a7af833974a22bebd6c4624723e5b3de9e13716043049737987b304499 SHA512 071f7f30a12e0d7a9f7e50b1412852efb030e6a076816606711935e2f79b9df0ce48a8197f1c0b4d294378de4af055f9cd829b28a6cf243524bfc9983a96dce0 DIST htmlcleaner-2.26-src.zip 414195 BLAKE2B c73533054bf7a8a66a767e53cbafecca1f174cb3be16e116ddd0e025e627603e225323e9095ea40b38a06c661ebe9f2a9e1f53736bf74fd8a2e41d909381c4fb SHA512 df1f9ccc696d538289a0addd19f8d955a3bcb0da88640208c513b2f4f0c4a3ee516b459aa3aae25d36d6ec09c4082b96484df287fb422add2eb160072668af5a +DIST htmlcleaner-src-2.29.zip 394326 BLAKE2B 6317e5dd51facd901e7a5bdc72322c58deb5d3a2e2d0a784e6cd71b938c7b46b7a612d0610a1e5f96ac6c55714942e00ffa68f2259416fe1e6be8cb5ad96c0b3 SHA512 87c3884f56c01d4f34be71b5a016a839f949f03ea429a3c10cc5518fe954b09aa42d05fdf821e7b0bf2115787cffff6ae72dbe13e3d7e08537c4ffbf51d6b34f EBUILD htmlcleaner-2.26.ebuild 1166 BLAKE2B 3a47cb454c26c29ba25b8e03d698f0e19cc381ec6609d30275aa9146416ba2dc5edd7cf77b64ffc7c2c3c07dd4ebaa229af07603ae0c6ec76236bbebdca24be5 SHA512 a473317d619edb39df2b19bb9cd653c0252d5de110855dd481630271777763c91cf67dd5aabe0a2869d1d0b8b50ca8b9976597b4af1f42321db18f34fef8fb48 +EBUILD htmlcleaner-2.29.ebuild 1044 BLAKE2B 3c15901f0bed5475b97fa9a264c2568c722d7e9cfb336feba9c844cb8c6d54110cfa62a3af1d57e9cff07ba9e28812035ac34fd948b84a42a18df82dd2c65200 SHA512 69471fccbfd4c23b513db7014dcf621017f20e267b4b9a519a96e11a7c3c1086e4f3c7a3e854ecc899c3fd1837ff5a2a238820d051869c82ddcc6742e45847cf MISC metadata.xml 957 BLAKE2B b3efa9952daa1c7027db845d6a7f8c079240c2128d8bb454490990722f2cf66c0f6ebfca4795bd0d166d45e6b4dc764c0ad6bdb53b95945043cf864b6e9d0f22 SHA512 b804e88d45556cddf4a6e2da621a8eb971935370b82c875a9e0dda0772bb23b94a874214d1727335b3ca358f5d10bd363723ba8629413f9169dbf28dd0ef588d diff --git a/dev-java/htmlcleaner/htmlcleaner-2.29.ebuild b/dev-java/htmlcleaner/htmlcleaner-2.29.ebuild new file mode 100644 index 000000000000..39354c4424da --- /dev/null +++ b/dev-java/htmlcleaner/htmlcleaner-2.29.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="net.sourceforge.htmlcleaner:htmlcleaner:2.29" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="HTML parser written in Java that can be used as a tool, library or Ant task" +HOMEPAGE="https://htmlcleaner.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/htmlcleaner/htmlcleaner/htmlcleaner%20v${PV}/htmlcleaner-src-${PV}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-arch/unzip" +CP_DEPEND="dev-java/jdom:2" +DEPEND="${CP_DEPEND} + dev-java/ant-core:0 + >=virtual/jdk-1.8:* + test? ( dev-java/junit:4 )" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_CLASSPATH_EXTRA="ant-core" +JAVA_MAIN_CLASS="org.htmlcleaner.CommandLine" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" + +src_install() { + java-pkg-simple_src_install + java-pkg_register-ant-task + + insinto "${JAVA_PKG_SHAREPATH}" + newins example.xml default.xml +} diff --git a/dev-java/snappy/Manifest b/dev-java/snappy/Manifest index 1ff6e302f205..ea562a4edbfb 100644 --- a/dev-java/snappy/Manifest +++ b/dev-java/snappy/Manifest @@ -1,15 +1,11 @@ AUX 1.1.7.8-gentoo.patch 832 BLAKE2B 0e3a5061c0b410b7609ac49ec3b610ca7934c664398488020a15033fabf3c1576ee9900359948e69e2e86c54a56709f98b68482a75dff156a77874ffaa966674 SHA512 2a75eebf1851bebda7d6204c43503b6464416adff12cf5de5e35825fd6a9c43495419e886343cf3566f6ae437295eff2098aea0f17314a5c138011a3abf6f9b9 AUX 1.1.7.8-java-version-target.patch 1875 BLAKE2B 6e2b66e642806acbf3de146fa853bb642764eb73ebb3489edd5208622f15fa9bc037bcb26447c4f45cfb362ce72910943b76dd8c1a6cf5f61fd4b05f6929a974 SHA512 5a60cc590dd10829487108c04c82a10b207fe95524f94163be967f557782537c0e19176a44782a1189f0e72e14dbd62a9c0f2f8415476d0fc133e040881a7d61 -AUX 1.1.7.8-remove-perl-usage.patch 1720 BLAKE2B f6e1462356bfa94e946fb2e8a4200bd62f17e56bd64cb115e7ee1826dce3d79286e0e192443d13e0bd16018e6450d08d772f0ddf06183d5a86bb419ccd710543 SHA512 0ed15f3bd969ce20b1ea9f3ccf73cdfecfe4568719840a2a244617fd12f9dc9ab511678782127c53456b64494c043adfa61b9fb4ca3d716b99f01b70098029d0 AUX 1.1.7.8-unbundle-bitshuffle.patch 1006 BLAKE2B 99b88fd2af02ff6d95d90ec2e302593c7ae00691156b283e11425677f904847d2809ce91d7094de8a5ec759595e721bf0f80d3deadd56f0f05e8d4ae1d4c4613 SHA512 dd4877f023095f7d41e6d22213d1916ae17ec8a88977354d5e1662fa3e555f89bc27def9537cd6ffd07a75794c25719379189b14a0db481df1c2e729525b12f0 AUX 1.1.7.8-unbundle-snappy.patch 1820 BLAKE2B ec2f5724675cef1a796678f5b12ccd4b49c2415fcfd98e2a3f9214bb63477bfd9bed93999c2f12b2f0e8b5aedb705299bf37e52a16833797a745bf4e1eeecdd9 SHA512 408c09f01cb65dcf17b7ecd5542cd622b6296ab6d433be79ff2a8d03dc4e8f8b9c48165d95afa0b865c8ab196c4470e93f5b07e9eeded1f492d1ef2d8d91fa82 -AUX 1.x-build.xml 8496 BLAKE2B 0ab98a4149d0d7b294efec29374c59af8599362fa40d04737d50d1106157d8e604e17ce06c9180c2d9ca2b612cb5d025a111fe620739f7109a0c384ae940d4dc SHA512 ed47379879bab5cbaa4111616c3cca526725e4fa3d8d42da72d19a21738cc42826e37756a181e6d541f27aa4abe7f2353be90c51f4d89d04413501e6ccdb4cb0 AUX snappy-1.1.10.1-commons-lang3.patch 507 BLAKE2B 17a9219e4e9fbcf8900dff8ce06762262d5d40ac07861d895ba29da8a2583ce37c011b04892382359a86c79ffff77ceac36d0f8fcca420fc20011d3411f9078a SHA512 2c08bbf6fe408778233a1194df72182a5cf4083b8647f9baea740b9fb403f31e001e1671913992624465d2e7d7197142ea47cc4891d64124fc54ac95a9d9accb AUX snappy-1.1.10.1-unbundle-snappy.patch 1928 BLAKE2B cc67a38e53dcd08d208b33796a003d7ca73f79a54a8d0a4411de9f15aae1e09e079bc55c9230964e990f8a27e4be3872e9d5092fe7abb5af760ce91641b753c1 SHA512 78cef705a76c379ec7cc59e4f4c6012bbba5f54b4a24172b7ab2ef0ccd7a8e22cf3e469938c9dca5933e066990c3e973893c0c93368fecd90486010f9b8ad69f AUX snappy-1.1.10.5-SnappyOutputStreamTest.patch 1215 BLAKE2B 34005766546b28012ffbd86927b37d9368eab212b3fc2252492f2c49f7b639519cdf5bd197fb7dce3769108bab1175414f0b9287cf4893d41ad784e9f27ae8c0 SHA512 3c65030686fcdd1177c6865894510081ba41631db9c3945c52aeef921ccf049fa65083225af9f022a1537814e8a50de2ad0740292b9d6d8e8ee900176ff69267 DIST hadoop-common-3.3.5.jar 4535144 BLAKE2B 66582661a1832cc54493fc9dcea9076eb0e3f4e974a7d24d593e8fff2b9e2a3a82ed6eb4587f23523473aecc35d2a15de2ad81b2617c1bdac50847149cdeb6a8 SHA512 f1fb439a5853b04e9e771ec4e80e1ed078494ecfaa741abe065936fc1c26b5369fdd4e8082f4da59c1a3a7a5c025beaa14a68c38dc772e81499f83a3cb91717b DIST snappy-1.1.10.5.tar.gz 3917442 BLAKE2B 0632fa7ba4d0a863801e88ced22098c3bc228c1f3e188c67cb9ff62807f9454b580b49fff15c7deee1e790db51f4664c50a6546259439eda18597097a5128329 SHA512 f84778f59635eb97c0072489766904a16208be4f41b28151b14eecd0fe84f3f04a44c18d452b9d79e752b22d5e5b9ab5b36064cc8aeec8de655d7635132093ea -DIST snappy-java-1.1.7.8.tar.gz 3558859 BLAKE2B 871f4190212399c5bd34a72766d7f3abca9a09608d9acddc126905bcdafc723613aa33d0cdb59419e6bfba46ff27e91f5ca5382073dd895d5601f6d84929ef96 SHA512 8129d4ae2abd78f967c07e7f13df8cb9043cc34bd8346be28625a3d2bea06674ce6dd09b521af2b7053b25d0132a0e822b78c06e09bacd0067ba8178bd167691 EBUILD snappy-1.1.10.5.ebuild 2915 BLAKE2B 789ae836022ac3430754a204ed4eba3559bf33f59cd8547b625180f1f24eb73ee1dfa87a324077be4af1d40e0234c3c6a667d7ee9b048ac5a78f9da5978e4bb0 SHA512 b9c0374c40592c2cda78fce8984a7e3b12f9d6f3b564206b7c939805806deb5d54a03db6f47d7159f2f28c491f205d72daacb5537ad1b96b4ab7744d7a66e2dc -EBUILD snappy-1.1.7.8-r1.ebuild 2561 BLAKE2B bb815a3e94b01fe45b89cfb33c2be3119c3fc8035441c04f8dae9ffd071e5dbe37f77ccd94f0b27441c21e4f417d08f713e4b5dba999166cb673c6302b419daa SHA512 ea704df0a8b07a4451cd459f35c774dc758a05c7e89d65ccbda4a620150b58898628bd12249957e86f62d9fa71df4d19ca0931de14dbc227d398ed8af0d44d45 MISC metadata.xml 320 BLAKE2B 5e3039edeec0b66e6b896158777909fdfed881f06def61b5e3424baeb51ea898cb3cb273e6ddc939b7efea88860a945b5f29da513be22ee6b601551a6e02170a SHA512 c2e9282ce950b419588d080145e85e63e6491500edce141678a4aaae65a43d945694ad992dd4d485c94748e26ac225e58177fcff11db3430035b837741ec45af diff --git a/dev-java/snappy/files/1.1.7.8-remove-perl-usage.patch b/dev-java/snappy/files/1.1.7.8-remove-perl-usage.patch deleted file mode 100644 index 0c64240f12a3..000000000000 --- a/dev-java/snappy/files/1.1.7.8-remove-perl-usage.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 1413a33ef00e722bacab2e17297b89bb55b2bd49 Mon Sep 17 00:00:00 2001 -From: Yuan Liao <liaoyuan@gmail.com> -Date: Tue, 21 Dec 2021 07:33:52 -0800 -Subject: [PATCH] Makefile: Eliminate usage of the `perl` command - -dev-lang/perl is not an implicit system dependency, so we cannot assume -its existence during build time. The Makefile uses the `perl` command -to generate the name of the JAR being built with it, but the ebuild uses -Ant and a custom build.xml to build the JAR, and it uses the Makefile to -build only the JNI part, thus the name of JAR in the Makefile will not -be used. For this reason, this package can still be built and installed -without dev-lang/perl. However, a QA notice for absent `perl` command -will appear in this case. Rather than declaring dev-lang/perl as a -dependency, it might be better to eliminate usage of the `perl` command -if it is never used in any meaningful way. - -Signed-off-by: Yuan Liao <liaoyuan@gmail.com> ---- - Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index a7bd87c..d1d3d32 100644 ---- a/Makefile -+++ b/Makefile -@@ -138,7 +138,8 @@ NATIVE_DIR:=src/main/resources/org/xerial/snappy/native/$(OS_NAME)/$(OS_ARCH) - NATIVE_TARGET_DIR:=$(TARGET)/classes/org/xerial/snappy/native/$(OS_NAME)/$(OS_ARCH) - NATIVE_DLL:=$(NATIVE_DIR)/$(LIBNAME) - --snappy-jar-version:=snappy-java-$(shell perl -npe "s/version in ThisBuild\s+:=\s+\"(.*)\"/\1/" version.sbt | sed -e "/^$$/d") -+#snappy-jar-version:=snappy-java-$(shell perl -npe "s/version in ThisBuild\s+:=\s+\"(.*)\"/\1/" version.sbt | sed -e "/^$$/d") -+snappy-jar-version:=snappy - - native: jni-header snappy-header $(NATIVE_DLL) - native-nocmake: jni-header $(NATIVE_DLL) --- -2.32.0 - diff --git a/dev-java/snappy/files/1.x-build.xml b/dev-java/snappy/files/1.x-build.xml deleted file mode 100644 index 21d93bfcc1c6..000000000000 --- a/dev-java/snappy/files/1.x-build.xml +++ /dev/null @@ -1,185 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<project name="snappy-java-from-maven" default="package" basedir="."> - - <property file="${user.home}/.m2/maven.properties" /> - <property file="maven-build.properties" /> - - <property name="maven.build.finalName" value="snappy" /> - <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/java" /> - <property name="maven.build.resourceDir.1" value="src/main/resources" /> - <property name="maven.build.resourceDir.2" 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/java" /> - <property name="maven.build.testResourceDir.1" value="src/test/resources" /> - <property name="maven.test.reports" value="${maven.build.dir}/test-reports" /> - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" /> - - <property name="maven.repo.local" value="${user.home}/.m2/repository" /> - <property name="maven.settings.offline" value="false" /> - <property name="maven.settings.interactiveMode" value="true" /> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"> - </path> - <path id="build.test.classpath"> - </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}" 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}"> - <include name="org/xerial/snappy/VERSION" /> - </fileset> - </copy> - <copy todir="${maven.build.outputDir}"> - <fileset dir="${maven.build.resourceDir.1}"> - <include name="org/xerial/snappy/*.bytecode" /> - <include name="org/xerial/snappy/native/**" /> - </fileset> - </copy> - <mkdir dir="${maven.build.outputDir}/META-INF/maven/org.xerial.snappy/snappy-java" /> - <copy todir="${maven.build.outputDir}/META-INF/maven/org.xerial.snappy/snappy-java"> - <fileset dir="${maven.build.resourceDir.2}"> - <include name="LICENSE*" /> - </fileset> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Test-compilation target --> - <!-- ====================================================================== --> - - <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip"> - <mkdir dir="${maven.build.testOutputDir}" /> - <javac destdir="${maven.build.testOutputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6"> - <src> - <pathelement location="${maven.build.testDir.0}" /> - </src> - <classpath> - <path refid="build.test.classpath" /> - <pathelement location="${maven.build.outputDir}" /> - </classpath> - </javac> - <copy todir="${maven.build.testOutputDir}"> - <fileset dir="${maven.build.testResourceDir.0}"> - <exclude name="**/*.java" /> - </fileset> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" depends="compile-tests, junit-missing" unless="junit.skipped" 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="**/*Abstract*Test.java" /> - </fileset> - </batchtest> - <batchtest todir="${maven.test.reports}" if="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/${test}.java" /> - <exclude name="**/*Abstract*Test.java" /> - </fileset> - </batchtest> - </junit> - </target> - - <target name="test-junit-present"> - <available classname="junit.framework.Test" property="junit.present" /> - </target> - - <target name="test-junit-status" depends="test-junit-present"> - <condition property="junit.missing"> - <and> - <isfalse value="${junit.present}" /> - <isfalse value="${maven.test.skip}" /> - </and> - </condition> - <condition property="junit.skipped"> - <or> - <isfalse value="${junit.present}" /> - <istrue value="${maven.test.skip}" /> - </or> - </condition> - </target> - - <target name="junit-missing" depends="test-junit-status" if="junit.missing"> - <echo>=================================== WARNING ===================================</echo> - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> - <echo>===============================================================================</echo> - </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="public" old="false" verbose="false" locale="en_US" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="UTF-8" linksource="false" breakiterator="false" /> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <target name="package" depends="compile,test" description="Package the application"> - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="true" basedir="${maven.build.outputDir}" excludes="**/package.html" /> - </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 --> - <!-- ====================================================================== --> - - <target name="test-offline"> - <condition property="maven.mode.offline"> - <equals arg1="${maven.settings.offline}" arg2="true" /> - </condition> - </target> - -</project> diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild deleted file mode 100644 index 37b8dcf972f5..000000000000 --- a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.xerial.snappy:snappy-java:1.1.7.8" - -inherit java-pkg-2 java-ant-2 toolchain-funcs - -MY_PN="${PN}-java" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Snappy compressor/decompressor for Java" -HOMEPAGE="https://github.com/xerial/snappy-java/" -SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="1.1" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be -# packaged. Some extra steps are required before running the tests: -# 1. Download hadoop-common 2.7.x from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common -# 2. Set EANT_GENTOO_CLASSPATH_EXTRA to the path to hadoop-common-2.7.*.jar -# 3. Set ALLOW_TEST="all" -RESTRICT="test" - -CDEPEND="dev-java/osgi-core:0 - app-arch/snappy - dev-libs/bitshuffle" - -DEPEND=">=virtual/jdk-1.8:* - ${CDEPEND} - test? ( - dev-java/ant-junit4:0 - dev-java/commons-io:1 - dev-java/commons-lang:2.1 - dev-java/plexus-classworlds:0 - dev-java/xerial-core:0 - )" - -RDEPEND=">=virtual/jre-1.8:* - ${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -JAVA_ANT_REWRITE_CLASSPATH="true" -JAVA_ANT_CLASSPATH_TAGS="javac javadoc" -EANT_GENTOO_CLASSPATH="osgi-core" -EANT_TEST_GENTOO_CLASSPATH=" - ${EANT_GENTOO_CLASSPATH} - commons-io-1 - commons-lang-2.1 - plexus-classworlds - xerial-core -" - -src_prepare() { - cp "${FILESDIR}/1.x-build.xml" build.xml || die - rm -r src/main/resources/org/xerial/snappy/native || die - eapply "${FILESDIR}/${PV}-java-version-target.patch" - eapply "${FILESDIR}/${PV}-remove-perl-usage.patch" - eapply "${FILESDIR}/${PV}-unbundle-snappy.patch" - eapply "${FILESDIR}/${PV}-unbundle-bitshuffle.patch" - eapply "${FILESDIR}/${PV}-gentoo.patch" - java-pkg-2_src_prepare -} - -src_compile() { - emake \ - CXX="$(tc-getCXX)" \ - JAVA_SOURCE="$(java-pkg_get-source)" \ - JAVA_TARGET="$(java-pkg_get-target)" - java-pkg-2_src_compile -} - -src_test() { - cp -r src/test/resources/org/xerial/snappy/* \ - src/test/java/org/xerial/snappy || die - java-pkg-2_src_test -} - -src_install() { - local jniext=.so - if [[ ${CHOST} == *-darwin* ]] ; then - jniext=.jnilib - # avoid install_name check failure - install_name_tool -id "@loader_path/libsnappyjava${jniext}" \ - "target/libsnappyjava${jniext}" - fi - java-pkg_doso "target/libsnappyjava${jniext}" - java-pkg_dojar "target/${PN}.jar" - - use source && java-pkg_dosrc src/main/java/* - use doc && java-pkg_dojavadoc target/site/apidocs -} |