Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/xsd2jibx: xsd2jibx-0.2a_beta-r2.ebuild ChangeLog xsd2jibx-0.2a_beta.ebuild
Date: Mon, 01 Jun 2009 21:56:23
Message-Id: E1MBFUU-0000ij-5C@stork.gentoo.org
caster      09/06/01 21:56:22

  Modified:             ChangeLog
  Added:                xsd2jibx-0.2a_beta-r2.ebuild
  Removed:              xsd2jibx-0.2a_beta.ebuild
  Log:
  Revbump so that the commons-lang slot change works properly, not causing bugs such as #272040.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.6                  dev-java/xsd2jibx/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xsd2jibx/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xsd2jibx/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xsd2jibx/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	23 May 2009 00:01:17 -0000	1.5
+++ ChangeLog	1 Jun 2009 21:56:22 -0000	1.6
@@ -1,6 +1,13 @@
 # ChangeLog for dev-java/xsd2jibx
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/ChangeLog,v 1.5 2009/05/23 00:01:17 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/ChangeLog,v 1.6 2009/06/01 21:56:22 caster Exp $
+
+*xsd2jibx-0.2a_beta-r2 (01 Jun 2009)
+
+  01 Jun 2009; Vlastimil Babka <caster@g.o>
+  -xsd2jibx-0.2a_beta.ebuild, +xsd2jibx-0.2a_beta-r2.ebuild:
+  Revbump so that the commons-lang slot change works properly, not causing
+  bugs such as #272040.
 
   23 May 2009; Alistair Bush <ali_bush@g.o>
   xsd2jibx-0.2a_beta-r1.ebuild:



1.1                  dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r2.ebuild?rev=1.1&content-type=text/plain

Index: xsd2jibx-0.2a_beta-r2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r2.ebuild,v 1.1 2009/06/01 21:56:22 caster Exp $

EAPI="2"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2

MY_PV="beta2a"

DESCRIPTION="JiBX binding and code from schema generator"
HOMEPAGE="http://jibx.sourceforge.net/xsd2jibx/"
SRC_URI="mirror://sourceforge/jibx/${PN}-${MY_PV}.zip"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

COMMON_DEP="dev-java/commons-logging:0
	dev-java/xpp3:0
	dev-java/jaxme:0
	dev-java/jibx:0
	dev-java/commons-lang:2.1"
DEPEND=">=virtual/jdk-1.4
	app-arch/unzip
	${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.4
	${COMMON_DEP}"

S="${WORKDIR}/${PN}"

java_prepare() {
	cp "${FILESDIR}/build.xml" .
	# patch from freemind authors, freemind won't build without it
	# they sent upstream (that's how I found it) which said he's preparing
	# complete rewrite. It only adds non-abstract functionality.
	epatch "${FILESDIR}/${P}-freemind.patch"

	cd "${S}/lib"
	rm -v *.jar || die
	java-pkg_jar-from commons-logging,xpp3,jaxme,jibx,commons-lang-2.1
}

EANT_ANT_TASKS="jibx"
EANT_EXTRA_ARGS="-Djibxhome=/usr/share/jibx/"

src_install() {
	java-pkg_dojar lib/${PN}.jar

	dohtml -R docs/*
	use doc && java-pkg_dojavadoc api
	use source && java-pkg_dosrc src/main/org
}