summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-04-09 01:02:16 +0000
committerTim Harder <radhermit@gentoo.org>2013-04-09 01:02:16 +0000
commite9ea2961cd82785fbebab4d5ed4d5bb5d1633031 (patch)
treed8b9d9ebae25b60d6a66b9b7eae457523fdccd0f
parentRemove old, unused patches. (diff)
downloadgentoo-2-e9ea2961cd82785fbebab4d5ed4d5bb5d1633031.tar.gz
gentoo-2-e9ea2961cd82785fbebab4d5ed4d5bb5d1633031.tar.bz2
gentoo-2-e9ea2961cd82785fbebab4d5ed4d5bb5d1633031.zip
Version bump.
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
-rw-r--r--dev-java/commons-codec/ChangeLog9
-rw-r--r--dev-java/commons-codec/commons-codec-1.7.ebuild42
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-java/commons-codec/ChangeLog b/dev-java/commons-codec/ChangeLog
index 187a417533ac..cf0c521f0b9d 100644
--- a/dev-java/commons-codec/ChangeLog
+++ b/dev-java/commons-codec/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/commons-codec
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.44 2010/10/17 12:24:03 caster Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.45 2013/04/09 01:02:16 radhermit Exp $
+
+*commons-codec-1.7 (09 Apr 2013)
+
+ 09 Apr 2013; Tim Harder <radhermit@gentoo.org> +commons-codec-1.7.ebuild:
+ Version bump.
17 Oct 2010; Vlastimil Babka <caster@gentoo.org>
-files/1.3-tests-fix.patch, -commons-codec-1.3-r2.ebuild:
diff --git a/dev-java/commons-codec/commons-codec-1.7.ebuild b/dev-java/commons-codec/commons-codec-1.7.ebuild
new file mode 100644
index 000000000000..05cd790cb0c4
--- /dev/null
+++ b/dev-java/commons-codec/commons-codec-1.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/commons-codec-1.7.ebuild,v 1.1 2013/04/09 01:02:16 radhermit Exp $
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Implementations of common encoders and decoders in Java."
+HOMEPAGE="http://commons.apache.org/codec"
+SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="test"
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6
+ test? (
+ dev-java/ant-junit:0
+ dev-java/junit:4
+ )"
+
+S=${WORKDIR}/${P}-src
+
+JAVA_ANT_ENCODING="ISO-8859-1"
+EANT_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar dist/${P}*.jar
+
+ dodoc RELEASE-NOTES.txt
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/main/java/*
+}