From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 981691396D9 for ; Wed, 18 Oct 2017 08:49:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2D7EE0D9E; Wed, 18 Oct 2017 08:49:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A29B3E0D9E for ; Wed, 18 Oct 2017 08:49:15 +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 761F733BF24 for ; Wed, 18 Oct 2017 08:49:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08B37318 for ; Wed, 18 Oct 2017 08:49:13 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1508316505.8798bf91e5d2965f4abf802302769ff3a196a6a7.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlgraph/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocamlgraph/Manifest dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild X-VCS-Directories: dev-ml/ocamlgraph/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 8798bf91e5d2965f4abf802302769ff3a196a6a7 X-VCS-Branch: master Date: Wed, 18 Oct 2017 08:49:13 +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: f14e77f4-86ca-4c6a-a382-66072378ee1b X-Archives-Hash: 3e0de47633674e6fcee7b555a9e738b1 commit: 8798bf91e5d2965f4abf802302769ff3a196a6a7 Author: Alexis Ballier gentoo org> AuthorDate: Wed Oct 18 08:48:25 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Oct 18 08:48:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8798bf91 dev-ml/ocamlgraph: bump to 1.8.8 Package-Manager: Portage-2.3.11, Repoman-2.3.3 dev-ml/ocamlgraph/Manifest | 1 + dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-ml/ocamlgraph/Manifest b/dev-ml/ocamlgraph/Manifest index f8415c11499..d61796edf3a 100644 --- a/dev-ml/ocamlgraph/Manifest +++ b/dev-ml/ocamlgraph/Manifest @@ -1 +1,2 @@ DIST ocamlgraph-1.8.7.tar.gz 272625 SHA256 df06ca06d25231bb8e162d6b853177cb7fc1565c8f1ec99ca051727d46c985a0 SHA512 27559293bf576ecc9cf49090e24905c50d00ebaeb444a3c917826f3cfe1e7ceab34b43e30f98634811b1688b675d8747b590b5bb103a720d099304f5031feb2e WHIRLPOOL 3b290012a97c96c75b1b63dec056c7afb6d7c1882fc61fd3a88b32397a2e871aa9e872950e6a6e7333450f3b46181df6e27f4fc3464e5c9a3776285a904d4727 +DIST ocamlgraph-1.8.8.tar.gz 282729 SHA256 d9eabefb73cad7bc59b3870f832cd0154f8b60feca89ef087f06e59cb9092f55 SHA512 ccb07d4a7fb0c3026ad2d4563e1ca0a88483ac3cf43c9378989ae5c031961853a11c9673c06b54a16733c5755d9c0a2783c5f475afdcc7692d2bf3d4778f5bc5 WHIRLPOOL adebbe7c1807dace65a2f2cf8ed3ce88ba7dba053d58cd81edfa2ab83e84fda5cc7ce0f0e3101063692feb0db6ca02340dfee602c950a07b4784beab4b4a4b61 diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild new file mode 100644 index 00000000000..71e564d353d --- /dev/null +++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.8.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit findlib + +DESCRIPTION="O'Caml Graph library" +HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html" +SRC_URI="http://ocamlgraph.lri.fr/download/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] + gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )" +DEPEND="${RDEPEND} + doc? ( dev-tex/hevea dev-ml/ocamlweb )" +IUSE="doc examples gtk +ocamlopt" + +src_compile() { + emake byte + use ocamlopt && emake opt + + if use doc; then + emake doc + fi + + if use gtk; then + emake OCAMLBEST=$(usex ocamlopt opt byte) viewer dgraph editor + fi +} + +src_install() { + findlib_src_preinst + use ocamlopt || export WANT_OCAMLOPT=no + use gtk && export WANT_GTK=yes + emake install-findlib + + if use gtk ; then + local ext=byte + use ocamlopt && ext=opt + newbin dgraph/dgraph.${ext} ${PN}-dgraph + newbin editor/editor.${ext} ${PN}-editor + newbin view_graph/viewgraph.${ext} ${PN}-viewgraph + fi + + dodoc README.adoc CREDITS FAQ CHANGES + if use doc; then + dohtml doc/* + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}