Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlp5/
Date: Mon, 10 Feb 2020 00:53:54
Message-Id: 1581296017.265051f1c0d66801b385cfce96b75163a973b04a.fordfrog@gentoo
1 commit: 265051f1c0d66801b385cfce96b75163a973b04a
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 10 00:49:58 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 00:53:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265051f1
7
8 dev-ml/camlp5: bump to 7.11
9
10 Bug: https://bugs.gentoo.org/708924
11 Package-Manager: Portage-2.3.88, Repoman-2.3.20
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 dev-ml/camlp5/Manifest | 1 +
15 dev-ml/camlp5/camlp5-7.11.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 49 insertions(+)
17
18 diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest
19 index 8b95932ffc1..e8a48e6da5c 100644
20 --- a/dev-ml/camlp5/Manifest
21 +++ b/dev-ml/camlp5/Manifest
22 @@ -3,3 +3,4 @@ DIST camlp5-7.00.tar.gz 755750 BLAKE2B b047422ff34c4d15c21b65bd7473ccdad8bfc1f48
23 DIST camlp5-7.01.tar.gz 757118 BLAKE2B 5d7c6f39f24bfee545552aae5c126305d2c767d06762aa516c21bcc5b327b312b7c38d742717eb507b92ae1e27de9c0fcde4d616754a7ce616b5f56689c8dc5a SHA512 9930957f707d9d2c8903f87f5f3444f71bad3d84c944436c7abc6de19209595c974098cd60a6a391f8ae87c4fb53b5122cba8e42e34fcf46d798dbdc28840008
24 DIST camlp5-7.03.tar.gz 758136 BLAKE2B 4e1169adf7e119f1f659fe684a8b06c4730db3bcd7807169552de0e3fc115f8d45bc11961f3aee0a9c2d86e1130ec776a1bb7753d7d4e95f661d65d1f841406c SHA512 0c76d469c5f8c727088f3136107b6690349b50791ef8baefffdaa90141230907f977a7a886a9e8d88d39d8fa315637d882d0205c57d752e16575c888a8a1f54d
25 DIST camlp5-7.10.tar.gz 849559 BLAKE2B b05624156e914c2657d76afbf3dfacd295fe5985ae3809959a40029a8052669be6ae8a6ff889fbf2c602d3f19c9995f013b388c140738f4bb4f4da9970911ed5 SHA512 faa9e88f56477162038fc80429d5839c93b3e38aec90366730babe737e2e6bb260dc39975947a6601212cc0c68f465bdbccb6337da23c07181909dfb11cf8640
26 +DIST camlp5-7.11.tar.gz 878224 BLAKE2B f384764da43653a2f75664681a4f202ec84497720470a0a33f99fc61a1ce7b4a9d494ffe6b523c74906c122ee04ae25a08bf1fcd356145e85a11e3e3095bbf7d SHA512 109a43f0a3aaa7a3ba9bd51b1fc1273b054d32787e189b138d69b39c42642b480c13abb9e91f15e6b6e889eaf4dc422ad3ff51e4dee298fb9d8cd9a2db99c159
27
28 diff --git a/dev-ml/camlp5/camlp5-7.11.ebuild b/dev-ml/camlp5/camlp5-7.11.ebuild
29 new file mode 100644
30 index 00000000000..542b744b42f
31 --- /dev/null
32 +++ b/dev-ml/camlp5/camlp5-7.11.ebuild
33 @@ -0,0 +1,48 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit findlib
40 +
41 +DESCRIPTION="A preprocessor-pretty-printer of ocaml"
42 +HOMEPAGE="https://camlp5.github.io/"
43 +SRC_URI="https://github.com/camlp5/camlp5/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
44 +S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
45 +
46 +LICENSE="BSD"
47 +SLOT="0/${PV}"
48 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
49 +IUSE="doc +ocamlopt"
50 +
51 +DEPEND="dev-lang/ocaml"
52 +RDEPEND="${DEPEND}"
53 +
54 +DOCS="CHANGES DEVEL ICHANGES README.md UPGRADING MODE"
55 +
56 +src_configure() {
57 + ./configure \
58 + --strict \
59 + -prefix /usr \
60 + -bindir /usr/bin \
61 + -libdir /usr/$(get_libdir)/ocaml \
62 + -mandir /usr/share/man || die "configure failed"
63 +}
64 +
65 +src_compile(){
66 + emake out
67 + if use ocamlopt; then
68 + emake opt
69 + emake opt.opt
70 + fi
71 +}
72 +
73 +src_install() {
74 + use doc && HTML_DOCS="doc/*"
75 +
76 + default
77 +
78 + # findlib support
79 + insinto "$(ocamlfind printconf destdir)/${PN}"
80 + doins etc/META
81 +}