Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlgraph/, dev-ml/ocamlgraph/files/
Date: Thu, 26 Jan 2017 11:43:24
Message-Id: 1485430901.161a823fe688ad9e03c828885362608a71971e9c.aballier@gentoo
1 commit: 161a823fe688ad9e03c828885362608a71971e9c
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 26 11:41:41 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 11:41:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161a823f
7
8 dev-ml/ocamlgraph: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/ocamlgraph/Manifest | 1 -
13 .../files/ocamlgraph-0.99b-installfindlib.patch | 21 --------
14 dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild | 56 ----------------------
15 3 files changed, 78 deletions(-)
16
17 diff --git a/dev-ml/ocamlgraph/Manifest b/dev-ml/ocamlgraph/Manifest
18 index c876c57..f8415c1 100644
19 --- a/dev-ml/ocamlgraph/Manifest
20 +++ b/dev-ml/ocamlgraph/Manifest
21 @@ -1,2 +1 @@
22 -DIST ocamlgraph-0.99b.tar.gz 175958 SHA256 c4a646cfd152791268d9c2716c5e1c55bf3f39e8637a85f3c3937e3dd4dafec7 SHA512 1301d766679f59714d2adee1cb8cf31ebcc23f1fd425927dc6fd0c23e18849aaf93f04f3d694ea2e05f9570e8ec03734d96abb2668339b45b273e9d78197c0f9 WHIRLPOOL 96a805dcc9ccab532d6590b112f61f255bb7e320990497abea49fed908735671558fa2d83e586322cac7249bf206830ca816efac25ee64776376a49da7f4f341
23 DIST ocamlgraph-1.8.7.tar.gz 272625 SHA256 df06ca06d25231bb8e162d6b853177cb7fc1565c8f1ec99ca051727d46c985a0 SHA512 27559293bf576ecc9cf49090e24905c50d00ebaeb444a3c917826f3cfe1e7ceab34b43e30f98634811b1688b675d8747b590b5bb103a720d099304f5031feb2e WHIRLPOOL 3b290012a97c96c75b1b63dec056c7afb6d7c1882fc61fd3a88b32397a2e871aa9e872950e6a6e7333450f3b46181df6e27f4fc3464e5c9a3776285a904d4727
24
25 diff --git a/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch
26 deleted file mode 100644
27 index 5c68c0c..00000000
28 --- a/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch
29 +++ /dev/null
30 @@ -1,21 +0,0 @@
31 -Index: ocamlgraph-0.99b/Makefile.in
32 -===================================================================
33 ---- ocamlgraph-0.99b.orig/Makefile.in
34 -+++ ocamlgraph-0.99b/Makefile.in
35 -@@ -208,10 +208,14 @@ install-byte:
36 - install-opt: install-byte
37 - cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(OCAMLLIB)"
38 -
39 -+ifneq ($(OCAMLOPT),no)
40 -+INSTALL_OPT=graph$(LIBEXT) graph.cmx $(CMXA)
41 -+endif
42 -+
43 - install-findlib: META
44 - ifdef OCAMLFIND
45 -- $(OCAMLFIND) install ocamlgraph META *.mli \
46 -- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
47 -+ $(OCAMLFIND) install ocamlgraph META src/*.mli lib/*.mli \
48 -+ $(INSTALL_OPT) graph.cmo graph.cmi $(CMA)
49 - endif
50 -
51 - # documentation
52
53 diff --git a/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild b/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild
54 deleted file mode 100644
55 index c11ed0e..00000000
56 --- a/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild
57 +++ /dev/null
58 @@ -1,56 +0,0 @@
59 -# Copyright 1999-2013 Gentoo Foundation
60 -# Distributed under the terms of the GNU General Public License v2
61 -# $Id$
62 -
63 -EAPI=5
64 -
65 -inherit findlib eutils
66 -
67 -DESCRIPTION="O'Caml Graph library"
68 -HOMEPAGE="http://www.lri.fr/~filliatr/ocamlgraph/"
69 -SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlgraph/${P}.tar.gz"
70 -LICENSE="LGPL-2"
71 -SLOT="0/${PV}"
72 -KEYWORDS="~amd64 ppc x86"
73 -RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
74 - gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )"
75 -DEPEND="${RDEPEND}
76 - doc? ( dev-tex/hevea dev-ml/ocamlweb )"
77 -IUSE="doc examples gtk +ocamlopt"
78 -
79 -src_prepare() {
80 - epatch "${FILESDIR}/${P}-installfindlib.patch"
81 -}
82 -
83 -src_compile() {
84 - emake -j1
85 -
86 - if use doc; then
87 - emake doc
88 - fi
89 - if use gtk; then
90 - emake -j1 editor
91 - fi
92 -}
93 -
94 -src_install() {
95 - findlib_src_preinst
96 - emake install-findlib
97 -
98 - if use gtk; then
99 - if use ocamlopt; then
100 - newbin editor/editor.opt ocamlgraph_editor
101 - else
102 - newbin editor/editor.byte ocamlgraph_editor
103 - fi
104 - fi
105 - dodoc README CREDITS FAQ CHANGES
106 - if use doc; then
107 - dohtml doc/*
108 - fi
109 - if use examples; then
110 - insinto /usr/share/doc/${PF}
111 - doins -r examples
112 - docompress -x /usr/share/doc/${PF}/examples
113 - fi
114 -}