summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-12-19 16:26:17 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-12-19 16:26:17 +0000
commit0949e4914eef827a6311c7c68ef896c290884e18 (patch)
treeb4123624301cd66016d2e5802226e3b790b56c73 /dev-util
parentalpha/ia64/x86 stable wrt security #202350 (diff)
downloadgentoo-2-0949e4914eef827a6311c7c68ef896c290884e18.tar.gz
gentoo-2-0949e4914eef827a6311c7c68ef896c290884e18.tar.bz2
gentoo-2-0949e4914eef827a6311c7c68ef896c290884e18.zip
Remove old version.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/checkstyle/ChangeLog5
-rw-r--r--dev-util/checkstyle/checkstyle-4.2.ebuild95
-rw-r--r--dev-util/checkstyle/files/digest-checkstyle-4.23
3 files changed, 4 insertions, 99 deletions
diff --git a/dev-util/checkstyle/ChangeLog b/dev-util/checkstyle/ChangeLog
index 4a1ed49ad5f5..e228ccf76cf4 100644
--- a/dev-util/checkstyle/ChangeLog
+++ b/dev-util/checkstyle/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/checkstyle
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.33 2007/11/25 15:52:01 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.34 2007/12/19 16:26:16 betelgeuse Exp $
+
+ 19 Dec 2007; Petteri Räty <betelgeuse@gentoo.org> -checkstyle-4.2.ebuild:
+ Remove old version.
25 Nov 2007; Brent Baude <ranger@gentoo.org> checkstyle-4.3.ebuild:
marking checkstyle-4.3 ppc for bug 200275
diff --git a/dev-util/checkstyle/checkstyle-4.2.ebuild b/dev-util/checkstyle/checkstyle-4.2.ebuild
deleted file mode 100644
index ca6ed62c4af7..000000000000
--- a/dev-util/checkstyle/checkstyle-4.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# 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.2.ebuild,v 1.7 2007/06/10 16:00:49 philantrop Exp $
-
-JAVA_PKG_IUSE="doc source"
-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"
-IUSE="test"
-
-COMMON_DEP="dev-java/antlr
- =dev-java/commons-beanutils-1.7*
- =dev-java/commons-cli-1*
- dev-java/commons-logging"
-
-RDEPEND="!test? ( >=virtual/jre-1.4 )
- test? ( >=virtual/jre-1.5 )
- ${COMMON_DEP}"
-
-# Uses antlr and as such needs ant-tasks
-# Tests only pass with 1.5 but I think that
-# is a problem with the test classes so running
-# with 1.6 should be fine
-DEPEND="!test? ( >=virtual/jdk-1.4 )
- test? ( =virtual/jdk-1.5* )
- ${COMMON_DEP}
- dev-java/ant-core
- dev-java/ant-tasks
- test? (
- dev-java/junit
- dev-java/emma
- )"
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}/lib
- rm *.jar
- 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
-}
-
-src_compile() {
- eant compile.checkstyle $(use_doc)
- jar cfm ${PN}.jar config/manifest.mf -C target/checkstyle . || die "jar failed"
-}
-
-src_test() {
- cd "${S}/lib"
- java-pkg_jar-from --build-only junit
- # for some weird classpath interactions both seem to be needed
- java-pkg_jar-from --build-only emma
- cd "${S}"
- local cp=$(java-pkg_getjar --build-only emma emma.jar)
- eant run.tests -lib "${cp}"
-}
-
-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
-
- # Make the ant tasks available to ant
- dodir /usr/share/ant-core/lib
- dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/ant-core/lib/
-}
-
-pkg_postinst() {
- elog "Checkstyle is located at /usr/bin/checkstyle"
- elog "Check files are located in /usr/share/checkstyle/checks/"
-}
diff --git a/dev-util/checkstyle/files/digest-checkstyle-4.2 b/dev-util/checkstyle/files/digest-checkstyle-4.2
deleted file mode 100644
index 413e54f19d57..000000000000
--- a/dev-util/checkstyle/files/digest-checkstyle-4.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c75e395b2cf7dc103f4a23bcd15dc545 checkstyle-src-4.2.tar.gz 2558813
-RMD160 02a248be429700cc27cf17d786dce29ed6e03189 checkstyle-src-4.2.tar.gz 2558813
-SHA256 9765dfa9f2d8d1780a90f792481d48cb90d671a22ba9be4ad026b9dbf83b0aa1 checkstyle-src-4.2.tar.gz 2558813