1 |
commit: d49494b65d527291834c713c1406f4d98e7bc380 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 30 09:34:40 2021 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 09:35:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/java.git/commit/?id=d49494b6 |
7 |
|
8 |
dev-java/classworlds: treeclean |
9 |
|
10 |
Reason: failed sourcing ebuild: java-pkg-2: EAPI 0 not supported, (java-pkg-2.eclass, |
11 |
line 17: called die) |
12 |
|
13 |
Bug: https://bugs.gentoo.org/759889 |
14 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
15 |
|
16 |
dev-java/classworlds/Manifest | 1 - |
17 |
dev-java/classworlds/classworlds-1.1.ebuild | 47 ----------------------------- |
18 |
dev-java/classworlds/metadata.xml | 35 --------------------- |
19 |
3 files changed, 83 deletions(-) |
20 |
|
21 |
diff --git a/dev-java/classworlds/Manifest b/dev-java/classworlds/Manifest |
22 |
deleted file mode 100644 |
23 |
index 65b3c9a2..00000000 |
24 |
--- a/dev-java/classworlds/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST classworlds-1.1.tar.bz2 45189 SHA256 27cf4b8ce98bf3ddddafe28908a4172ebdfd0b127f2fc080649386514eeb0449 |
28 |
|
29 |
diff --git a/dev-java/classworlds/classworlds-1.1.ebuild b/dev-java/classworlds/classworlds-1.1.ebuild |
30 |
deleted file mode 100644 |
31 |
index f3ea19e7..00000000 |
32 |
--- a/dev-java/classworlds/classworlds-1.1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,47 +0,0 @@ |
35 |
-# Copyright 1999-2015 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
-# $Id$ |
38 |
- |
39 |
-JAVA_PKG_IUSE="doc source" |
40 |
- |
41 |
-inherit java-pkg-2 java-ant-2 |
42 |
- |
43 |
-DESCRIPTION="Advanced classloader framework" |
44 |
-HOMEPAGE="http://classworlds.codehaus.org/" |
45 |
-SRC_URI="http://dev.gentooexperimental.org/~kiorky/${P}.tar.bz2" |
46 |
-LICENSE="codehaus-classworlds" |
47 |
-SLOT="1.1" |
48 |
-KEYWORDS="~amd64 ~x86" |
49 |
-IUSE="" |
50 |
- |
51 |
-RDEPEND=">=virtual/jre-1.4 |
52 |
- >=dev-java/xerces-2.7" |
53 |
-DEPEND=">=virtual/jdk-1.4 |
54 |
- ${RDEPEND} |
55 |
- >=dev-java/ant-core-1.6" |
56 |
- |
57 |
-EANT_GENTOO_CLASSPATH="xerces-2" |
58 |
-EANT_BUILD_TARGET="jar" |
59 |
-EANT_DOC_TARGET="javadoc" |
60 |
- |
61 |
-src_unpack() { |
62 |
- unpack ${A} |
63 |
- find "${S}" -name *.jar -type f -exec rm -f '{}' \; |
64 |
- for build in $(find "${S}" -name build*xml);do |
65 |
- java-ant_rewrite-classpath "$build" |
66 |
- # get out of classpath errors at build/test time |
67 |
- sed -i "${build}" -re\ |
68 |
- 's/pathelement\s*path="\$\{testclassesdir\}"/pathelement path="\$\{gentoo.classpath\}:\$\{testclassesdir\}"/'\ |
69 |
- || die |
70 |
- # separate compile and test time |
71 |
- sed -i "${build}" -re\ |
72 |
- 's/compile,test/compile/'\ |
73 |
- || die |
74 |
- done |
75 |
-} |
76 |
- |
77 |
-src_install() { |
78 |
- java-pkg_newjar "target/${P}.jar" "${PN}.jar" |
79 |
- use doc && java-pkg_dojavadoc dist/docs/api |
80 |
- use source && java-pkg_dosrc "${S}/src/java/main/*" |
81 |
-} |
82 |
|
83 |
diff --git a/dev-java/classworlds/metadata.xml b/dev-java/classworlds/metadata.xml |
84 |
deleted file mode 100644 |
85 |
index ee9d52ba..00000000 |
86 |
--- a/dev-java/classworlds/metadata.xml |
87 |
+++ /dev/null |
88 |
@@ -1,35 +0,0 @@ |
89 |
-<?xml version="1.0" encoding="UTF-8"?> |
90 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
91 |
-<pkgmetadata> |
92 |
-<maintainer type="project"> |
93 |
- <email>java@g.o</email> |
94 |
- <name>Java</name> |
95 |
-</maintainer> |
96 |
-<longdescription> |
97 |
-classworlds is a framework for container developers who require complex |
98 |
-manipulation of Java's ClassLoaders. Java's native ClassLoader mechanims |
99 |
-and classes can cause much headache and confusion for certain types of |
100 |
-application developers. Projects which involve dynamic loading of |
101 |
-components or otherwise represent a 'container' can benefit from the |
102 |
-classloading control provided by classworlds. |
103 |
- |
104 |
-classworlds provides a richer set of semantics for class loading than |
105 |
-Java's normal mechanisms, while still being able to provide a |
106 |
-ClassLoader interface to integrate seamlessly with the Java environment. |
107 |
- |
108 |
-The classworlds model does away with the hierarchy normally associated |
109 |
-with ClassLoaders. Instead, there is a pool of ClassRealms which can |
110 |
-import arbitrary packages from other ClassRealms. Effectively, |
111 |
-classworlds turns the old-style hierarchy into a directed graph. |
112 |
- |
113 |
-In a application container environment, the container may have a realm |
114 |
-capable of loading on the container/component contract interfaces and |
115 |
-classes. Another realm is created for each component which imports the |
116 |
-contract classes from the container realm. |
117 |
- |
118 |
-This model allows for fine-grained control of which classloader loads |
119 |
-any particular class. This form of partial isolation can reduce the |
120 |
-myriad strange errors that are produced by loading classes from multiple |
121 |
-loaders. |
122 |
-</longdescription> |
123 |
-</pkgmetadata> |