Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/why3-for-spark/files/, sci-mathematics/why3-for-spark/
Date: Tue, 29 Jun 2021 19:38:55
Message-Id: 1624995520.5047348a53133478c69ec7994c0dc81390e03dd3.tupone@gentoo
1 commit: 5047348a53133478c69ec7994c0dc81390e03dd3
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 29 19:38:40 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 19:38:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5047348a
7
8 sci-mathematics/why3-for-spark: enabled hypothesis-selection
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 .../why3-for-spark/files/why3-for-spark-2021-flags.patch | 9 +++++++++
14 sci-mathematics/why3-for-spark/why3-for-spark-2021.ebuild | 5 +++--
15 2 files changed, 12 insertions(+), 2 deletions(-)
16
17 diff --git a/sci-mathematics/why3-for-spark/files/why3-for-spark-2021-flags.patch b/sci-mathematics/why3-for-spark/files/why3-for-spark-2021-flags.patch
18 index 7f6dfd0f446..e12ec73318b 100644
19 --- a/sci-mathematics/why3-for-spark/files/why3-for-spark-2021-flags.patch
20 +++ b/sci-mathematics/why3-for-spark/files/why3-for-spark-2021-flags.patch
21 @@ -9,6 +9,15 @@
22 OFLAGS = $(FLAGS)
23 BFLAGS = $(FLAGS)
24
25 +@@ -572,7 +572,7 @@
26 + lib/plugins/hypothesis_selection.cmo: EXTOBJS += graph.cmo
27 + ifeq (@enable_ocamlfind@,yes)
28 + lib/plugins/hypothesis_selection.cmxs: FLAGS += -package ocamlgraph -dontlink "$(EXTPKGS)" -linkpkg
29 +-lib/plugins/hypothesis_selection.cmo: FLAGS += -package ocamlgraph graph.cmo
30 ++lib/plugins/hypothesis_selection.cmo: FLAGS += -package ocamlgraph
31 + endif
32 + endif
33 +
34 @@ -778,13 +778,13 @@
35 all: $(TOOLS)
36
37
38 diff --git a/sci-mathematics/why3-for-spark/why3-for-spark-2021.ebuild b/sci-mathematics/why3-for-spark/why3-for-spark-2021.ebuild
39 index 06a68247055..b851107a4c4 100644
40 --- a/sci-mathematics/why3-for-spark/why3-for-spark-2021.ebuild
41 +++ b/sci-mathematics/why3-for-spark/why3-for-spark-2021.ebuild
42 @@ -16,7 +16,7 @@ SRC_URI="${ADAMIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz"
43 LICENSE="GPL-3"
44 SLOT="0"
45 KEYWORDS="~amd64"
46 -IUSE="coq doc emacs gtk html +ocamlopt zarith zip"
47 +IUSE="coq doc emacs gtk html hypothesis-selection +ocamlopt zarith zip"
48 RESTRICT="strip"
49
50 DEPEND="dev-lang/ocaml:0/4.11[ocamlopt?]
51 @@ -35,6 +35,7 @@ DEPEND="dev-lang/ocaml:0/4.11[ocamlopt?]
52 gtk? ( dev-ml/lablgtk:=[sourceview] )
53 emacs? ( app-editors/emacs:* )
54 html? ( dev-tex/hevea:= )
55 + hypothesis-selection? ( dev-ml/ocamlgraph:= )
56 zarith? ( dev-ml/zarith:= )
57 zip? ( dev-ml/camlzip:= )"
58 RDEPEND="${DEPEND}"
59 @@ -80,12 +81,12 @@ src_configure() {
60 --disable-pvs-libs \
61 --disable-isabelle-libs \
62 --enable-verbose-make \
63 - --disable-hypothesis-selection \
64 $(use_enable coq coq-libs) \
65 $(use_enable doc) \
66 $(use_enable emacs emacs-compilation) \
67 $(use_enable gtk ide) \
68 $(use_enable html html-pdf) \
69 + $(use_enable hypothesis-selection) \
70 $(use_enable ocamlopt native-code) \
71 $(use_enable zarith) \
72 $(use_enable zip)