From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9699158086 for ; Sat, 13 Nov 2021 08:29:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E77662BC00D; Sat, 13 Nov 2021 08:29:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E2E32BC16E for ; Sat, 13 Nov 2021 08:29:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A10F3430B1 for ; Sat, 13 Nov 2021 08:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B76F11C3 for ; Sat, 13 Nov 2021 08:29:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1636792140.8e6be9be87d6e2fb28c98d1642ab766d48d00315.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javassist/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/javassist/javassist-3.18.2-r1.ebuild X-VCS-Directories: dev-java/javassist/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8e6be9be87d6e2fb28c98d1642ab766d48d00315 X-VCS-Branch: master Date: Sat, 13 Nov 2021 08:29:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5b1946be-95a8-43c0-a9a6-d21f2475311d X-Archives-Hash: b2bcfb7c14a3b8f36d2c52e4e3548fae commit: 8e6be9be87d6e2fb28c98d1642ab766d48d00315 Author: Sam James gentoo org> AuthorDate: Sat Nov 13 06:52:29 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 13 08:29:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6be9be dev-java/javassist: build with Java 8+, update EAPI 5 -> 7 Signed-off-by: Sam James gentoo.org> dev-java/javassist/javassist-3.18.2-r1.ebuild | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-java/javassist/javassist-3.18.2-r1.ebuild b/dev-java/javassist/javassist-3.18.2-r1.ebuild new file mode 100644 index 00000000000..6b89aac947c --- /dev/null +++ b/dev-java/javassist/javassist-3.18.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_ANT_REWRITE_CLASSPATH=y +JAVA_PKG_IUSE="doc source examples" + +EANT_DOC_TARGET="javadocs" +EANT_NEEDS_TOOLS="yes" + +MAVEN_ID="javassist:javassist:3.18.2" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Javassist makes Java bytecode manipulation simple" +HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/" +SRC_URI="https://github.com/jboss-javassist/javassist/archive/rel_${PV//./_}_ga_build.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-rel_${PV//./_}_ga_build" + +LICENSE="MPL-1.1" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=">=virtual/jdk-1.8:*" +BDEPEND="app-arch/unzip" + +src_prepare() { + default + + find -name "*.jar" -delete || die +} + +src_install() { + java-pkg_dojar ${PN}.jar + + use doc && java-pkg_dojavadoc html + use source && java-pkg_dosrc src/main/javassist + use examples && java-pkg_doexamples sample/* + + docinto html + dodoc Readme.html +}