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/pcre-ocaml/
Date: Wed, 02 Aug 2017 11:23:19
Message-Id: 1501672969.655d847b6bb0bc9176299ed0ec64755186e875bf.aballier@gentoo
1 commit: 655d847b6bb0bc9176299ed0ec64755186e875bf
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 2 10:39:29 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 2 11:22:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=655d847b
7
8 dev-ml/pcre-ocaml: bump to 7.3.0
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/pcre-ocaml/Manifest | 1 +
13 dev-ml/pcre-ocaml/pcre-ocaml-7.3.0.ebuild | 36 +++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-ml/pcre-ocaml/Manifest b/dev-ml/pcre-ocaml/Manifest
17 index b486f994ab7..692908ab764 100644
18 --- a/dev-ml/pcre-ocaml/Manifest
19 +++ b/dev-ml/pcre-ocaml/Manifest
20 @@ -1 +1,2 @@
21 DIST pcre-ocaml-7.2.3.tar.gz 88307 SHA256 6339694dbeb706c5097180ed1d79b2dae681bf155a4780a7909af49b0e6f4666 SHA512 3df4bdbbed5e1ecf4bdf15fc461f2ea65e1556af9c1683e194c8824e21da5274dd80c22c1f6676fca203305ec4244d47e09f0ef8c601bfa95f7237bb07c1ee65 WHIRLPOOL 5835811cc1aecfffa9a49704db545ff20a30089ad7bb2b9394cf20dc9c657b0f102d12e48c8eaab9d8e95eee3ca756b60a17e1715e0aca05b7a9665d6dcc558f
22 +DIST pcre-ocaml-7.3.0.tbz 38126 SHA256 c34af191868266d2919962b53a3a7321a7b1fb0a5619c779e2188c6daa164546 SHA512 bf2a5d188183a7f73d5a7eace98f225165e6b50828b061649e88922ca4d4705022551bce15b9b8319fc91734c77ee48182677cdb1abd754ae44c6f9412bd11e3 WHIRLPOOL 48160bf6e53a56710da6842931a171a48d8374cb547e1366f528c0eb58c55c863a47d87b13d0cc9db6aa9fc2821cbbe51c4ff6bdbeef9b0bdcb1d406d5f7b23e
23
24 diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-7.3.0.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-7.3.0.ebuild
25 new file mode 100644
26 index 00000000000..c28f4a1d643
27 --- /dev/null
28 +++ b/dev-ml/pcre-ocaml/pcre-ocaml-7.3.0.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +inherit opam
36 +
37 +DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
38 +HOMEPAGE="http://mmottl.github.io/pcre-ocaml/ https://github.com/mmottl/pcre-ocaml"
39 +SRC_URI="https://github.com/mmottl/pcre-ocaml/releases/download/${PV}/pcre-${PV}.tbz -> ${P}.tbz"
40 +LICENSE="LGPL-2.1-with-linking-exception"
41 +IUSE="examples"
42 +SLOT="0/${PV}"
43 +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
44 +
45 +RDEPEND=">=dev-libs/libpcre-4.5"
46 +DEPEND="${RDEPEND} dev-ml/jbuilder"
47 +
48 +S="${WORKDIR}/pcre-${PV}"
49 +
50 +src_compile() {
51 + jbuilder build @install || die
52 +}
53 +
54 +src_test() {
55 + jbuilder runtest || die
56 +}
57 +
58 +src_install() {
59 + opam_src_install pcre
60 +
61 + if use examples ; then
62 + insinto /usr/share/doc/${PF}
63 + doins -r examples
64 + fi
65 +}