From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1215593-garchives=archives.gentoo.org@lists.gentoo.org>
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 E7127138359
	for <garchives@archives.gentoo.org>; Sat, 17 Oct 2020 08:43:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3D750E077F;
	Sat, 17 Oct 2020 08:43:42 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 26305E077F
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Oct 2020 08:43:42 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C23EC340DB7
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Oct 2020 08:43:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D8C6396
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Oct 2020 08:43:39 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1602924200.8d942e2283a9cab3747101e8771816dab1d7fe37.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/unison/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/unison/unison-2.51.3_rc2.ebuild
X-VCS-Directories: net-misc/unison/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 8d942e2283a9cab3747101e8771816dab1d7fe37
X-VCS-Branch: master
Date: Sat, 17 Oct 2020 08:43:39 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bb19964d-dd82-4529-aac4-941ab192a5e1
X-Archives-Hash: f47efaddd005769ecec6425e42c27c2d

commit:     8d942e2283a9cab3747101e8771816dab1d7fe37
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 08:43:20 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 08:43:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d942e22

net-misc/unison: tidying

* Don't install static libs
* Drop dune.eclass (the support upstream is experimental)
* ... so specify the OCaml dependency manually
* Sort IUSE
* Remove USE=doc for now (because no docs for the release candidate)

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/unison/unison-2.51.3_rc2.ebuild | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/net-misc/unison/unison-2.51.3_rc2.ebuild b/net-misc/unison/unison-2.51.3_rc2.ebuild
index 8b53a7db107..2f2b082f0f1 100644
--- a/net-misc/unison/unison-2.51.3_rc2.ebuild
+++ b/net-misc/unison/unison-2.51.3_rc2.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=7
 
-inherit dune
-
 DESCRIPTION="Two-way cross-platform file synchronizer"
 HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/"
 SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -17,10 +15,12 @@ SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="$(ver_cut 1-2)"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
-IUSE="gtk doc static debug threads +ocamlopt test"
-RESTRICT="!ocamlopt? ( strip ) !test? ( test )"
+IUSE="debug gtk threads +ocamlopt test"
+RESTRICT="!ocamlopt? ( strip )"
+RESTRICT+=" !test? ( test )"
 
 # ocaml version so we are sure it has ocamlopt use flag
+BDEPEND="dev-lang/ocaml:=[ocamlopt?]"
 DEPEND="gtk? ( dev-ml/lablgtk:2= )"
 RDEPEND="
 	${DEPEND}
@@ -37,10 +37,6 @@ src_compile() {
 		myconf="$myconf THREADS=true"
 	fi
 
-	if use static; then
-		myconf="$myconf STATIC=true"
-	fi
-
 	if use debug; then
 		myconf="$myconf DEBUGGING=true"
 	fi
@@ -69,10 +65,13 @@ src_install() {
 	for binname in unison unison-fsmonitor; do
 		newbin ${binname} ${binname}-${SLOT}
 	done
-	if use doc; then
-		DOCS+=( "${DISTDIR}/${P}-manual.pdf" )
-		HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
-	fi
+
+	# No docs for release candidates
+	#if use doc; then
+	#	DOCS+=( "${DISTDIR}/${P}-manual.pdf" )
+	#	HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
+	#fi
+
 	einstalldocs
 }