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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B2811381F1 for ; Mon, 11 Jul 2016 16:59:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00126E0B71; Mon, 11 Jul 2016 16:59:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88D48E0B71 for ; Mon, 11 Jul 2016 16:59:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0FA7E340CCD for ; Mon, 11 Jul 2016 16:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 868A22435 for ; Mon, 11 Jul 2016 16:58:59 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1468256295.b0e0734184c491a61ed0f397e5e23cf4a5e6a3d6.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-java/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild X-VCS-Directories: app-eselect/eselect-java/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: b0e0734184c491a61ed0f397e5e23cf4a5e6a3d6 X-VCS-Branch: master Date: Mon, 11 Jul 2016 16:58:59 +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: aed7f6d8-2d8e-434f-bb9a-6a816f19bfdf X-Archives-Hash: 17878e952eb3bc15c1591f434022173d commit: b0e0734184c491a61ed0f397e5e23cf4a5e6a3d6 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Jul 11 16:58:02 2016 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Jul 11 16:58:15 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e07341 app-eselect/eselect-java: bug #549498: less spam from "eselect $x show". Package-Manager: portage-2.2.28 .../eselect-java/eselect-java-0.2.0-r1.ebuild | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild b/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild new file mode 100644 index 0000000..8207580 --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="https://www.gentoo.org/proj/en/java/" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + !app-eselect/eselect-ecj + !app-eselect/eselect-maven + !&2$,, }' \ + "${S}"/src/modules/maven.eselect.in \ + "${S}"/src/modules/ecj.eselect.in +} + +pkg_postinst() { + local REMOVED=0 + + rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 + rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 + + if [[ "${REMOVED}" = 1 ]]; then + elog "The eselect java-nsplugin module has been removed and your configuration" + elog "has been cleaned up. From now on, you may only install either Oracle or" + elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" + elog "Oracle VM. See the README installed with icedtea-web for more details." + fi +}