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/ocaml-mysql/
Date: Thu, 28 Sep 2017 12:50:25
Message-Id: 1506602708.2e92f2133a0f7af9498a876b2f1d0a2743c9ba94.aballier@gentoo
1 commit: 2e92f2133a0f7af9498a876b2f1d0a2743c9ba94
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 28 12:44:42 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 12:45:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e92f213
7
8 dev-ml/ocaml-mysql: bump to 1.2.2
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 dev-ml/ocaml-mysql/Manifest | 1 +
13 dev-ml/ocaml-mysql/ocaml-mysql-1.2.2.ebuild | 38 +++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-ml/ocaml-mysql/Manifest b/dev-ml/ocaml-mysql/Manifest
17 index 34061a4b0fc..6fa63fa5a21 100644
18 --- a/dev-ml/ocaml-mysql/Manifest
19 +++ b/dev-ml/ocaml-mysql/Manifest
20 @@ -1 +1,2 @@
21 DIST ocaml-mysql-1.2.1.tar.gz 99250 SHA256 827a43e1341721eba5afe3acdec3d38bac87ff092918f529b0fc8c7df012ab1a SHA512 bf9b4a1bfcc1a8d356a2d74ea9d8de8dd201973b9dc89c06349e814c2368871f5f6ccc2eca25b33fa5fabf4b6d19a5b4b436a1e055b90468f16f575257121e64 WHIRLPOOL dbbb1a7acb0914c9ed829a12ddd58d0fee1e88d046bb624106b5e72abf932090d2da42cda9948a31183f1e01f8f8e10335520349fd2669a576622a4f1edff79a
22 +DIST ocaml-mysql-1.2.2.tar.gz 99136 SHA256 fac7873c53ebe8d08c35701c77780d3fdae3b71d536238b6630932dd44e0987d SHA512 2af13de017b73a31c23e0536fd10679eaf5c0692741d19729b08ab58f4d2585f8f7faf0cfac1e3ccc3d3ceffcbd1740f62621ba678c50f545fc3a3a36a17742f WHIRLPOOL 2020a0d8c3009fb82a15555b6c9ddb25cf0d84255ba690269a96edaebb10c1cf487e805b7006700db6e448e80e76299baadc0bf2124497b5b9f3bdff4450e4f4
23
24 diff --git a/dev-ml/ocaml-mysql/ocaml-mysql-1.2.2.ebuild b/dev-ml/ocaml-mysql/ocaml-mysql-1.2.2.ebuild
25 new file mode 100644
26 index 00000000000..a1afca457cf
27 --- /dev/null
28 +++ b/dev-ml/ocaml-mysql/ocaml-mysql-1.2.2.ebuild
29 @@ -0,0 +1,38 @@
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 findlib eutils
36 +
37 +IUSE="+ocamlopt"
38 +
39 +DESCRIPTION="A package for ocaml that provides access to mysql databases"
40 +SRC_URI="http://ygrek.org.ua/p/release/ocaml-mysql/${P}.tar.gz"
41 +HOMEPAGE="http://ocaml-mysql.forge.ocamlcore.org/"
42 +
43 +DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
44 + sys-libs/zlib
45 + >=virtual/mysql-4.0"
46 +
47 +RDEPEND="$DEPEND"
48 +
49 +SLOT="0/${PV}"
50 +LICENSE="LGPL-2"
51 +KEYWORDS="~amd64 ~ppc ~x86"
52 +
53 +src_compile()
54 +{
55 + emake all
56 + if use ocamlopt; then
57 + emake -j1 opt
58 + fi
59 +}
60 +
61 +src_install()
62 +{
63 + findlib_src_preinst
64 + emake install
65 +
66 + dodoc CHANGES README VERSION || die
67 +}