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/postgresql-ocaml/
Date: Tue, 17 Oct 2017 06:04:25
Message-Id: 1508219383.7dcfa8c5ddfed3445cf3eaf628ca8a8410bec091.aballier@gentoo
1 commit: 7dcfa8c5ddfed3445cf3eaf628ca8a8410bec091
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 17 05:49:43 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 05:49:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dcfa8c5
7
8 dev-ml/postgresql-ocaml: bump to 4.2.0
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 dev-ml/postgresql-ocaml/Manifest | 1 +
13 .../postgresql-ocaml/postgresql-ocaml-4.2.0.ebuild | 34 ++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-ml/postgresql-ocaml/Manifest b/dev-ml/postgresql-ocaml/Manifest
17 index 8f482329e73..a35f42d3577 100644
18 --- a/dev-ml/postgresql-ocaml/Manifest
19 +++ b/dev-ml/postgresql-ocaml/Manifest
20 @@ -1,2 +1,3 @@
21 DIST postgresql-4.1.0.tbz 36689 SHA256 8e663f70a85e6aff78323a4a6d606141adb6c10bad812a8ac9a693975a64ca5e SHA512 5749e426634f00fc8aab86e4c23f863ebdebc9bb77c121dea1c516c8bd5524096051975514daa47abe1556355bc4a1994d6634aae09736a508a9b6552b134d42 WHIRLPOOL 6a1ac952cc2448eee9324a5655196b6a149d2c3ef8058def24bfaa983793e77e116e2f2b416c8853acc25dfb9bc9966a7681291aa1bcd076a83539dcd972630e
22 +DIST postgresql-4.2.0.tbz 37463 SHA256 6bc19ab9093463d960e7a78766f76336f8a57d2a8fa23b8393db26a652b4ed61 SHA512 21a9d89c2fdaf5862b350aecffe1a675ecbeef42e138e09c03d14551b25622910014582c98877882746f9fc56ef5f1248c5b00a6a61d7bcd6d757c451a7844d8 WHIRLPOOL c0a3132d9c4051ace4d5d2f8765589eae054855ca53306635a5ffa4a3dcfc9f123d78811c481fe0a239dec7970f11f796337b501f06579d642186e314d8aa0b4
23 DIST postgresql-ocaml-4.0.1.tar.gz 85871 SHA256 07d8fdb5c161b30809876375c43ebf29e5b99a475ee6b019b6fee3a80c18a4cb SHA512 baecd1b3b98f790131972dbd2eba563b43dec6e13e37ab904ee38b2b1168b03533272532887a42a2536806951c9e543306c6eccfb441de517ee860383ea5df36 WHIRLPOOL 71562d46b8688b4319f6fae06aeaea866e397cf6ce9f533b096d8d9f0850b2746fdffca6f4f234cc23cfb433d8124f559f89971d32554a756e88234c5a311e6d
24
25 diff --git a/dev-ml/postgresql-ocaml/postgresql-ocaml-4.2.0.ebuild b/dev-ml/postgresql-ocaml/postgresql-ocaml-4.2.0.ebuild
26 new file mode 100644
27 index 00000000000..0a85bb94913
28 --- /dev/null
29 +++ b/dev-ml/postgresql-ocaml/postgresql-ocaml-4.2.0.ebuild
30 @@ -0,0 +1,34 @@
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 +MY_P="postgresql-${PV}"
39 +
40 +DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases"
41 +SRC_URI="https://github.com/mmottl/postgresql-ocaml/releases/download/${PV}/${MY_P}.tbz"
42 +HOMEPAGE="http://mmottl.github.io/postgresql-ocaml/"
43 +IUSE=""
44 +
45 +RDEPEND="
46 + dev-db/postgresql:=[server]
47 +"
48 +DEPEND="${RDEPEND}
49 + dev-ml/jbuilder
50 + >=dev-ml/findlib-1.5"
51 +
52 +SLOT="0/${PV}"
53 +LICENSE="LGPL-2"
54 +KEYWORDS="~amd64 ~ppc ~x86"
55 +
56 +S="${WORKDIR}/${MY_P}"
57 +
58 +src_compile() {
59 + jbuilder build @install || die
60 +}
61 +
62 +src_install() {
63 + opam_src_install "postgresql"
64 +}