ChangeLog

# ChangeLog for dev-util/checkstyle
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.38 2008/03/10 21:59:21 ken69267 Exp $

10 Mar 2008; Kenneth Prugh checkstyle-4.4.ebuild:
amd64 stable, bug #212666

08 Mar 2008; Markus Meier checkstyle-4.4.ebuild:
x86 stable, bug #212666

08 Mar 2008; Krzysiek Pawlik checkstyle-4.4.ebuild:
Stable on ppc, see bug #212666.

*checkstyle-4.4 (29 Dec 2007)

29 Dec 2007; Petteri Räty +checkstyle-4.4.ebuild:
Version bump. Tests now work with 1.5.

19 Dec 2007; Petteri Räty -checkstyle-4.2.ebuild:
Remove old version.

25 Nov 2007; Brent Baude checkstyle-4.3.ebuild:
marking checkstyle-4.3 ppc for bug 200275

25 Nov 2007; Christian Faulhammer
checkstyle-4.3.ebuild:
stable x86, bug 200275

25 Nov 2007; Samuli Suominen checkstyle-4.3.ebuild:
amd64 stable wrt #200275

10 Jun 2007; Petteri Räty -checkstyle-3.5.ebuild:
Delete old version that uses generation 1.

10 Jun 2007; Wulf C. Krueger
checkstyle-4.2.ebuild:
Marked stable on amd64 as per bug 178938.

10 Jun 2007; Miroslav Šulc checkstyle-4.2.ebuild:
Fixed missing app-arch/zip in DEPEND

28 May 2007; nixnut checkstyle-4.2.ebuild:
Stable on ppc wrt bug 178938

19 May 2007; Christian Faulhammer
checkstyle-4.2.ebuild:
stable x86, bug 178938

17 May 2007; Petteri Räty
-checkstyle-3.4-r4.ebuild, -checkstyle-4.1.ebuild:
Removing old versions.

*checkstyle-4.3 (23 Apr 2007)

23 Apr 2007; Petteri Räty +checkstyle-4.3.ebuild:
Version bump. Test suite works only with virtual/jdk-1.6.

03 Feb 2007; Steve Dibb checkstyle-4.2.ebuild:
add ~amd64, bug 161618

29 Jan 2007; Krzysiek Pawlik checkstyle-4.2.ebuild:
Add ~ppc, see bug #161618.

*checkstyle-4.2 (12 Jan 2007)

12 Jan 2007; Petteri Räty +checkstyle-4.2.ebuild:
Version bump using generation 2. Added source use flag and src_test support.
Should fix bug #140831.

09 Jan 2007; Vlastimil Babka checkstyle-4.1.ebuild:
Convert einfo to elog.

05 Oct 2006; Gustavo Zacarias
checkstyle-3.4-r4.ebuild, checkstyle-3.5.ebuild, checkstyle-4.1.ebuild:
Dropping sparc keywords, see #96229

*checkstyle-4.1 (19 Dec 2005)

