summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-05-29 09:20:57 +0200
committerJakov Smolić <jsmolic@gentoo.org>2022-05-29 09:20:57 +0200
commit446785d0cb1fa2fc2838cc450189797e0de5aba0 (patch)
tree4ed5805d00226fdc6f75f31dbfa4b60d3a32dc41 /dev-util
parentapp-emacs/jde: treeclean (diff)
downloadgentoo-446785d0cb1fa2fc2838cc450189797e0de5aba0.tar.gz
gentoo-446785d0cb1fa2fc2838cc450189797e0de5aba0.tar.bz2
gentoo-446785d0cb1fa2fc2838cc450189797e0de5aba0.zip
dev-util/checkstyle: treeclean
Bug: https://bugs.gentoo.org/710750 Closes: https://bugs.gentoo.org/828453 Bug: https://bugs.gentoo.org/680516 Closes: https://bugs.gentoo.org/436226 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/checkstyle/Manifest1
-rw-r--r--dev-util/checkstyle/checkstyle-7.2-r1.ebuild67
-rw-r--r--dev-util/checkstyle/metadata.xml12
3 files changed, 0 insertions, 80 deletions
diff --git a/dev-util/checkstyle/Manifest b/dev-util/checkstyle/Manifest
deleted file mode 100644
index 211e74a404f8..000000000000
--- a/dev-util/checkstyle/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST checkstyle-7.2.tar.gz 3359817 BLAKE2B 45cb74f6d2ff49cc218537cb9b5f95764a61a506f3aad8e265c809a0fecf9da47e8902ccc3afc312cddf3260d763b9d98a7e148c9382ed4107931cd189841170 SHA512 ee99d96d99a3f75097297cfda46e3647e57213bcb8b78098251a21c3fe0b4bb774393848d444f721d4bea83173581c89377a9d250157d6e6a225239da81d955f
diff --git a/dev-util/checkstyle/checkstyle-7.2-r1.ebuild b/dev-util/checkstyle/checkstyle-7.2-r1.ebuild
deleted file mode 100644
index 564d30830696..000000000000
--- a/dev-util/checkstyle/checkstyle-7.2-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Development tool to help write Java code that adheres to a coding standard"
-HOMEPAGE="https://github.com/checkstyle/checkstyle"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-CP_DEPEND="
- dev-java/ant-core:0
- >=dev-java/antlr-2.7.7-r7:0
- dev-java/antlr:4
- dev-java/commons-beanutils:1.7
- dev-java/commons-cli:1
- dev-java/commons-logging:0
- dev-java/guava:20
- dev-java/jaxb-api:2
-"
-
-RDEPEND="${CP_DEPEND}
- >=virtual/jre-1.8:*"
-
-DEPEND="${CP_DEPEND}
- >=virtual/jdk-1.8:*"
-
-S="${WORKDIR}/${PN}-${P}"
-JAVA_SRC_DIR="${S}/src/main/java"
-
-src_configure() {
- JAVA_GENTOO_CLASSPATH_EXTRA=$(java-config --tools)
-}
-
-src_compile() {
- local PKG
-
- PKG=com/puppycrawl/tools/checkstyle/grammars
- cd "${S}"/src/main/resources/${PKG} || die
- antlr -o "${JAVA_SRC_DIR}"/${PKG} java.g || die
-
- PKG+=/javadoc
- cd "${S}"/src/main/resources/${PKG} || die
- antlr4 -o "${JAVA_SRC_DIR}"/${PKG} -package ${PKG//\//.} JavadocLexer.g4 || die
- antlr4 -o "${JAVA_SRC_DIR}"/${PKG} -package ${PKG//\//.} JavadocParser.g4 || die
-
- cd "${S}" || die
- java-pkg-simple_src_compile
- java-pkg_addres ${PN}.jar src/main/resources
-}
-
-src_install() {
- java-pkg-simple_src_install
- dodoc README.md
-
- java-pkg_dolauncher ${PN} \
- --main com.puppycrawl.tools.checkstyle.Main
-
- java-pkg_dolauncher ${PN}-gui \
- --main com.puppycrawl.tools.checkstyle.gui.Main
-}
diff --git a/dev-util/checkstyle/metadata.xml b/dev-util/checkstyle/metadata.xml
deleted file mode 100644
index e2aab27f2281..000000000000
--- a/dev-util/checkstyle/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">checkstyle</remote-id>
- <remote-id type="github">checkstyle/checkstyle</remote-id>
- </upstream>
-</pkgmetadata>