diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-12-02 15:44:31 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-12-02 15:45:36 +0000 |
commit | d7a7a9028691cb4e68a4579b15f1cf18e0355c53 (patch) | |
tree | ac6bf52259494b84b626f49bc2e770e63188b5d9 /dev-java | |
parent | Version bump (diff) | |
download | gentoo-d7a7a9028691cb4e68a4579b15f1cf18e0355c53.tar.gz gentoo-d7a7a9028691cb4e68a4579b15f1cf18e0355c53.tar.bz2 gentoo-d7a7a9028691cb4e68a4579b15f1cf18e0355c53.zip |
dev-java/castor: Removal. Fixes bug 268619.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/castor/Manifest | 2 | ||||
-rw-r--r-- | dev-java/castor/castor-0.9.9.1-r7.ebuild | 72 | ||||
-rw-r--r-- | dev-java/castor/castor-1.1.1-r3.ebuild | 98 | ||||
-rw-r--r-- | dev-java/castor/files/0.9.5.3-jikes.patch | 28 | ||||
-rw-r--r-- | dev-java/castor/files/1.1.1-jdk-1.4.patch | 18 | ||||
-rw-r--r-- | dev-java/castor/metadata.xml | 11 |
6 files changed, 0 insertions, 229 deletions
diff --git a/dev-java/castor/Manifest b/dev-java/castor/Manifest deleted file mode 100644 index 14c25c47fe3d..000000000000 --- a/dev-java/castor/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST castor-0.9.9.1-src.tgz 6794995 SHA256 df569ab985714477956e68ed497ac1fa9fde5f95a8bc0264ee2d31125a970f81 SHA512 d3150af0fdccf4c477b401fe24c7b429d7573693f697f7e6e2e88a13573ca9aa43749c8ee0d381e5a4fd9cc729719f04cc6efadb3c20426a609fa8217bbc45da WHIRLPOOL 01aa718cc1d819103dbf2c6d52f2301e8144ee941ff7d4e3c5c9548898c7a1e7c3587982183851569c67032b612efdb79ac3068bd72546f5251b405b9df5a41a -DIST castor-1.1.1-src.tgz 9067936 SHA256 f39f96e7f42cbe429ea8050e2f600783cd04c3b07642486a8c1e23dcf2a1cfda SHA512 ec066a227e71c1884e168dea8f7a3bfbfd3275e4c7b83a07e9673b3f84dc52c734c337694bd725de1db5c7a803cc2dadbdd3d1f7507fadc93687d5c05e3a26d5 WHIRLPOOL 2d5312a5ae2ab6bb86b960d3f9c2cc6e6d9de823ed3b0ce6ffa03570ffcf931b59b67d4ef2e5ddf32f6ae1f791b2e0e7ca51935379a0b54f30959ad844768367 diff --git a/dev-java/castor/castor-0.9.9.1-r7.ebuild b/dev-java/castor/castor-0.9.9.1-r7.ebuild deleted file mode 100644 index f7fb899498a9..000000000000 --- a/dev-java/castor/castor-0.9.9.1-r7.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -JAVA_PKG_IUSE="doc examples source" -JAVA_PKG_WANT_BOOTCLASSPATH="1.5" - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Data binding framework for Java" -SRC_URI="http://dist.codehaus.org/${PN}/${PV}/${P}-src.tgz" -HOMEPAGE="http://www.castor.org" -LICENSE="Exolab" -KEYWORDS="amd64 x86" -SLOT="0.9" -IUSE="" - -COMMON_DEP=">=dev-java/commons-logging-1.0.4 - dev-java/jakarta-oro:2.0 - dev-java/jakarta-regexp:1.3 - dev-java/ldapsdk:4.1 - dev-java/xerces:1.3 - dev-java/cglib:3 - java-virtuals/transaction-api" -RDEPEND=">=virtual/jre-1.6 - ${COMMON_DEP}" -DEPEND=">=virtual/jdk-1.6 - ${COMMON_DEP}" - -java_prepare() { - # TODO this should be filed upstream - epatch "${FILESDIR}/0.9.5.3-jikes.patch" - - # Does not like Java 1.6's JDBC API - java-ant_rewrite-bootclasspath 1.5 src/build.xml - - cd "${S}/lib" - rm -v *.jar || die - #FIXME: uses these bundled classes - rm -v tests/*.jar || die - java-pkg_jar-from --build-only ant-core ant.jar - #Only used by examples and tests and we aren't building them - #java-pkg_jar-from adaptx-0.9 - java-pkg_jar-from commons-logging - java-pkg_jar-from cglib-2 - java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar oro.jar - java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar - java-pkg_jar-from xerces-1.3 - java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar - java-pkg_jar-from transaction-api - - # Remove special characters - cd ../ - - ebegin 'Removing special characters' - perl -i'' -npe 's/S.bastien/Sebastien/g;' src/main/org/exolab/castor/types/DateTimeBase.java - perl -i'' -npe 's/.actual value./actual value/g;' src/main/org/exolab/castor/xml/schema/reader/ImportUnmarshaller.java - eend $? -} - -EANT_BUILD_XML="src/build.xml" - -src_install() { - java-pkg_newjar dist/${P}.jar - java-pkg_newjar dist/${P}-xml.jar ${PN}-xml.jar - - use doc && java-pkg_dojavadoc build/doc/javadoc - use examples && java-pkg_doexamples src/examples - use source && java-pkg_dosrc src/main/org -} diff --git a/dev-java/castor/castor-1.1.1-r3.ebuild b/dev-java/castor/castor-1.1.1-r3.ebuild deleted file mode 100644 index e14091c63af4..000000000000 --- a/dev-java/castor/castor-1.1.1-r3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=5 - -JAVA_PKG_IUSE="doc examples source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Data binding framework for Java" -HOMEPAGE="http://www.castor.org" -SRC_URI="http://dist.codehaus.org/${PN}/${PV}/${P}-src.tgz" - -#SRC_URI="mirror://gentoo/${P}.tar.bz2" -# svn co https://svn.codehaus.org/castor/castor/tags/1.0.3/ castor-1.0.3 -# cd castor-1.0.3 -# mvn ant:ant -# do some magic to build.xml -# rm lib/* -# cd ../ -# tar cjvf castor-1.0.3.tar.bz2 --exclude=.svn castor-1.0.3 - -LICENSE="Exolab" -SLOT="1.0" -KEYWORDS="amd64 x86" -IUSE="" - -# tests and full documentation when support will be added -# dev-java/log4j -# ~dev-java/servletapi-2.4 -# dev-java/junit" - -CDEPEND="dev-java/cglib:3 - dev-java/commons-logging - =dev-java/jakarta-oro-2.0* - =dev-java/jakarta-regexp-1.3* - java-virtuals/transaction-api - =dev-java/ldapsdk-4.1* - dev-java/ant-core" - -DEPEND=">=virtual/jdk-1.6 - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -src_unpack() { - unpack ${A} - - java-ant_rewrite-classpath "${S}/anttask/build.xml" - - cd "${S}/lib" - rm -v *.jar tests/*.jar - java-pkg_jar-from cglib-3 cglib.jar - java-pkg_jar-from commons-logging \ - commons-logging-api.jar commons-logging-1.1.jar - java-pkg_jar-from jakarta-oro-2.0 - java-pkg_jar-from jakarta-regexp-1.3 - java-pkg_jar-from transaction-api - java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar - java-pkg_jar-from ant-core ant.jar - - # These are only used for tests or documentation - #java-pkg_jar-from junit - #java-pkg_jar-from adaptx-0.9 - #java-pkg_jar-from log4j - #java-pkg_jar-from servletapi-2.4 servlet-api.jar - use doc && mkdir "${S}/bin/lib" - java-pkg_filter-compiler jikes -} - -#src_prepare() { -# # http://jira.codehaus.org/browse/CASTOR-2008 -# epatch "${FILESDIR}/1.1.1-jdk-1.4.patch" -#} - -# clean target is borked -# http://jira.codehaus.org/browse/CASTOR-2009 -EANT_BUILD_XML="src/build.xml" -EANT_GENTOO_CLASSPATH="ant-core" - -# Needs for example mockejb which is not packaged yet -#src_test() { -# cd "${S}"/src/ -# eant tests -#} - -src_install() { - cd dist - for jar in *.jar; do - java-pkg_newjar ${jar} ${jar//-${PV}} - done - cd .. - dodoc src/etc/CHANGELOG || die - java-pkg_register-ant-task - use source && java-pkg_dosrc */main/java/org - use doc && java-pkg_dojavadoc build/doc/javadoc - use examples && java-pkg_doexamples src/examples -} diff --git a/dev-java/castor/files/0.9.5.3-jikes.patch b/dev-java/castor/files/0.9.5.3-jikes.patch deleted file mode 100644 index ed5ee06e152e..000000000000 --- a/dev-java/castor/files/0.9.5.3-jikes.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -uprN castor-0.9.5.3.orig/src/main/org/exolab/castor/xml/Namespaces.java castor-0.9.5.3/src/main/org/exolab/castor/xml/Namespaces.java ---- castor-0.9.5.3.orig/src/main/org/exolab/castor/xml/Namespaces.java 2005-03-27 21:30:49.181296264 +0200 -+++ castor-0.9.5.3/src/main/org/exolab/castor/xml/Namespaces.java 2005-03-27 21:32:44.977692536 +0200 -@@ -475,14 +475,14 @@ public final class Namespaces {
- public static final int URI = 0;
- public static final int PREFIX = 1;
-
-- private Namespace _namespace = null;
-+ private org.exolab.castor.xml.Namespaces.Namespace _namespace = null;
- private int _returnType = URI;
-
-- NamespaceEnumerator(Namespace namespace) {
-+ NamespaceEnumerator(org.exolab.castor.xml.Namespaces.Namespace namespace) {
- _namespace = namespace;
- }
-
-- NamespaceEnumerator(Namespace namespace, int returnType) {
-+ NamespaceEnumerator(org.exolab.castor.xml.Namespaces.Namespace namespace, int returnType) {
- _namespace = namespace;
- _returnType = returnType;
- }
-@@ -505,4 +505,4 @@ public final class Namespaces {
-
- } //-- class: NamespaceEnumerator
-
--} //-- class: Namespaces -\ No newline at end of file -+} //-- class: Namespaces
diff --git a/dev-java/castor/files/1.1.1-jdk-1.4.patch b/dev-java/castor/files/1.1.1-jdk-1.4.patch deleted file mode 100644 index b2da71002139..000000000000 --- a/dev-java/castor/files/1.1.1-jdk-1.4.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -ru castor-1.1.1.old/src/main/java/org/exolab/castor/mapping/loader/Types.java castor-1.1.1/src/main/java/org/exolab/castor/mapping/loader/Types.java ---- castor-1.1.1.old/src/main/java/org/exolab/castor/mapping/loader/Types.java 2007-06-09 16:54:52.000000000 +0300 -+++ castor-1.1.1/src/main/java/org/exolab/castor/mapping/loader/Types.java 2007-06-09 16:56:57.000000000 +0300 -@@ -500,11 +500,11 @@ - new TypeInfo( "boolean", java.lang.Boolean.TYPE,
- java.lang.Boolean.class, true, Boolean.FALSE ),
- new TypeInfo( "double", java.lang.Double.TYPE,
-- java.lang.Double.class, true, new Double( 0 ) ),
-+ java.lang.Double.class, true, new Double( 0.0 ) ),
- new TypeInfo( "float", java.lang.Float.TYPE,
-- java.lang.Float.class, true, new Float( 0 ) ),
-+ java.lang.Float.class, true, new Float( 0.0f ) ),
- new TypeInfo( "big-decimal", null,
-- java.math.BigDecimal.class, true, new BigDecimal( 0 ) ),
-+ java.math.BigDecimal.class, true, new BigDecimal( 0.0 ) ),
- new TypeInfo( "byte", java.lang.Byte.TYPE,
- java.lang.Byte.class, true, new Byte( (byte) 0 ) ),
- new TypeInfo( "date", null,
diff --git a/dev-java/castor/metadata.xml b/dev-java/castor/metadata.xml deleted file mode 100644 index d32e442fcf0c..000000000000 --- a/dev-java/castor/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <herd>java</herd> - <longdescription> -Castor is an Open Source data binding framework for Java[tm]. It's the shortest -path between Java objects, XML documents and relational tables. Castor provides -Java-to-XML binding, Java-to-SQL persistence, and more. - </longdescription> -</pkgmetadata> |