Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlgraph/
Date: Fri, 05 Feb 2021 23:02:45
Message-Id: 1612566150.42c12e6e8e82abe43bc648960fd6d1c852e4af29.tupone@gentoo
1 commit: 42c12e6e8e82abe43bc648960fd6d1c852e4af29
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 5 23:00:03 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 5 23:02:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c12e6e
7
8 dev-ml/ocamlgraph: version bump to 2.0.0
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ml/ocamlgraph/Manifest | 1 +
14 dev-ml/ocamlgraph/ocamlgraph-2.0.0.ebuild | 27 +++++++++++++++++++++++++++
15 2 files changed, 28 insertions(+)
16
17 diff --git a/dev-ml/ocamlgraph/Manifest b/dev-ml/ocamlgraph/Manifest
18 index 1edb5afbb82..9bcbe739908 100644
19 --- a/dev-ml/ocamlgraph/Manifest
20 +++ b/dev-ml/ocamlgraph/Manifest
21 @@ -1,2 +1,3 @@
22 DIST ocamlgraph-1.8.7.tar.gz 272625 BLAKE2B 18df3f78cfe66e2259c770cfc3671096b06a185e3f407b22eb0a21ff6e7f7df4b0b705a830d740c64f66609b88e2fb76aa91e200ca4c0fadc7ae2a1910641f3d SHA512 27559293bf576ecc9cf49090e24905c50d00ebaeb444a3c917826f3cfe1e7ceab34b43e30f98634811b1688b675d8747b590b5bb103a720d099304f5031feb2e
23 DIST ocamlgraph-1.8.8.tar.gz 282729 BLAKE2B 79fdbcdd86fc5b6f36ad3399c890c31831a20fec22f0b4faf6da1fb61a12d25a54587e4b3ed8f9266ad1ce37bfffe76d66cf7a7e765e8046429943ad3c555208 SHA512 ccb07d4a7fb0c3026ad2d4563e1ca0a88483ac3cf43c9378989ae5c031961853a11c9673c06b54a16733c5755d9c0a2783c5f475afdcc7692d2bf3d4778f5bc5
24 +DIST ocamlgraph-2.0.0.tbz 298912 BLAKE2B a4bb04c74f4dba8b0f37cdf8ab9a82ef5120b1e7f5b5570e67aac35de16e4553c93759acfa5c218e07dc7c036750d92d2c557c7d58247783718f691c5319ded8 SHA512 c4973ac03bdff52d1c8a1ed01c81e0fbe2f76486995e57ff4e4a11bcc7b1793556139d52a81ff14ee8c8de52f1b40e4bd359e60a2ae626cc630ebe8bccefb3f1
25
26 diff --git a/dev-ml/ocamlgraph/ocamlgraph-2.0.0.ebuild b/dev-ml/ocamlgraph/ocamlgraph-2.0.0.ebuild
27 new file mode 100644
28 index 00000000000..96971b5888b
29 --- /dev/null
30 +++ b/dev-ml/ocamlgraph/ocamlgraph-2.0.0.ebuild
31 @@ -0,0 +1,27 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit dune
38 +
39 +DESCRIPTION="O'Caml Graph library"
40 +HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html"
41 +SRC_URI="https://github.com/backtracking/${PN}/releases/download/${PV}/${P}.tbz"
42 +LICENSE="LGPL-2.1"
43 +SLOT="0/${PV}"
44 +KEYWORDS="~amd64 ~x86"
45 +RDEPEND="
46 + gtk? ( dev-ml/lablgtk:2=[ocamlopt?] )
47 + dev-ml/stdlib-shims:=[ocamlopt?]
48 + dev-ml/graphics:=[ocamlopt?]"
49 +DEPEND="${RDEPEND}"
50 +IUSE="gtk +ocamlopt"
51 +
52 +src_compile() {
53 + if ! use gtk; then
54 + dune build --only-packages ocamlgraph @install || die
55 + else
56 + dune build @install || die
57 + fi
58 +}