diff options
author | Serkan Kaba <serkan@gentoo.org> | 2009-05-23 06:37:24 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2009-05-23 06:37:24 +0000 |
commit | 39cc2af48adabebb928e7b93b4629ae0aa8c0449 (patch) | |
tree | ea8e5cadede3c41e587de19ee194d6cea7591e9e | |
parent | make PATCHES a bash array (diff) | |
download | gentoo-2-39cc2af48adabebb928e7b93b4629ae0aa8c0449.tar.gz gentoo-2-39cc2af48adabebb928e7b93b4629ae0aa8c0449.tar.bz2 gentoo-2-39cc2af48adabebb928e7b93b4629ae0aa8c0449.zip |
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r-- | dev-util/statsvn/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/statsvn/statsvn-0.5.0.ebuild | 73 |
2 files changed, 79 insertions, 1 deletions
diff --git a/dev-util/statsvn/ChangeLog b/dev-util/statsvn/ChangeLog index 71356f4ba143..f4f34fc27f8f 100644 --- a/dev-util/statsvn/ChangeLog +++ b/dev-util/statsvn/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/statsvn # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/statsvn/ChangeLog,v 1.2 2009/01/05 22:57:28 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/statsvn/ChangeLog,v 1.3 2009/05/23 06:37:24 serkan Exp $ + +*statsvn-0.5.0 (23 May 2009) + + 23 May 2009; Serkan Kaba <serkan@gentoo.org> +statsvn-0.5.0.ebuild: + Version bump. 05 Jan 2009; Markus Meier <maekke@gentoo.org> statsvn-0.4.1.ebuild: amd64/x86 stable, bug #253359 diff --git a/dev-util/statsvn/statsvn-0.5.0.ebuild b/dev-util/statsvn/statsvn-0.5.0.ebuild new file mode 100644 index 000000000000..5a32ef07b8f9 --- /dev/null +++ b/dev-util/statsvn/statsvn-0.5.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/statsvn/statsvn-0.5.0.ebuild,v 1.1 2009/05/23 06:37:24 serkan Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="StatSVN generates HTML reports from SVN repository logs." +HOMEPAGE="http://www.statsvn.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND=" + >=dev-util/statcvs-0.5:0 + >=dev-java/backport-util-concurrent-3.0:0 + dev-java/jcommon:1.0 + dev-java/jfreechart:1.0" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/junit:0 ) + ${COMMON_DEPEND}" + +RDEPEND=">=virtual/jre-1.4 + >=dev-util/subversion-1.3.0 + dev-java/xerces:2 + ${COMMON_DEPEND}" + +EANT_GENTOO_CLASSPATH="statcvs,backport-util-concurrent,jcommon-1.0,jfreechart-1.0" +EANT_BUILD_TARGET="dist" +JAVA_ANT_CLASSPATH_TAGS="javac java javadoc" +JAVA_ANT_REWRITE_CLASSPATH="true" + +java_prepare() { + ebegin "Removing bundled jars." + find . -name "*.jar" -delete + eend + ebegin "Removing prebuilt classses." + find . -name "*.class" -delete + rm -r "${S}"/bin/* + eend + epatch "${FILESDIR}"/${PN}-0.4.1-build.xml.patch +} + +src_test() { + ewarn "Note that the tests require you to be online." + eant -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(java-pkg_getjars --build-only junit) test +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + # jfreechart pulls in gnu-jaxp which doesn't work for statsvn so we need + # to force another SAXParserFactory and DocumentBuilderFactory + java-pkg_register-dependency xerces-2 + java-pkg_dolauncher statsvn --main net.sf.statsvn.Main \ + --java_args '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl' + + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc src/* +} + +pkg_postinst() { + elog "For instractions on how to use StatSVN see" + elog "http://svn.statsvn.org/statsvnwiki/index.php/Main_Page" + elog "You need to regenerate statistics" + elog "if you update dev-java/jtreemap" +} |