1 |
commit: d803e6f4a97c750088114366bb6699f8e312c0b5 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 17 05:48:42 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 17 05:48:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d803e6f4 |
7 |
|
8 |
dev-ml/pcre-ocaml: bump to 7.3.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/pcre-ocaml/Manifest | 1 + |
13 |
dev-ml/pcre-ocaml/pcre-ocaml-7.3.2.ebuild | 41 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/pcre-ocaml/Manifest b/dev-ml/pcre-ocaml/Manifest |
17 |
index 692908ab764..948423720aa 100644 |
18 |
--- a/dev-ml/pcre-ocaml/Manifest |
19 |
+++ b/dev-ml/pcre-ocaml/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
+DIST pcre-ocaml-7.3.2.tbz 38445 SHA256 a5d35c9998b6cb9ead1b1c5bb4ad88120c7bbffa26b1cfbf9135fa0a4c298854 SHA512 727b129172c8c119fcb0d4ae249a3842109e3b9ab412e674af156e7bcdf0fce0bcb9561cbfe52d99002a668f0e5f145fa54d052b67a5c2eb30a1881ad4217767 WHIRLPOOL d342aac7b2d707c4458b1256cfc4400bfee4c314fc9f7dccf852ab958b5e1b872823967538d63fd5389f822bf1ba9c658f70532cdb3a82ca1d01856cf40fa73d |
24 |
|
25 |
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-7.3.2.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-7.3.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..869d45b107c |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/pcre-ocaml/pcre-ocaml-7.3.2.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit opam |
37 |
+ |
38 |
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml" |
39 |
+HOMEPAGE="http://mmottl.github.io/pcre-ocaml/ https://github.com/mmottl/pcre-ocaml" |
40 |
+SRC_URI="https://github.com/mmottl/pcre-ocaml/releases/download/${PV}/pcre-${PV}.tbz -> ${P}.tbz" |
41 |
+LICENSE="LGPL-2.1-with-linking-exception" |
42 |
+IUSE="examples" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64 ~ppc ~x86-fbsd" |
45 |
+ |
46 |
+RDEPEND=">=dev-libs/libpcre-4.5" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ dev-ml/jbuilder |
49 |
+ dev-ml/base |
50 |
+ dev-ml/stdio |
51 |
+ dev-ml/configurator |
52 |
+" |
53 |
+ |
54 |
+S="${WORKDIR}/pcre-${PV}" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ jbuilder build @install || die |
58 |
+} |
59 |
+ |
60 |
+src_test() { |
61 |
+ jbuilder runtest || die |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ opam_src_install pcre |
66 |
+ |
67 |
+ if use examples ; then |
68 |
+ insinto /usr/share/doc/${PF} |
69 |
+ doins -r examples |
70 |
+ fi |
71 |
+} |