Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/jmeter: ChangeLog jmeter-2.0.1-r3.ebuild
Date: Tue, 20 Nov 2007 05:21:38
Message-Id: E1IuLYA-0005iC-Er@stork.gentoo.org
ali_bush    07/11/20 05:21:30

  Modified:             ChangeLog
  Added:                jmeter-2.0.1-r3.ebuild
  Log:
  Bumping to support javamail virtual.
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.31                 app-benchmarks/jmeter/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/jmeter/ChangeLog?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/jmeter/ChangeLog?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/jmeter/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog	29 Aug 2007 13:58:36 -0000	1.30
+++ ChangeLog	20 Nov 2007 05:21:29 -0000	1.31
@@ -1,6 +1,11 @@
 # ChangeLog for app-benchmarks/jmeter
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.30 2007/08/29 13:58:36 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.31 2007/11/20 05:21:29 ali_bush Exp $
+
+*jmeter-2.0.1-r3 (20 Nov 2007)
+
+  20 Nov 2007; <alistair@g.o> +jmeter-2.0.1-r3.ebuild:
+  Bumping to support javamail virtual.
 
   29 Aug 2007; Petteri R├Ąty <betelgeuse@g.o> -jmeter-1.9.1.ebuild:
   Remove generation 1 ebuild.



1.1                  app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild?rev=1.1&content-type=text/plain

Index: jmeter-2.0.1-r3.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild,v 1.1 2007/11/20 05:21:29 ali_bush Exp $

inherit java-pkg-2 java-ant-2

DESCRIPTION="Load test and measure performance on HTTP/FTP services and databases."
HOMEPAGE="http://jakarta.apache.org/jmeter"
SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}_src.tgz"
COMMON_DEP="
	beanshell? ( dev-java/bsh )
	>=dev-java/bsf-2.3
	dev-java/junit
	java-virtuals/javamail"
DEPEND=">=virtual/jdk-1.4
	doc? ( >=dev-java/velocity-1.4 )
	dev-java/ant-nodeps
	${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.4
	${COMMON_DEP}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="beanshell doc"

S=${WORKDIR}/jakarta-${P}

src_unpack() {
	unpack ${A}
	cd "${S}/lib"
	# FIXME replace all bundled jars bug #63309
	# then rm -f *.jar
	use beanshell && java-pkg_jar-from bsh
	java-pkg_jar-from bsf-2.3
	java-pkg_jar-from junit
	java-pkg_jar-from --virtual javamail
	java-pkg_filter-compiler jikes
}

src_compile() {
	local tasks="ant-nodeps"
	use doc && tasks="${tasks} velocity"
	ANT_TASKS="${tasks}" eant package $(use_doc docs-all) || die "compile problem"
}

src_install() {
	DIROPTIONS="--mode=0775"
	dodir /opt/${PN}
	local dest="${D}/opt/${PN}/"
	cp -pPR bin/ lib/ printable_docs/ "${dest}"
	if use doc; then
		cp -pPR printable_docs "${dest}" || die "Failed to install docs"
	fi
	dodoc README || die
	use doc && dohtml -r docs/*
}



-- 
gentoo-commits@g.o mailing list