1 |
commit: ec8a5478b8b65138b052afdd20a52254e0db707b |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 22 10:06:17 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 22 10:06:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8a5478 |
7 |
|
8 |
dev-ml/pgocaml: bump to 2.3 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ml/pgocaml/Manifest | 1 + |
14 |
dev-ml/pgocaml/metadata.xml | 3 +++ |
15 |
dev-ml/pgocaml/pgocaml-2.3.ebuild | 33 +++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 37 insertions(+) |
17 |
|
18 |
diff --git a/dev-ml/pgocaml/Manifest b/dev-ml/pgocaml/Manifest |
19 |
index 80c64cd..97c8a30 100644 |
20 |
--- a/dev-ml/pgocaml/Manifest |
21 |
+++ b/dev-ml/pgocaml/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pgocaml-2.2.tgz 88613 SHA256 3027ca823f9f3db24475bd36e5628ee259605d72048d889be3b7e32c3e850d74 SHA512 1358e377d46aeb8fa00f44ba47dcc61097919584accc96264ae751cd2d6b8380dd2135109d5f6bf7963f3b448ee59046210c6335a3750deed4ad0ce5fc0a9d8d WHIRLPOOL 53da87c02670d493ff0dd12c467d69bac630aa9fe5141be074f328722c305611ad951d14fafe941961dd40d4b6af012ef4e3a305bb6df96734c13f01473c4520 |
24 |
+DIST pgocaml-2.3.tgz 90383 SHA256 ef8ec253a752eb31e535d845440185b95c4de31db8c5c955e79638b669af9ea2 SHA512 f42ca8ccf31f9e03cfa9f81a9cd19c2a6010c33f5a578e76924683fd10ab4acf2727b09b71c5a8f200bc39765a5d876a289976fea367b49ae54335c007fd3ff7 WHIRLPOOL 48a8adb944db6bce29f818f287d47b35d0b776f3eb5bb68e0e835a4ac451405d46bbd3fcdc14c1ee9542f9b0afecd5e7b98a2f74d32fdbb7efe61c232414a0f7 |
25 |
|
26 |
diff --git a/dev-ml/pgocaml/metadata.xml b/dev-ml/pgocaml/metadata.xml |
27 |
index 76bbff9..5916b25 100644 |
28 |
--- a/dev-ml/pgocaml/metadata.xml |
29 |
+++ b/dev-ml/pgocaml/metadata.xml |
30 |
@@ -5,4 +5,7 @@ |
31 |
<email>ml@g.o</email> |
32 |
<name>Gentoo ML Project</name> |
33 |
</maintainer> |
34 |
+ <use> |
35 |
+ <flag name="camlp4">Enable PG'Ocaml syntax extension.</flag> |
36 |
+ </use> |
37 |
</pkgmetadata> |
38 |
|
39 |
diff --git a/dev-ml/pgocaml/pgocaml-2.3.ebuild b/dev-ml/pgocaml/pgocaml-2.3.ebuild |
40 |
new file mode 100644 |
41 |
index 0000000..c9e22b4 |
42 |
--- /dev/null |
43 |
+++ b/dev-ml/pgocaml/pgocaml-2.3.ebuild |
44 |
@@ -0,0 +1,33 @@ |
45 |
+# Copyright 1999-2015 Gentoo Foundation |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+# $Id$ |
48 |
+ |
49 |
+EAPI=5 |
50 |
+ |
51 |
+OASIS_BUILD_DOCS=1 |
52 |
+ |
53 |
+inherit oasis |
54 |
+ |
55 |
+DESCRIPTION="PG'OCaml is a set of OCaml bindings for the PostgreSQL database" |
56 |
+HOMEPAGE="http://pgocaml.forge.ocamlcore.org/" |
57 |
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1597/${P}.tgz" |
58 |
+ |
59 |
+LICENSE="LGPL-2.1-with-linking-exception" |
60 |
+SLOT="0/${PV}" |
61 |
+KEYWORDS="~amd64" |
62 |
+IUSE="camlp4 doc" |
63 |
+ |
64 |
+DEPEND="dev-ml/calendar:= |
65 |
+ dev-ml/csv:= |
66 |
+ dev-ml/pcre-ocaml:= |
67 |
+ camlp4? ( dev-ml/camlp4:= )" |
68 |
+RDEPEND="${DEPEND}" |
69 |
+ |
70 |
+DOCS=( "README.md" "CHANGELOG.txt" |
71 |
+ "doc/BUGS.txt" "doc/CONTRIBUTORS.txt" |
72 |
+ "doc/HOW_IT_WORKS.txt" "doc/PROFILING.txt" |
73 |
+ ) |
74 |
+ |
75 |
+src_configure() { |
76 |
+ oasis_configure_opts="$(use_enable camlp4 p4)" oasis_src_configure |
77 |
+} |