diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-01 14:35:38 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-01 14:36:24 +0100 |
commit | 8ad531cad360fc64de1daaa0d2e6b48be4d69577 (patch) | |
tree | 11aa87cce11c09c76dce58576f9d81e2fa126db1 /dev-java | |
parent | java-virtuals/interceptor-api: treeclean (diff) | |
download | gentoo-8ad531cad360fc64de1daaa0d2e6b48be4d69577.tar.gz gentoo-8ad531cad360fc64de1daaa0d2e6b48be4d69577.tar.bz2 gentoo-8ad531cad360fc64de1daaa0d2e6b48be4d69577.zip |
dev-java/jamon: treeclean
Closes: https://bugs.gentoo.org/736697
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jamon/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jamon/jamon-2.81.ebuild | 82 | ||||
-rw-r--r-- | dev-java/jamon/metadata.xml | 16 |
3 files changed, 0 insertions, 99 deletions
diff --git a/dev-java/jamon/Manifest b/dev-java/jamon/Manifest deleted file mode 100644 index dc04a2c395f7..000000000000 --- a/dev-java/jamon/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jamonapi-2_81.tar.gz 23149879 BLAKE2B 1e21c6ae849a1fec74b87614594007653ccb573b450c495396951532dfe713ab47944425f421b212e052153c84163f79f376413946d16917e0900ec5fe64be8b SHA512 09fba65aec2754f8a1b85dd7f5691b8bae5c4f1c852dd69cddb3642a594bb44baa5b6a3c611657041d6ce2cc37c824a111adeaa929761e3983d43d7080ce05b1 diff --git a/dev-java/jamon/jamon-2.81.ebuild b/dev-java/jamon/jamon-2.81.ebuild deleted file mode 100644 index 32622058bb3a..000000000000 --- a/dev-java/jamon/jamon-2.81.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -MY_PN="${PN}api" -MY_PV="${PV//./_}" -MY_P="${MY_PN}-${MY_PV}" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java API to monitor production applications" -HOMEPAGE="http://www.jamonapi.com/" -SRC_URI="https://github.com/stevensouza/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="2" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-java/log4j:0 - java-virtuals/interceptor-api:0 - java-virtuals/servlet-api:3.0 - www-servers/tomcat:7" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.7 - dev-db/hsqldb:0 - dev-java/jakarta-oro:2.0" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - test? ( - dev-db/hsqldb:0 - dev-java/assertj-core:2 - dev-java/junit:4 - dev-java/mockito:0 - dev-java/objenesis:0 - )" - -S="${WORKDIR}/${MY_P}" -JAVA_GENTOO_CLASSPATH="interceptor-api,log4j,servlet-api-3.0,tomcat-7" -JAVA_SRC_DIR="${PN}/src/main/java" -WAR_DIR="jamon_war/src/main/webapp" - -java_prepare() { - # No Jetty or Hazelcast packaged right now and Spring is ancient. - find \( -name "*Jetty*.java" -o -name "*Hazelcast*.java" \) -exec rm -v {} + || die - rm -rv ./jamon/src/test/java/com/jamonapi/distributed/JamonDataPersisterFactoryTest.java \ - ./jamon/src/{main,test}/java/com/jamonapi/aop/spring || die - - # Keep fdsapi and xss-html-filter bundled as we lack packages. - rm -v ${WAR_DIR}/WEB-INF/lib/{hsqldb,jakarta-oro}*.jar || die -} - -src_compile() { - java-pkg-simple_src_compile - jar cf ${PN}.war -C ${WAR_DIR} . || die -} - -src_install() { - java-pkg-simple_src_install - java-pkg_dowar ${PN}.war - dodoc designnotes.txt README.md - - # hsqldb used by JSP files, oro used by fdsapi. - java-pkg_register-dependency hsqldb,jakarta-oro-2.0 -} - -src_test() { - cd jamon/src/test/java || die - - local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars assertj-core-2,hsqldb,junit-4,mockito,objenesis,${JAVA_GENTOO_CLASSPATH})" - local TESTS=$(find * -name "*Test.java") - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d . $(find * -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} diff --git a/dev-java/jamon/metadata.xml b/dev-java/jamon/metadata.xml deleted file mode 100644 index 021770d485b0..000000000000 --- a/dev-java/jamon/metadata.xml +++ /dev/null @@ -1,16 +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> - <longdescription> - A free, simple, high performance, thread safe, Java API that allows - developers to easily monitor production applications - </longdescription> - <upstream> - <remote-id type="github">stevensouza/jamonapi</remote-id> - <remote-id type="sourceforge">jamonapi</remote-id> - </upstream> -</pkgmetadata> |