summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-09-28 16:54:18 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-09-28 20:05:41 +0000
commit57f04894962938805370dd76ba0950faf053424e (patch)
tree27e0673b837e1f141133095bc9cb8c6504a43a68
parentdev-python/jibx: EAPI 5 bump. Removes java-virtual/stax-api dependency and fi... (diff)
downloadgentoo-57f04894962938805370dd76ba0950faf053424e.tar.gz
gentoo-57f04894962938805370dd76ba0950faf053424e.tar.bz2
gentoo-57f04894962938805370dd76ba0950faf053424e.zip
dev-python/jibx-tools: Removes java-virtual/stax-api dependency and fixes bug 561504.
Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild b/dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild
new file mode 100644
index 00000000000..65b988daf6a
--- /dev/null
+++ b/dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
+HOMEPAGE="http://jibx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+CDEPEND="dev-java/bcel:0
+ dev-java/jibx:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+S="${WORKDIR}/jibx"
+
+java_prepare() {
+ # http://jira.codehaus.org/browse/JIBX-207
+ epatch "${FILESDIR}/1.1.5-build.patch"
+
+ java-ant_rewrite-classpath "${S}/build/build.xml"
+
+ rm -v "${S}"/lib/*.jar || die
+}
+
+EANT_FILTER_COMPILER="ecj-3.3"
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="jar-tools"
+EANT_GENTOO_CLASSPATH="bcel,jibx"
+
+src_install() {
+ java-pkg_register-dependency jibx
+
+ java-pkg_dojar "${S}/lib"/jibx-*.jar
+ use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
+}