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 76F5C138A1A for ; Mon, 16 Feb 2015 23:53:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 109D6E09E4; Mon, 16 Feb 2015 23:53:31 +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 8B816E09E4 for ; Mon, 16 Feb 2015 23:53:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B42CB3406CF for ; Mon, 16 Feb 2015 23:53:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CC1611EA5 for ; Mon, 16 Feb 2015 23:53:18 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1423924948.9d804b0e5d332e455de46e698d25734fb4afb014.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-util/smartgit/ X-VCS-Repository: proj/sci X-VCS-Files: dev-util/smartgit/ChangeLog dev-util/smartgit/metadata.xml dev-util/smartgit/smartgit-6.5.6.ebuild X-VCS-Directories: dev-util/smartgit/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 9d804b0e5d332e455de46e698d25734fb4afb014 X-VCS-Branch: master Date: Mon, 16 Feb 2015 23:53:18 +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: e3dd1452-1c4e-46ae-8910-478a9baff183 X-Archives-Hash: f33b2814cc83d2cabbca330a8a3d1aa9 commit: 9d804b0e5d332e455de46e698d25734fb4afb014 Author: Luca Molari gmail com> AuthorDate: Sat Feb 14 14:42:28 2015 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Sat Feb 14 14:42:28 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9d804b0e projects/sci: dev-util/smartgit: git mercurial optfeatures Package-Manager: portage-2.2.14 --- dev-util/smartgit/ChangeLog | 4 ++++ dev-util/smartgit/metadata.xml | 4 ---- dev-util/smartgit/smartgit-6.5.6.ebuild | 16 +++++++++------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/dev-util/smartgit/ChangeLog b/dev-util/smartgit/ChangeLog index fe25ab2..722b9c1 100644 --- a/dev-util/smartgit/ChangeLog +++ b/dev-util/smartgit/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 14 Feb 2015; Luca Molari metadata.xml, + smartgit-6.5.6.ebuild: + projects/sci: dev-util/smartgit: git mercurial optfeatures + 13 Feb 2015; Luca Molari (LMolr) smartgit-6.5.6.ebuild: projects/sci: dev-util/smartgit: set SWT_GTK3 env var diff --git a/dev-util/smartgit/metadata.xml b/dev-util/smartgit/metadata.xml index c29684a..f7716e5 100644 --- a/dev-util/smartgit/metadata.xml +++ b/dev-util/smartgit/metadata.xml @@ -2,8 +2,4 @@ SmartSVN is a powerful GUI SVN client written in Java - - Enable git support through dev-vcs/git - Enable hg support through dev-vcs/mercurial - diff --git a/dev-util/smartgit/smartgit-6.5.6.ebuild b/dev-util/smartgit/smartgit-6.5.6.ebuild index cabe5af..459b475 100644 --- a/dev-util/smartgit/smartgit-6.5.6.ebuild +++ b/dev-util/smartgit/smartgit-6.5.6.ebuild @@ -16,16 +16,12 @@ SRC_URI="http://www.syntevo.com/download/${PN}/${MY_P}.tar.gz" SLOT="0" LICENSE="smartgit" KEYWORDS="~amd64 ~x86" -IUSE="git mercurial" +IUSE="" RESTRICT="fetch" DEPEND=">=virtual/jre-1.7:1.7" -RDEPEND=" - ${DEPEND} - git? ( dev-vcs/git ) - mercurial? ( dev-vcs/mercurial ) - " +RDEPEND="${DEPEND}" S="${WORKDIR}"/${PN} @@ -39,7 +35,7 @@ src_install() { local rdir="/opt/${PN}" X insinto ${rdir} doins -r * - + java-pkg_register-environment-variable SWT_GTK3 0 java-pkg_regjar "${ED}"/${rdir}/lib/*.jar @@ -53,3 +49,9 @@ src_install() { make_desktop_entry "${PN}" "SmartGIT" ${PN} "Development;RevisionControl" } + +pkg_postinst() { + elog "${PN} relies on external git/hg executables to work." + optfeature "Git support" dev-vcs/git + optfeature "Mercurial support" dev-vcs/mercurial +}