diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-01-02 23:18:48 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-01-14 21:42:52 +0000 |
commit | fd2e3a66836f82d1709ac330f3b5831fbdbd65b1 (patch) | |
tree | e0815c30e7613c102adffac9b4c0e0e63769c36d | |
parent | dev-util/checkstyle: Mark 5.5-r1 stable using ALLARCHES policy (diff) | |
download | gentoo-fd2e3a66836f82d1709ac330f3b5831fbdbd65b1.tar.gz gentoo-fd2e3a66836f82d1709ac330f3b5831fbdbd65b1.tar.bz2 gentoo-fd2e3a66836f82d1709ac330f3b5831fbdbd65b1.zip |
dev-util/checkstyle: Remove old, closes bug #561730
Package-Manager: portage-2.2.26
-rw-r--r-- | dev-util/checkstyle/Manifest | 1 | ||||
-rw-r--r-- | dev-util/checkstyle/checkstyle-4.4.ebuild | 96 |
2 files changed, 0 insertions, 97 deletions
diff --git a/dev-util/checkstyle/Manifest b/dev-util/checkstyle/Manifest index acc6d1434354..0e0d068feaa3 100644 --- a/dev-util/checkstyle/Manifest +++ b/dev-util/checkstyle/Manifest @@ -1,3 +1,2 @@ DIST checkstyle-5.4-maven-build.xml.tar.bz2 3236 SHA256 4b286857c265b765fcf71deb8684cdd1bb7d1264fd0ee45a924d91031652d590 SHA512 23cfcb519984fd9d7a59d8534c712d69c02aabc28e9f6eb7abff948728361cc208bf84d19f30dc81ae8870f6b361ca0382be60c4ab7b7b0298e59a175197138e WHIRLPOOL 32992aa00d228be5f0819e856f13752eba9694cf46e98b3c9229c5ef45a7c37c1c6367a1457487ec5ab63f9d808b1470727f44e5b7d194961520a34b55253f72 DIST checkstyle-5.5-src.tar.gz 744584 SHA256 0de571f2769b4ded9c681c9b1e51c7f783aca7fb7f47467f1f39c38bd1717aa1 SHA512 2327e14fc6fe9516d9518e4cbccb2e0f41e50bf891b7a3655dd29601b5eb3d2895d7df841f394d08d7dfac7ab774a01e22f98226259dc28a210d478699ea5c9a WHIRLPOOL e29303b656090a2f617850d2edb7f3f41db912399d334d6d8a7f7c50a96c7cfdb8134e46b65cec762ce565b1709de98a870880cdd8e18af03f594b9a2141609a -DIST checkstyle-src-4.4.tar.gz 2567907 SHA256 7081074124e2dde062b06cbb489a1338e04623b986094e9b63f31c50be2f9f38 SHA512 4cce16b70e901bdcee0d3ac864f51cef54965d37223a11e59b7b9d34603b404da0cc8207431481feb5f0e649b5f55a5ef05aebfceeb37f938246f8722867174d WHIRLPOOL ae3b1f3161caac22235d20b018b035b4bf1e042f5fb930b620b6eae8692a1825fe382649a3d360794a8cb3d48135ea1e3e8597865ed10c0e868d9440e9287240 diff --git a/dev-util/checkstyle/checkstyle-4.4.ebuild b/dev-util/checkstyle/checkstyle-4.4.ebuild deleted file mode 100644 index 08c1e5018608..000000000000 --- a/dev-util/checkstyle/checkstyle-4.4.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="2" -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 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="" - -COMMON_DEP=">=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/commons-collections:0" - -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:0 - )" - -S="${WORKDIR}/${MY_P}" - -# So that we can generate 1.4 bytecode for dist -# and 1.5 for tests -JAVA_PKG_BSFIX="off" - -java_prepare() { - 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/" -} |