diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-08-17 09:26:51 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-08-17 09:26:51 +0000 |
commit | 8d3d06723a99d6e27bf7e38d8a4891986925cb3a (patch) | |
tree | ef59f2e0ed71b9c2122372a54434ffb6874f7aa0 /dev-java | |
parent | Bump (diff) | |
download | gentoo-2-8d3d06723a99d6e27bf7e38d8a4891986925cb3a.tar.gz gentoo-2-8d3d06723a99d6e27bf7e38d8a4891986925cb3a.tar.bz2 gentoo-2-8d3d06723a99d6e27bf7e38d8a4891986925cb3a.zip |
Revision bump. Move 1.11 to SLOT="1.11" for dev-java/jline.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jansi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jansi/jansi-1.11-r1.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/jansi/ChangeLog b/dev-java/jansi/ChangeLog index 150a18dad9b1..b98100492fb7 100644 --- a/dev-java/jansi/ChangeLog +++ b/dev-java/jansi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jansi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/ChangeLog,v 1.5 2013/06/04 17:48:28 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/ChangeLog,v 1.6 2013/08/17 09:26:51 tomwij Exp $ + +*jansi-1.11-r1 (17 Aug 2013) + + 17 Aug 2013; Tom Wijsman <TomWij@gentoo.org> +jansi-1.11-r1.ebuild: + Revision bump. Move 1.11 to SLOT="1.11" for dev-java/jline. *jansi-1.11 (04 Jun 2013) diff --git a/dev-java/jansi/jansi-1.11-r1.ebuild b/dev-java/jansi/jansi-1.11-r1.ebuild new file mode 100644 index 000000000000..022510bdb4e6 --- /dev/null +++ b/dev-java/jansi/jansi-1.11-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jansi/jansi-1.11-r1.ebuild,v 1.1 2013/08/17 09:26:50 tomwij Exp $ + +EAPI="5" + +# TODO: Get tests (misses junit jar) and doc (missing classpath entries) working. +JAVA_PKG_IUSE="source test" +RESTRICT="test" + +inherit vcs-snapshot java-pkg-2 java-ant-2 + +DESCRIPTION="Jansi is a small java library that allows you to use ANSI escape sequences in your console output" +HOMEPAGE="http://jansi.fusesource.org/" +SRC_URI="https://github.com/fusesource/${PN}/tarball/${PN}-project-${PV} -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="1.11" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/jansi-native:0" + +DEPEND="${CDEPEND} + test? ( dev-java/junit:4 ) + >=virtual/jdk-1.5" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.5" + +S="${WORKDIR}/${P}/jansi" + +EANT_GENTOO_CLASSPATH="jansi-native" +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_SRC_DIR="src/main/java" + +java_prepare() { + cp "${FILESDIR}"/${P}-build.xml build.xml || die +} + +EANT_TEST_GENTOO_CLASSPATH="junit-4" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + + use source && java-pkg_dosrc src/main/java/org +} |