diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2011-11-09 19:23:15 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2011-11-09 19:23:15 +0000 |
commit | 626a52e1d34b94cb36722cefa94427344dc0df30 (patch) | |
tree | ef13736b520c0423b7ce58d75426233f8aa26f8a /dev-util/checkstyle | |
parent | Drop most dependencies now that toolchain.eclass takes care of them. Also dr... (diff) | |
download | historical-626a52e1d34b94cb36722cefa94427344dc0df30.tar.gz historical-626a52e1d34b94cb36722cefa94427344dc0df30.tar.bz2 historical-626a52e1d34b94cb36722cefa94427344dc0df30.zip |
Version bump, bug 388485
Package-Manager: portage-2.1.10.32/cvs/Linux x86_64
Diffstat (limited to 'dev-util/checkstyle')
-rw-r--r-- | dev-util/checkstyle/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/checkstyle/Manifest | 15 | ||||
-rw-r--r-- | dev-util/checkstyle/checkstyle-5.4.ebuild | 82 |
3 files changed, 93 insertions, 13 deletions
diff --git a/dev-util/checkstyle/ChangeLog b/dev-util/checkstyle/ChangeLog index 1d53a2c808f4..6e488c945363 100644 --- a/dev-util/checkstyle/ChangeLog +++ b/dev-util/checkstyle/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/checkstyle -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.41 2010/02/21 01:13:24 abcd Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.42 2011/11/09 19:23:15 sera Exp $ + +*checkstyle-5.4 (09 Nov 2011) + + 09 Nov 2011; Ralph Sennhauser <sera@gentoo.org> +checkstyle-5.4.ebuild: + Version bump, bug 388485 21 Feb 2010; Jonathan Callen <abcd@gentoo.org> checkstyle-4.4.ebuild: Transfer prefix keywords (no other changes) diff --git a/dev-util/checkstyle/Manifest b/dev-util/checkstyle/Manifest index 528e7810d07e..6c749335268d 100644 --- a/dev-util/checkstyle/Manifest +++ b/dev-util/checkstyle/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +DIST checkstyle-5.4-maven-build.xml.tar.bz2 3236 RMD160 77621d56a6c362a30241a772534e3d3d5622b272 SHA1 6ef7afea28e28bb735e1bb741570eb43cfd44f1e SHA256 4b286857c265b765fcf71deb8684cdd1bb7d1264fd0ee45a924d91031652d590 +DIST checkstyle-5.4-src.tar.gz 731222 RMD160 cbb60869f13060a628374a57e3a829d028c1df31 SHA1 50274b97caa6d506c0804b8dcb883cc4313f0ed1 SHA256 2c8b04a914a7835eaa355c058f7a4c52af308f8190d07fb3cbf9943cf751b8a8 DIST checkstyle-src-4.4.tar.gz 2567907 RMD160 5d565d158cd88ec884fed37e6fbec8deb5661c58 SHA1 a5c7f9e57021c09ae32c399ca22ab49f03224d75 SHA256 7081074124e2dde062b06cbb489a1338e04623b986094e9b63f31c50be2f9f38 EBUILD checkstyle-4.4.ebuild 2432 RMD160 c200185327bfe23a73dccd6d9dbed24686a8f0e9 SHA1 cbd9260152bcd65ecd8e004c4dba92481a5e0ff0 SHA256 03412020d5cdd5d59d3aa1784531cb9c4157b9dd9e89f7092ccd5019b377ed33 -MISC ChangeLog 5739 RMD160 4f0c267b39db05be3d775f9be174f74c244f0c14 SHA1 9f2a90109b43d0af145969a8260ef7073cb36c57 SHA256 656444f3520c2ed04c7776a5b69578fb75e3298fc5a5665c42bc237ac0489f90 +EBUILD checkstyle-5.4.ebuild 2238 RMD160 683968bc7e3e064f63d674aecdf9f81a48719066 SHA1 e25b5bf171489b6107e424fea5cc91419550f466 SHA256 bf5c8442b1cd1cb1d84188704714550826d473d416b57c7122450025c09c7a1d +MISC ChangeLog 5872 RMD160 7c84a987d97ca33e433b193980ba112061a5a213 SHA1 a3eb5822ae6debfa69e810644ca1b2563f3d8be1 SHA256 23cd5581f50f93f38e0c6bc519b0fbc3b36d307975421982d3f5e402127bc29d MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAkuAiLoACgkQOypDUo0oQOoaygCgpn4OWqDjr9Ramkwd1z8xdXPi -Xo4AoNbw/hv3DErLgbyGHuI0sh80IIBn -=J8+d ------END PGP SIGNATURE----- diff --git a/dev-util/checkstyle/checkstyle-5.4.ebuild b/dev-util/checkstyle/checkstyle-5.4.ebuild new file mode 100644 index 000000000000..9c45e0cae380 --- /dev/null +++ b/dev-util/checkstyle/checkstyle-5.4.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-5.4.ebuild,v 1.1 2011/11/09 19:23:15 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +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/${P}-src.tar.gz + http://dev.gentoo.org/~sera/distfiles/${P}-maven-build.xml.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEP=" + dev-java/ant-core:0 + >=dev-java/antlr-2.7.7:0[java] + dev-java/commons-beanutils:1.7 + dev-java/commons-cli:1 + dev-java/commons-logging:0 + dev-java/guava:0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.5" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + test? ( + dev-java/ant-junit + dev-java/junit:4 + )" + +java_prepare() { + EPATCH_OPTS="-p1" epatch "${WORKDIR}"/maven-build.xml.patch + + # maven ant:ant can't handle it. + pushd src/checkstyle/com/puppycrawl/tools/checkstyle/grammars > /dev/null || die + java -cp $(java-pkg_getjars antlr) antlr.Tool java.g || die + popd > /dev/null +} + +JAVA_PKG_BSFIX_NAME="maven-build.xml" +JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc" +JAVA_ANT_ENCODING="iso-8859-1" + +EANT_BUILD_XML="maven-build.xml" +EANT_GENTOO_CLASSPATH="ant-core,antlr,commons-beanutils-1.7,commons-cli-1,commons-logging,guava" +EANT_BUILD_TARGET="package" +EANT_ANT_TASKS="ant-nodeps" + +src_test() { + EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar + + dodoc README + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/${PN}/com + + # Install check files + insinto /usr/share/checkstyle/checks + doins suppressions.xml sun_checks.xml import-control.xml checkstyle_checks.xml + + # 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 +} |