From b9881de4b9f796f2ab7c6723607b6b775de3caf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 13 Dec 2019 16:05:47 +0100 Subject: [PATCH] net-misc/unison: Assign RESTRICT only once. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/699200 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Ulrich Müller --- net-misc/unison/unison-2.48.4-r1.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-misc/unison/unison-2.48.4-r1.ebuild b/net-misc/unison/unison-2.48.4-r1.ebuild index a66ce2813301..3cbf95371a25 100644 --- a/net-misc/unison/unison-2.48.4-r1.ebuild +++ b/net-misc/unison/unison-2.48.4-r1.ebuild @@ -7,6 +7,10 @@ IUSE="gtk doc static debug threads +ocamlopt test" DESCRIPTION="Two-way cross-platform file synchronizer" HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/" +SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz + doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf + https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" + LICENSE="GPL-2" SLOT="$(ver_cut 1-2)" KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" @@ -15,7 +19,7 @@ KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~spar # "Skipping some tests -- remove me!". Given the potentially destructive nature # of those tests, let's not try to run them (they're re-enabled in subsequent # releases). -RESTRICT="test" +RESTRICT="test !ocamlopt? ( strip )" # ocaml version so we are sure it has ocamlopt use flag DEPEND="dev-lang/ocaml[ocamlopt?] @@ -25,10 +29,6 @@ RDEPEND="gtk? ( dev-ml/lablgtk || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) >=app-eselect/eselect-unison-0.4" -RESTRICT+=" !ocamlopt? ( strip )" -SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz - doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf - https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" S="${WORKDIR}"/src PATCHES=( "${FILESDIR}"/${PN}-2.48.4-Makefile-dep.patch ) -- 2.26.2