1 |
commit: 5e0dbe86b76d36985e89f483ab90056193c7532d |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Thu Jul 1 15:06:42 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 1 15:25:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0dbe86 |
7 |
|
8 |
dev-java/commons-validator: remove obsolete |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/21500 |
13 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
14 |
|
15 |
dev-java/commons-validator/Manifest | 1 - |
16 |
.../commons-validator-1.4.1.ebuild | 81 ---------------------- |
17 |
2 files changed, 82 deletions(-) |
18 |
|
19 |
diff --git a/dev-java/commons-validator/Manifest b/dev-java/commons-validator/Manifest |
20 |
index a0505adf2f9..73a6556c039 100644 |
21 |
--- a/dev-java/commons-validator/Manifest |
22 |
+++ b/dev-java/commons-validator/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
DIST commons-validator-1.4.0-src.tar.gz 222421 BLAKE2B 1a83d39be6b2cd8c20cc027cd49b813cd23f65772f17e2c8f1dc7357edd0abf80ce2f76c2c8fb5a5b4acc66eff740925b970cc21ba6a582ecab71f74be84f7bf SHA512 35005d5ada8a1070cdd02f78464886e16157a05f895e3abfe2dcd51fa4b443d9ee359bb54a40e13ed463b757a77a64669c89cd9b914051a4ab1c745be3526d98 |
25 |
-DIST commons-validator-1.4.1-src.tar.gz 244155 BLAKE2B 4d7d63f30bdc9196f73812fa584226f28d9514918c13f0279be74e868f2410e08b2bc2a71a4a54d2b2ba91d580438f3de6fa71afe8dd38838d234723921b6c27 SHA512 e64d16de2481c388c81a488dbe894c4d16a1abad12f841f6f77e2606013edbce75ec7a1371976b7e642adfc7cbc5038ff7271cb4d184fbeb32a635acf6bccb38 |
26 |
DIST commons-validator-1.7-src.tar.gz 289870 BLAKE2B 576c6ac00187b67618eee251a69e7166cd817bb6184f4cf138a226539fc100a1a4e32ebc4ef6cea567aff581d11c63a817a9dad4836142de4d9a3b313d59a31b SHA512 4007872fda856e9e154f325270748081920d21a716143389713706ca0e5a8ec3c88b9b978d75801a5926723764a81f1dbfd77a8fd4b361b16cd65e84cf47a868 |
27 |
|
28 |
diff --git a/dev-java/commons-validator/commons-validator-1.4.1.ebuild b/dev-java/commons-validator/commons-validator-1.4.1.ebuild |
29 |
deleted file mode 100644 |
30 |
index a7f4bcc21ed..00000000000 |
31 |
--- a/dev-java/commons-validator/commons-validator-1.4.1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,81 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI="5" |
38 |
- |
39 |
-JAVA_PKG_IUSE="examples source test" # doc |
40 |
- |
41 |
-inherit java-pkg-2 java-ant-2 |
42 |
- |
43 |
-MY_P=${P}-src |
44 |
- |
45 |
-DESCRIPTION="Commons component to validate user input, or data input" |
46 |
-HOMEPAGE="http://commons.apache.org/validator/" |
47 |
-SRC_URI="mirror://apache/commons/validator/source/${P}-src.tar.gz" |
48 |
- |
49 |
-LICENSE="Apache-2.0" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
52 |
- |
53 |
-RDEPEND=">=virtual/jre-1.6 |
54 |
- >=dev-java/commons-digester-1.6:0 |
55 |
- >=dev-java/commons-collections-3.1:0 |
56 |
- >=dev-java/commons-logging-1.0.4:0 |
57 |
- dev-java/commons-beanutils:1.7" |
58 |
- |
59 |
-DEPEND=">=virtual/jdk-1.6 |
60 |
- test? ( dev-java/junit:0 ) |
61 |
- ${RDEPEND}" |
62 |
- |
63 |
-S="${WORKDIR}/${MY_P}" |
64 |
- |
65 |
-java_prepare() { |
66 |
- epatch "${FILESDIR}"/validator-1.4.build.xml.patch |
67 |
- |
68 |
- JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath |
69 |
- |
70 |
- echo "commons-digester.jar=$(java-pkg_getjars commons-digester)" >> build.properties |
71 |
- echo "commons-beanutils.jar=$(java-pkg_getjars commons-beanutils-1.7)" >> build.properties |
72 |
- echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties |
73 |
- echo "commons-collections.jar=$(java-pkg_getjars commons-collections)" >> build.properties |
74 |
-} |
75 |
- |
76 |
-EANT_JAVA_REWRITE_CLASSPATH="true" |
77 |
-EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections" |
78 |
-EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},commons-digester,commons-logging,junit" |
79 |
- |
80 |
-EANT_BUILD_TARGET="compile" |
81 |
-EANT_EXTRA_ARGS="-Dskip.download=true" |
82 |
- |
83 |
-src_compile() { |
84 |
- java-pkg-2_src_compile |
85 |
- jar -cf ${PN}.jar -C target/classes/ . || die "Could not create jar." |
86 |
- |
87 |
- if use test ; then |
88 |
- eant compile.tests ${EANT_EXTRA_ARGS} -Dgentoo.classpath="$(java-pkg_getjars --build-only --with-dependencies ${EANT_TEST_GENTOO_CLASSPATH})" |
89 |
- jar -cf ${PN}-test.jar -C target/tests/ . || die "Could not create test jar." |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-# Missing test suite org.apache.commons.validator.ValidatorTestSuite; |
94 |
-# therefore, tests can't be run. |
95 |
- |
96 |
-# See https://issues.apache.org/jira/browse/VALIDATOR-323 for a bug report about this. |
97 |
-RESTRICT="test" |
98 |
- |
99 |
-src_test() { |
100 |
- echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties |
101 |
- eant test ${EANT_EXTRA_ARGS} -Dgentoo.classpath="$(java-pkg_getjars --build-only --with-dependencies ${EANT_TEST_GENTOO_CLASSPATH}):${PN}.jar:${PN}-test.jar" |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- java-pkg_dojar ${PN}.jar |
106 |
- |
107 |
- dodoc NOTICE.txt RELEASE-NOTES.txt |
108 |
- |
109 |
- # Docs are no longer generated, as they have commented them out; |
110 |
- # probably on purpose, since this is the start of a new branch. |
111 |
- # use doc && java-pkg_dojavadoc dist/docs/apidocs |
112 |
- use examples && java-pkg_doexamples src/example |
113 |
- use source && java-pkg_dosrc src/main/java/* |
114 |
-} |