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/ocaml-make/
Date: Wed, 02 Aug 2017 11:29:16
Message-Id: 1501673348.451d1a4a629391718e1cb11628941b43fefb65c3.aballier@gentoo
1 commit: 451d1a4a629391718e1cb11628941b43fefb65c3
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 2 11:28:41 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 2 11:29:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451d1a4a
7
8 dev-ml/ocaml-make: bump to 6.39.0 from github
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/ocaml-make/Manifest | 1 +
13 dev-ml/ocaml-make/metadata.xml | 2 +-
14 dev-ml/ocaml-make/ocaml-make-6.39.0.ebuild | 31 ++++++++++++++++++++++++++++++
15 3 files changed, 33 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-ml/ocaml-make/Manifest b/dev-ml/ocaml-make/Manifest
18 index c975f758384..637f296a1a4 100644
19 --- a/dev-ml/ocaml-make/Manifest
20 +++ b/dev-ml/ocaml-make/Manifest
21 @@ -1 +1,2 @@
22 DIST ocaml-makefile-6.37.0.tar.gz 49202 SHA256 99ff58080ed154cc4bd70f915fe4760dffb026a1c0447caa0b3bdb982b24b0a8 SHA512 19d318f8b03116c3e999b61c1a2708f483873ab7ae9260225df79888a86eb39e77867fdefe0df23a50ac1fd422b3b774f96b5b58d9dec449710527df1075a36d WHIRLPOOL d681ae29db4dc6c2731f7a7655295e4c462f3dd24608cf4c4c628f00615531d3ec8f869f1732702e5c2523605a7a7d84a043b8b6deddafed6d0e4ee530e19c7c
23 +DIST ocaml-makefile-6.39.0.tbz 42477 SHA256 96fb83f9edc5dcda956c332c3300248463370bd1442734ee12951536fecb6277 SHA512 54a52c243ce23eba286502aa28ccdbb412aba7cf3ed90e3079ab1b187e61edc8a3197536d5c054b03a871eadbdd0e3b93c47904cb0594ccc2c4ce66ed31daa21 WHIRLPOOL 3f16e4f2a42508eb2b2f168467e36d07fb4f2cb13052d5f6a625cf2d724cfb7cf385ffaadc3518d5fe05e28789a60184e6791db2d81d339377321a569e8e2367
24
25 diff --git a/dev-ml/ocaml-make/metadata.xml b/dev-ml/ocaml-make/metadata.xml
26 index e9d7d07d42e..c6bc6c199a2 100644
27 --- a/dev-ml/ocaml-make/metadata.xml
28 +++ b/dev-ml/ocaml-make/metadata.xml
29 @@ -6,6 +6,6 @@
30 <name>Gentoo ML Project</name>
31 </maintainer>
32 <upstream>
33 - <remote-id type="bitbucket">mmottl/ocaml-makefile</remote-id>
34 + <remote-id type="github">mmottl/ocaml-makefile</remote-id>
35 </upstream>
36 </pkgmetadata>
37
38 diff --git a/dev-ml/ocaml-make/ocaml-make-6.39.0.ebuild b/dev-ml/ocaml-make/ocaml-make-6.39.0.ebuild
39 new file mode 100644
40 index 00000000000..e220e306ac9
41 --- /dev/null
42 +++ b/dev-ml/ocaml-make/ocaml-make-6.39.0.ebuild
43 @@ -0,0 +1,31 @@
44 +# Copyright 1999-2017 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=4
48 +
49 +DESCRIPTION="Generic O'Caml Makefile for GNU Make"
50 +HOMEPAGE="http://mmottl.github.io/ocaml-makefile/ https://github.com/mmottl/ocaml-makefile"
51 +LICENSE="LGPL-2.1"
52 +
53 +DEPEND=""
54 +RDEPEND=">=dev-lang/ocaml-3.06-r1
55 + >=dev-ml/findlib-0.8"
56 +SRC_URI="https://github.com/mmottl/ocaml-makefile/releases/download/${PV}/ocaml-makefile-${PV}.tbz"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
59 +IUSE="examples"
60 +S="${WORKDIR}/${PN}file-${PV}"
61 +
62 +src_install () {
63 + # Just put the OCamlMakefile into /usr/include
64 + # where GNU Make will automatically pick it up.
65 + insinto /usr/include
66 + doins OCamlMakefile
67 + # install documentation
68 + dodoc README.md CHANGES.md
69 +
70 + if use examples; then
71 + insinto /usr/share/doc/${PF}
72 + doins -r calc camlp4 gtk idl threads
73 + fi
74 +}