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/camlp4/
Date: Sat, 14 Oct 2017 11:13:56
Message-Id: 1507979621.844892b5e74474368a033d33c7bd6a24bd60ee65.aballier@gentoo
1 commit: 844892b5e74474368a033d33c7bd6a24bd60ee65
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 14 11:11:28 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 14 11:13:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844892b5
7
8 dev-ml/camlp4: bump to 4.06
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 dev-ml/camlp4/Manifest | 1 +
13 dev-ml/camlp4/camlp4-4.06_p1.ebuild | 43 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest
17 index 48b32e950d2..da827fcfe7e 100644
18 --- a/dev-ml/camlp4/Manifest
19 +++ b/dev-ml/camlp4/Manifest
20 @@ -1,2 +1,3 @@
21 DIST camlp4-4.04_p1.tar.gz 648320 SHA256 6044f24a44053684d1260f19387e59359f59b0605cdbf7295e1de42783e48ff1 SHA512 7db8eebcf3d230f60650ba62d9cb630c069394237e97b678a40b61d3dcaded752a2b7e089a50ff528f1ea0740d0291b722df123a072f2cee489cadc5201c6776 WHIRLPOOL 6cfed59e81dbd92debe23670657eb7e96125105fccb7b20a8e16553090cc9a0e8c732b8e0cac1a9b39e172aa8dfaae145ba8827948f371aeaa69345f3ba39096
22 DIST camlp4-4.05_p1.tar.gz 647566 SHA256 9819b5c7a5c1a4854be18020ef312bfec6541e26c798a5c863be875bfd7e8e2b SHA512 0ee9720286d0d832fb7d2d21a8877856e0e47c94c86b1b58d28f8e757a18472eecb56a16e3a04ce815f240dd5048f5d597515461d084fd1cf4da1b121f97a3fe WHIRLPOOL 0f89cd42bac84ba13d373160bf33452fc1cc31e0f6529aa1da2ff372e5cbb69868247461c17ac4fccd50528f97abe8009d899129c73afab8ce799791b259cc77
23 +DIST camlp4-4.06_p1.tar.gz 648566 SHA256 b1cc51449da0537f6886e380815b716e7adc9d9a12d6098a06db2b2525bab922 SHA512 32be92c4e64a985a3d2880e2201351961a4b7138a8be6e3f17e9b8e038a1660d13596f29fe0249c8c4183cd8cd06277cebc58f42609c8d2028032e893490fe43 WHIRLPOOL 0bb305789379ab043aa9be462fecdee3a043cabef2570c2dfcaa343e0dd7012626ca68c2a351be782bc75ce2a7737fc3f0f2ec233c5f0320b6f67de10184df71
24
25 diff --git a/dev-ml/camlp4/camlp4-4.06_p1.ebuild b/dev-ml/camlp4/camlp4-4.06_p1.ebuild
26 new file mode 100644
27 index 00000000000..dad0b29eee6
28 --- /dev/null
29 +++ b/dev-ml/camlp4/camlp4-4.06_p1.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +
36 +MY_PV=${PV/_p/+}
37 +MY_P=${PN}-${MY_PV}
38 +
39 +DESCRIPTION="System for writing extensible parsers for programming languages"
40 +HOMEPAGE="https://github.com/ocaml/camlp4"
41 +SRC_URI="https://github.com/ocaml/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="LGPL-2-with-linking-exception"
44 +SLOT="0/${PV}"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
46 +IUSE="+ocamlopt"
47 +
48 +DEPEND=">=dev-lang/ocaml-4.06_beta:=[ocamlopt?]"
49 +RDEPEND="${DEPEND}
50 + !<dev-lang/ocaml-4.02
51 + !<dev-ml/findlib-1.5.5-r1"
52 +DEPEND="${DEPEND}
53 + dev-ml/ocamlbuild"
54 +
55 +S=${WORKDIR}/${P/_p/-}
56 +
57 +src_configure() {
58 + ./configure \
59 + --bindir="${EPREFIX}/usr/bin" \
60 + --libdir="$(ocamlc -where)" \
61 + --pkgdir="$(ocamlc -where)" \
62 + || die
63 +}
64 +
65 +src_compile() {
66 + emake byte
67 + use ocamlopt && emake native
68 +}
69 +
70 +src_install() {
71 + emake DESTDIR="${D}" install install-META
72 + dodoc CHANGES.md README.md
73 +}