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 0905F158087 for ; Thu, 27 Jan 2022 17:34:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C858E2BC040; Thu, 27 Jan 2022 17:34:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 EC1242BC03E for ; Thu, 27 Jan 2022 17:34:41 +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 089643430E9 for ; Thu, 27 Jan 2022 17:34:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4C492AE for ; Thu, 27 Jan 2022 17:34:38 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1643304855.0c39fd02effec81831d8d7a5bb0fa68c1ec8321b.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/bcmail/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/bcmail/bcmail-1.69-r1.ebuild X-VCS-Directories: dev-java/bcmail/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 0c39fd02effec81831d8d7a5bb0fa68c1ec8321b X-VCS-Branch: master Date: Thu, 27 Jan 2022 17:34:38 +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: 3a52dcc7-abe9-48aa-b84a-6c8faee18291 X-Archives-Hash: 6cb64f3a7a7c640e172bf7950c1e0d1d commit: 0c39fd02effec81831d8d7a5bb0fa68c1ec8321b Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Jan 26 11:06:21 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Jan 27 17:34:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c39fd02 dev-java/bcmail: Switch to javax-mail Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Florian Schmaus gentoo.org> dev-java/bcmail/bcmail-1.69-r1.ebuild | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/dev-java/bcmail/bcmail-1.69-r1.ebuild b/dev-java/bcmail/bcmail-1.69-r1.ebuild new file mode 100644 index 000000000000..0eabcf7e3584 --- /dev/null +++ b/dev-java/bcmail/bcmail-1.69-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcmail-jdk15on:1.69" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The Bouncy Castle Java S/MIME APIs for handling S/MIME protocols" +HOMEPAGE="https://www.bouncycastle.org/java.html" +SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz -> bc-java-r${PV/./rv}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +CDEPEND=" + ~dev-java/bcpkix-${PV}:0 + ~dev-java/bcprov-${PV}:0 + ~dev-java/bcutil-${PV}:0 + dev-java/jakarta-activation:1 + dev-java/javax-mail:0 + " +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:*" +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index,LICENSE}.html ) + +S="${WORKDIR}/bc-java-r${PV/./rv}/mail" + +JAVA_GENTOO_CLASSPATH="bcpkix,bcprov,bcutil,jakarta-activation-1,javax-mail" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" # https://bugs.gentoo.org/797634 +) +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_RUN_ONLY="org.bouncycastle.mail.smime.test.AllTests" # OK (106 tests) + +src_prepare() { + default + cd ../ || die + java-pkg_clean +} + +src_install() { + default + einstalldocs + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +}