public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alistair Bush (ali_bush)" <ali_bush@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/odfdom: metadata.xml ChangeLog odfdom-0.8.ebuild
Date: Sun, 30 May 2010 02:53:55 +0000 (UTC)	[thread overview]
Message-ID: <20100530025355.8E3072CF39@corvid.gentoo.org> (raw)

ali_bush    10/05/30 02:53:55

  Added:                metadata.xml ChangeLog odfdom-0.8.ebuild
  Log:
  New package odfdom.  which will be replacing odfdom-bin.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-java/odfdom/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/odfdom/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/odfdom/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>java</herd>
</pkgmetadata>




1.1                  dev-java/odfdom/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/odfdom/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/odfdom/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-java/odfdom
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/ChangeLog,v 1.1 2010/05/30 02:53:55 ali_bush Exp $

*odfdom-0.8 (30 May 2010)

  30 May 2010; Alistair Bush <ali_bush@gentoo.org> +odfdom-0.8.ebuild,
  +files/build.xml, +metadata.xml:
  Add package odfdom.




1.1                  dev-java/odfdom/odfdom-0.8.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/odfdom/odfdom-0.8.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/odfdom/odfdom-0.8.ebuild?rev=1.1&content-type=text/plain

Index: odfdom-0.8.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/odfdom-0.8.ebuild,v 1.1 2010/05/30 02:53:55 ali_bush Exp $

EAPI=3

JAVA_PKG_IUSE="doc source test"

inherit java-pkg-2 java-ant-2

DESCRIPTION="The ODFDOM reference implementation, written in Java."
HOMEPAGE="http://odftoolkit.org/projects/odfdom"
SRC_URI="http://odftoolkit.org/projects/odfdom/downloads/download/current-version%252F${P}-sources.zip -> ${P}-sources.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE=""

CDEPEND="dev-java/xerces:2
	dev-java/xml-commons-external:1.3"

RDEPEND=">=virtual/jre-1.5
	${CDEPEND}"
DEPEND=">=virtual/jdk-1.5
	${CDEPEND}
	test? ( dev-java/ant-junit4:0 dev-java/junit:4 )"

S="${WORKDIR}/${P}-sources"

src_prepare() {
	cp "${FILESDIR}/build.xml" build.xml || die

	mkdir lib || die
	java-pkg_jar-from --into lib xerces-2 xercesImpl.jar xercesImpl-2.9.1.jar
	java-pkg_jar-from --into lib xml-commons-external-1.3 xml-apis.jar \
		xml-apis-1.3.04.jar
}

EANT_BUILD_TARGET="package"
EANT_JAVADOC_TARGET="javadoc"
EANT_EXTRA_ARGS="-Dmaven.test.skip=true"

src_test() {
	#remove this test as it fails as we don't
	#bundle deps inside odtdom.jar
	find . -iname 'VersionTest.java' -delete

	java-pkg_jar-from --into lib junit-4 junit.jar junit-4.5.jar
	ANT_TASKS="ant-junit4" eant test
}

src_install() {
	java-pkg_dojar target/odfdom.jar

	dodoc README.txt LICENSE.txt || die
	use doc && java-pkg_dojavadoc target/site/apidocs
}






                 reply	other threads:[~2010-05-30  2:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100530025355.8E3072CF39@corvid.gentoo.org \
    --to=ali_bush@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox