Ebuild
June 22, 2010, 18:51
StatSVN generates HTML reports from SVN repository logs.
| alpha | amd64 | arm | hppa | ia64 | m68k | mips | ppc | ppc64 | s390 | sh | sparc | x86 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.5.0 | – | + | – | – | – | – | – | – | – | – | – | – | + |
PAKET TANIMI:
StatSVN generates HTML reports from SVN repository logs.
Kategori:
DEĞIŞIKLIKLER
# ChangeLog for dev-vcs/statsvn # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/statsvn/ChangeLog,v 1.3 2010/06/22 18:51:00 arfrever Exp $ 22 Jun 2010; Arfrever Frehtes Taifersar Arahesis (arfrever) statsvn-0.4.1.ebuild, statsvn-0.5.0.ebuild: dev-util/subversion renamed to dev-vcs/subversion. 18 Jun 2010; Pacho Ramos (pacho) statsvn-0.5.0.ebuild: amd64 stable, bug 275182 05 Mar 2010; Serkan Kaba (serkan) +statsvn-0.4.1.ebuild, +files/statsvn-0.4.1-build.xml.patch, +files/statsvn-0.4.1-fixstatcvsusage.patch, +statsvn-0.5.0.ebuild, +metadata.xml: Move to dev-vcs. 11 Feb 2010; Christian Faulhammer (fauli) statsvn-0.5.0.ebuild: stable x86, bug 275182 11 Feb 2010; Christian Faulhammer (fauli) statsvn-0.5.0.ebuild: depend on backport-util-concurrent 3.1 for bug 295421 *statsvn-0.5.0 (23 May 2009) 23 May 2009; Serkan Kaba (serkan) +statsvn-0.5.0.ebuild: Version bump. 05 Jan 2009; Markus Meier (maekke) statsvn-0.4.1.ebuild: amd64/x86 stable, bug #253359 *statsvn-0.4.1 (03 Oct 2008) 03 Oct 2008; Serkan Kaba (serkan) +files/statsvn-0.4.1-build.xml.patch, +files/statsvn-0.4.1-fixstatcvsusage.patch, +metadata.xml, +statsvn-0.4.1.ebuild: Initial version. Fixes bug #156048.
HATALAR
Hata kaydı yok
USE BAYRAKLARI
| doc | Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally |
| elibc_FreeBSD | ELIBC setting for systems that use the FreeBSD C library |
| source | Zip the sources and install them |
| test | Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore |
DERLEME BAĞIMLILIKLARI
| app-arch/unzip | unzipper for pkzip-compressed files |
| app-arch/zip | Info ZIP (encryption support) |
| dev-java/ant-core | Java-based build tool similar to 'make' that uses XML configuration files. |
| dev-java/backport-util-concurrent | A portability wrapper for java.util.concurrent API (jsr166) 6.0 |
| dev-java/java-config | Java environment configuration tool |
| dev-java/javatoolkit | Collection of Gentoo-specific tools for Java |
| dev-java/jcommon | JCommon is a collection of useful classes used by JFreeChart, JFreeReport and other projects. |
| dev-java/jfreechart | JFreeChart is a free Java class library for generating charts |
| dev-java/junit | Simple framework to write repeatable tests |
| dev-lang/python | Python is an interpreted, interactive, object-oriented programming language. |
| dev-vcs/statcvs | StatCVS generates HTML reports from CVS repository logs. |
| virtual/jdk | Virtual for JDK |
ÇALIŞTIRMA BAĞIMLILIKLARI
| app-arch/zip | Info ZIP (encryption support) |
| dev-java/backport-util-concurrent | A portability wrapper for java.util.concurrent API (jsr166) 6.0 |
| dev-java/java-config | Java environment configuration tool |
| dev-java/jcommon | JCommon is a collection of useful classes used by JFreeChart, JFreeReport and other projects. |
| dev-java/jfreechart | JFreeChart is a free Java class library for generating charts |
| dev-java/xerces | The next generation of high performance, fully compliant XML parsers in the Apache Xerces family |
| dev-vcs/statcvs | StatCVS generates HTML reports from CVS repository logs. |
| dev-vcs/subversion | Advanced version control system |
| virtual/jre | Virtual for JRE |
KAYNAK KODU
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statsvn/statsvn-0.5.0.ebuild,v 1.3
2010/06/22 18:51:00 arfrever 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-vcs/statcvs-0.5:0
>=dev-java/backport-util-concurrent-3.1: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-vcs/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"
}