From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 08D9B138BEF for ; Sat, 17 Oct 2015 15:16:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B48121C02A; Sat, 17 Oct 2015 15:16:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41B5621C039 for ; Sat, 17 Oct 2015 15:16:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5696C3408EC for ; Sat, 17 Oct 2015 15:16:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA6AC119C for ; Sat, 17 Oct 2015 15:16:15 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1445080428.dbe2176088fa07429275f99f3fce9e97575351e3.monsieurp@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.50-r2.ebuild X-VCS-Directories: dev-java/bcmail/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: dbe2176088fa07429275f99f3fce9e97575351e3 X-VCS-Branch: master Date: Sat, 17 Oct 2015 15:16:15 +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-Archives-Salt: 0c0beeef-ff2d-43a9-9251-c9faeaf852c5 X-Archives-Hash: 88677cac20562435df0194fee5104149 commit: dbe2176088fa07429275f99f3fce9e97575351e3 Author: Patrice Clement gentoo org> AuthorDate: Sat Oct 17 11:13:48 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sat Oct 17 11:13:48 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe21760 dev-java/bcmail: Set SLOT back to 1.50 and adjust dependencies accordingly. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/bcmail/bcmail-1.50-r2.ebuild | 67 +++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/dev-java/bcmail/bcmail-1.50-r2.ebuild b/dev-java/bcmail/bcmail-1.50-r2.ebuild new file mode 100644 index 0000000..f8a2985 --- /dev/null +++ b/dev-java/bcmail/bcmail-1.50-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-pkg-simple + +MY_P="${PN}-jdk15on-${PV/./}" + +DESCRIPTION="Java cryptography APIs" +HOMEPAGE="http://www.bouncycastle.org/java.html" +SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="1.50" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" + +CDEPEND="dev-java/bcprov:${SLOT} + dev-java/bcpkix:${SLOT} + dev-java/sun-jaf:0 + dev-java/junit:0 + dev-java/oracle-javamail:0" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +JAVA_GENTOO_CLASSPATH=" + junit + bcprov-${SLOT} + bcpkix-${SLOT} + sun-jaf + oracle-javamail +" + +# Package can't be built with test as bcprov and bcpkix can't be built with test. +RESTRICT="test" + +src_unpack() { + default + cd "${S}" + unpack ./src.zip +} + +java_prepare() { + JAVA_RM_FILES=( + org/bouncycastle/mail/smime/test/* + org/bouncycastle/mail/smime/examples/CreateSignedMail.java + ) +} + +src_compile() { + java-pkg-simple_src_compile +} + +src_install() { + java-pkg-simple_src_install + use source && java-pkg_dosrc org +}