summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-06-26 23:04:38 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-06-26 23:04:38 +0000
commitcd513353b0618fbbe45586c7d2bceb6a49ed8e5f (patch)
tree164037d0cb54c2786786083db2e3f27155ff61ec /dev-java/xmlgraphics-commons
parentpinentry is pure runtime dep (bug #547456, thanks to Brian Evans). (diff)
downloadgentoo-2-cd513353b0618fbbe45586c7d2bceb6a49ed8e5f.tar.gz
gentoo-2-cd513353b0618fbbe45586c7d2bceb6a49ed8e5f.tar.bz2
gentoo-2-cd513353b0618fbbe45586c7d2bceb6a49ed8e5f.zip
Version bump. EAPI 5 bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/xmlgraphics-commons')
-rw-r--r--dev-java/xmlgraphics-commons/ChangeLog8
-rw-r--r--dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild64
2 files changed, 71 insertions, 1 deletions
diff --git a/dev-java/xmlgraphics-commons/ChangeLog b/dev-java/xmlgraphics-commons/ChangeLog
index 47ce5bbcfafc..6e93e3b7ea3e 100644
--- a/dev-java/xmlgraphics-commons/ChangeLog
+++ b/dev-java/xmlgraphics-commons/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/xmlgraphics-commons
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.30 2015/06/22 08:24:01 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.31 2015/06/26 23:04:38 monsieurp Exp $
+
+*xmlgraphics-commons-2.0.1 (27 Jun 2015)
+
+ 27 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
+ +xmlgraphics-commons-2.0.1.ebuild:
+ Version bump. EAPI 5 bump.
22 Jun 2015; Agostino Sarubbo <ago@gentoo.org> xmlgraphics-commons-1.5.ebuild:
Stable for ppc64, wrt bug #543858
diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild
new file mode 100644
index 000000000000..79779c47651d
--- /dev/null
+++ b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.0.1.ebuild,v 1.1 2015/06/26 23:04:38 monsieurp Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP"
+HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html"
+SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-java/commons-io:1
+ >=dev-java/commons-logging-1:0"
+
+DEPEND=">=virtual/jdk-1.6
+ test? (
+ dev-java/mockito:0
+ dev-java/ant-junit:0
+ dev-java/xml-commons-resolver:0
+ )
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+java_prepare() {
+ find "${S}" -name '*.jar' -print -delete || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_BUILD_TARGET="jar-main"
+EANT_DOC_TARGET="javadocs"
+
+EANT_GENTOO_CLASSPATH="
+ commons-io-1
+ commons-logging
+"
+
+EANT_TEST_GENTOO_CLASSPATH="
+ ${EANT_GENTOO_CLASSPATH}
+ xml-commons-resolver
+ mockito
+"
+
+EANT_TEST_TARGET="junit-basic"
+
+src_test() {
+ EANT_ANT_TASKS="ant-junit" \
+ java-pkg-2_src_test
+}
+
+src_install(){
+ java-pkg_newjar build/${P}.jar
+
+ use source && java-pkg_dosrc src/java/org
+ use doc && java-pkg_dojavadoc build/javadocs
+}