19 Dec 2005; Joshua Nichols +checkstyle-4.1.ebuild:
Version bump (bug #115986).

04 Oct 2005; Jochen Maes checkstyle-3.5.ebuild:
Fixing the ant-tasks depend

14 Aug 2005; Michael Hanselmann checkstyle-3.5.ebuild:
Stable on ppc.

13 Aug 2005; Luis Medinas checkstyle-3.5.ebuild:
Stable on AMD64.

*checkstyle-3.5 (29 Jun 2005)

29 Jun 2005; Thomas Matthijs +checkstyle-3.5.ebuild:
version bump + enable ant task, thanks too Christopher G. Stach II
in 93239

*checkstyle-3.4-r4 (14 May 2005)

14 May 2005; Jan Brinkmann
-checkstyle-3.3-r1.ebuild, -checkstyle-3.4-r3.ebuild,
+checkstyle-3.4-r4.ebuild:
updated commons-beanutils dependency to reflect new slotting. see #71952

02 Apr 2005; Jan Brinkmann checkstyle-3.3-r1.ebuild,
-checkstyle-3.3.ebuild:
cleanup, removed old revision with a dependency to regexp.

*checkstyle-3.4-r3 (27 Mar 2005)
*checkstyle-3.3-r1 (27 Mar 2005)

27 Mar 2005; Jan Brinkmann +checkstyle-3.3-r1.ebuild,
-checkstyle-3.4-r2.ebuild, +checkstyle-3.4-r3.ebuild:
moved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336

14 Jan 2005; Jan Brinkmann checkstyle-3.3.ebuild,
checkstyle-3.4-r2.ebuild:
both ebuilds now generate a bash script to make this package easy to use.
fixes bug #77767.

21 Oct 2004; Simon Stelling checkstyle-3.4-r2.ebuild:
added ~amd64

16 Oct 2004; Thomas Matthijs checkstyle-3.3.ebuild,
checkstyle-3.4-r2.ebuild:
use java-pkg_dohtml instead of dohtml to also install the package-list in
case of api docs: #50740

14 Oct 2004; David Holm checkstyle-3.4-r2.ebuild:
Added to ~ppc.

*checkstyle-3.4-r2 (17 Sep 2004)

17 Sep 2004; Thomas Matthijs -checkstyle-3.4-r1.ebuild,
+checkstyle-3.4-r2.ebuild, -checkstyle-3.4.ebuild:
named the jar ${PN}.jar to its usable with java-pkg_jar-from

*checkstyle-3.4-r1 (12 Sep 2004)

12 Sep 2004; Thomas Matthijs +checkstyle-3.4-r1.ebuild:
no longer uses packed jars, bug 63306

*checkstyle-3.4 (30 Aug 2004)

30 Aug 2004; Chris Aniszczyk checkstyle-3.3.ebuild,
+checkstyle-3.4.ebuild:
Version bump

31 Jul 2004; Thomas Matthijs checkstyle-3.3.ebuild:
fix depend

*checkstyle-3.3 (24 Feb 2004)

24 Feb 2004; Chris Aniszczyk checkstyle-3.3.ebuild,
metadata.xml:
Initial Import. Thanks to Andrew Sayman for the
initial ebuild. Bug #27982

Manifest

DIST checkstyle-src-4.3.tar.gz 2566968 RMD160 476ce17adbf869f17a287c232f9b5c6e9b056266 SHA1 1fdabe5cc3395059fbd26a8efd281b50916d608c SHA256 ba6b106b1ecbe3686687cb8e069d3935a37a58bb1b0e1dfa6af9bf052b093b97
DIST checkstyle-src-4.4.tar.gz 2567907 RMD160 5d565d158cd88ec884fed37e6fbec8deb5661c58 SHA1 a5c7f9e57021c09ae32c399ca22ab49f03224d75 SHA256 7081074124e2dde062b06cbb489a1338e04623b986094e9b63f31c50be2f9f38
EBUILD checkstyle-4.3.ebuild 2571 RMD160 414f02a965255d1c05786f79150357676f8e02ca SHA1 96a385dd14ee19dd12feb08ace91632848338579 SHA256 0d6fe983e0d31038dd7031c348a9fd54a62fd4a9c7e1223ebe14a408afa236de
EBUILD checkstyle-4.4.ebuild 2377 RMD160 50e58ffa27b357501fa696be232c9623d46a75db SHA1 c5ad1736d5b99e52124005a2265b32ea2d7768d4 SHA256 3b21c18a9f2c8ce4a5506d3187ef07f29a9faf900652b34c8b64141cc1615f6f
MISC ChangeLog 5380 RMD160 73cf9dbda3befa7a45996df551f191cb07a54818 SHA1 b0cadd0ec9c4565a52dd7c01a6b9ac5c7b3171c7 SHA256 b89e540e583aa4bf4cff1832b729228099c37e1295083f3e07a55585fb865cdf
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9

checkstyle-4.3.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-4.3.ebuild,v 1.4 2007/11/25 15:52:01 ranger Exp $

WANT_ANT_TASKS="ant-antlr ant-nodeps"
JAVA_PKG_IUSE="doc source test"

inherit java-pkg-2 java-ant-2

MY_P="${PN}-src-${PV}"
DESCRIPTION="A development tool to help programmers write Java code that adheres to a coding standard."
HOMEPAGE="http://checkstyle.sourceforge.net"
SRC_URI="mirror://sourceforge/checkstyle/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc x86"

COMMON_DEP="dev-java/antlr
=dev-java/commons-beanutils-1.7*
=dev-java/commons-cli-1*
dev-java/commons-logging
dev-java/commons-collections"

RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"

# Tests are a bit buggy and fail with 1.5 in one case
# Should be fixed in the next release
DEPEND="!test? ( >=virtual/jdk-1.4 )
test? ( =virtual/jdk-1.6* )
${COMMON_DEP}
test? (
dev-java/ant-junit
dev-java/ant-trax
dev-java/emma
)"

S="${WORKDIR}/${MY_P}"

# So that we can generate 1.4 bytecode for dist
# and 1.5 for tests
JAVA_PKG_BSFIX="off"

src_unpack() {
unpack ${A}
cd "${S}/lib"
rm -v *.jar || die
java-pkg_jar-from antlr
java-pkg_jar-from commons-beanutils-1.7
java-pkg_jar-from commons-cli-1
java-pkg_jar-from commons-logging
java-pkg_jar-from commons-collections
}

src_compile() {
eant compile.checkstyle $(use_doc)
jar cfm ${PN}.jar config/manifest.mf -C target/checkstyle . || die "jar failed"
}

src_test() {
# 1.6 on ppc. Remember to remove from package.use.mask when 1.6 is out
if use !ppc; then
cd "${S}/lib"
java-pkg_jar-from --build-only junit
java-pkg_jar-from --build-only emma
cd "${S}"
ANT_TASKS="emma ant-nodeps ant-junit ant-trax" eant run.tests
fi
}

src_install() {
java-pkg_dojar ${PN}.jar

dodoc README RIGHTS.antlr || die
use doc && java-pkg_dojavadoc target/docs/api
use source && java-pkg_dosrc src/${PN}/com

# Install check files
insinto /usr/share/checkstyle/checks
for file in *.xml; do
[[ "${file}" != build.xml ]] && doins ${file}
done

# Install extra files
insinto /usr/share/checkstyle/contrib
doins -r contrib/*

java-pkg_dolauncher ${PN} \
--main com.puppycrawl.tools.checkstyle.Main

java-pkg_dolauncher ${PN}-gui \
--main com.puppycrawl.tools.checkstyle.gui.Main

# Make the ant tasks available to ant
java-pkg_register-ant-task
}

pkg_postinst() {
elog "Checkstyle is located at /usr/bin/checkstyle"
elog "Check files are located in /usr/share/checkstyle/checks/"
}

checkstyle-4.4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-4.4.ebuild,v 1.4 2008/03/10 21:59:21 ken69267 Exp $

WANT_ANT_TASKS="ant-antlr ant-nodeps"
JAVA_PKG_IUSE="doc source test"

inherit java-pkg-2 java-ant-2

MY_P="${PN}-src-${PV}"
DESCRIPTION="A development tool to help programmers write Java code that adheres to a coding standard."
HOMEPAGE="http://checkstyle.sourceforge.net"
SRC_URI="mirror://sourceforge/checkstyle/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc x86"

COMMON_DEP="dev-java/antlr
=dev-java/commons-beanutils-1.7*
=dev-java/commons-cli-1*
dev-java/commons-logging
dev-java/commons-collections"

RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"

DEPEND="!test? ( >=virtual/jdk-1.4 )
test? ( >=virtual/jdk-1.5 )
${COMMON_DEP}
test? (
dev-java/ant-junit
dev-java/ant-trax
dev-java/emma
)"

S="${WORKDIR}/${MY_P}"

# So that we can generate 1.4 bytecode for dist
# and 1.5 for tests
JAVA_PKG_BSFIX="off"

src_unpack() {
unpack ${A}
cd "${S}/lib"
rm -v *.jar || die
java-pkg_jar-from antlr
java-pkg_jar-from commons-beanutils-1.7
java-pkg_jar-from commons-cli-1
java-pkg_jar-from commons-logging
java-pkg_jar-from commons-collections
}

src_compile() {
eant compile.checkstyle $(use_doc)
jar cfm ${PN}.jar config/manifest.mf -C target/checkstyle . || die "jar failed"
}

src_test() {
java-pkg_jar-from --build-only --into lib junit
java-pkg_jar-from --build-only --into lib emma
ANT_TASKS="emma ant-nodeps ant-junit ant-trax" eant run.tests
}

src_install() {
java-pkg_dojar ${PN}.jar

dodoc README RIGHTS.antlr || die
use doc && java-pkg_dojavadoc target/docs/api
use source && java-pkg_dosrc src/${PN}/com

# Install check files
insinto /usr/share/checkstyle/checks
for file in *.xml; do
[[ "${file}" != build.xml ]] && doins ${file}
done

# Install extra files
insinto /usr/share/checkstyle/contrib
doins -r contrib/*

java-pkg_dolauncher ${PN} \
--main com.puppycrawl.tools.checkstyle.Main

java-pkg_dolauncher ${PN}-gui \
--main com.puppycrawl.tools.checkstyle.gui.Main

# Make the ant tasks available to ant
java-pkg_register-ant-task
}

pkg_postinst() {
elog "Checkstyle is located at /usr/bin/checkstyle"
elog "Check files are located in /usr/share/checkstyle/checks/"
}

metadata.xml




java