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/files/, dev-ml/ocaml-mysql/
Date: Thu, 26 Jan 2017 11:43:24
Message-Id: 1485430864.6d3e0504ab97a027080d851458498db736fff8e7.aballier@gentoo
1 commit: 6d3e0504ab97a027080d851458498db736fff8e7
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 26 11:41:04 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 11:41:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3e0504
7
8 dev-ml/ocaml-mysql: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/ocaml-mysql/Manifest | 2 --
13 dev-ml/ocaml-mysql/files/oc43.patch | 37 -------------------------
14 dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild | 39 --------------------------
15 dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild | 43 -----------------------------
16 4 files changed, 121 deletions(-)
17
18 diff --git a/dev-ml/ocaml-mysql/Manifest b/dev-ml/ocaml-mysql/Manifest
19 index 5589e83..34061a4 100644
20 --- a/dev-ml/ocaml-mysql/Manifest
21 +++ b/dev-ml/ocaml-mysql/Manifest
22 @@ -1,3 +1 @@
23 -DIST ocaml-mysql-1.1.1.tar.gz 119676 SHA256 f896fa101a05d81b85af8122fe1c2809008a5e5fdca00f9ceeb7eec356369e3a SHA512 a57e69bbde928aa15e4200cf08fe4504450ae95afbec96fab03412708986a628463acaadb1b66c8955baa0c8c8c5260ebeb2e961b907a056749c6546e006988f WHIRLPOOL dbc1ef77b1cb38002a852665561ff69234117d2c241a3d75769e7217b0e7fe40b7474be3da2781a9d28729c46274dab3d79a201b53320b4ce0140b2ea1492d5a
24 -DIST ocaml-mysql-1.2.0.tar.gz 99236 SHA256 6eb2c218c9a16b3c92ba4e8ecb91dbf34ef221623a0f88c29eb84511dd0b9dff SHA512 d8a45e4df63648b8481faee40e614840044b4d4c41d704cead2bf66e794140908df23d1f960bac39a366dad8cba39797225f25ea598d46801f9a9f48c54eaae3 WHIRLPOOL cb4e9f695ac5ae1e7edc0f6b25f3f5c74597d1d2c598f2ab721a9f6868e036b9d3c247225d406eed6b35b8bc31c02f0a35292925f1a8208c99dc3cc5256b2bbb
25 DIST ocaml-mysql-1.2.1.tar.gz 99250 SHA256 827a43e1341721eba5afe3acdec3d38bac87ff092918f529b0fc8c7df012ab1a SHA512 bf9b4a1bfcc1a8d356a2d74ea9d8de8dd201973b9dc89c06349e814c2368871f5f6ccc2eca25b33fa5fabf4b6d19a5b4b436a1e055b90468f16f575257121e64 WHIRLPOOL dbbb1a7acb0914c9ed829a12ddd58d0fee1e88d046bb624106b5e72abf932090d2da42cda9948a31183f1e01f8f8e10335520349fd2669a576622a4f1edff79a
26
27 diff --git a/dev-ml/ocaml-mysql/files/oc43.patch b/dev-ml/ocaml-mysql/files/oc43.patch
28 deleted file mode 100644
29 index 5782c34..00000000
30 --- a/dev-ml/ocaml-mysql/files/oc43.patch
31 +++ /dev/null
32 @@ -1,37 +0,0 @@
33 -Index: ocaml-mysql-1.2.0/mysql_stubs.c
34 -===================================================================
35 ---- ocaml-mysql-1.2.0.orig/mysql_stubs.c
36 -+++ ocaml-mysql-1.2.0/mysql_stubs.c
37 -@@ -508,14 +508,14 @@ db_fetch (value result)
38 -
39 - EXTERNAL value
40 - db_to_row(value result, value offset) {
41 -- int64 off = Int64_val(offset);
42 -+ int64_t off = Int64_val(offset);
43 - MYSQL_RES *res;
44 -
45 - res = RESval(result);
46 - if (!res)
47 - mysqlfailwith("Mysql.to_row: result did not return fetchable data");
48 -
49 -- if (off < 0 || off > (int64)mysql_num_rows(res)-1)
50 -+ if (off < 0 || off > (int64_t)mysql_num_rows(res)-1)
51 - invalid_argument("Mysql.to_row: offset out of range");
52 -
53 - mysql_data_seek(res, off);
54 -@@ -640,13 +640,13 @@ db_size(value result)
55 - {
56 - CAMLparam1(result);
57 - MYSQL_RES *res;
58 -- int64 size;
59 -+ int64_t size;
60 -
61 - res = RESval(result);
62 - if (!res)
63 - size = 0;
64 - else
65 -- size = (int64)(mysql_num_rows(res));
66 -+ size = (int64_t)(mysql_num_rows(res));
67 -
68 - CAMLreturn(copy_int64(size));
69 - }
70
71 diff --git a/dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild b/dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild
72 deleted file mode 100644
73 index b681c4b..00000000
74 --- a/dev-ml/ocaml-mysql/ocaml-mysql-1.1.1.ebuild
75 +++ /dev/null
76 @@ -1,39 +0,0 @@
77 -# Copyright 1999-2014 Gentoo Foundation
78 -# Distributed under the terms of the GNU General Public License v2
79 -# $Id$
80 -
81 -EAPI=5
82 -
83 -inherit findlib eutils
84 -
85 -IUSE="+ocamlopt"
86 -
87 -DESCRIPTION="A package for ocaml that provides access to mysql databases"
88 -SRC_URI="http://forge.ocamlcore.org/frs/download.php/870/${P}.tar.gz"
89 -HOMEPAGE="http://ocaml-mysql.forge.ocamlcore.org/"
90 -
91 -DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
92 - sys-libs/zlib
93 - >=virtual/mysql-4.0"
94 -
95 -RDEPEND="$DEPEND"
96 -
97 -SLOT="0/${PV}"
98 -LICENSE="LGPL-2"
99 -KEYWORDS="~amd64 ppc x86"
100 -
101 -src_compile()
102 -{
103 - emake all
104 - if use ocamlopt; then
105 - emake opt
106 - fi
107 -}
108 -
109 -src_install()
110 -{
111 - findlib_src_preinst
112 - emake install
113 -
114 - dodoc CHANGES README VERSION || die
115 -}
116
117 diff --git a/dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild b/dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild
118 deleted file mode 100644
119 index af4aeb1..00000000
120 --- a/dev-ml/ocaml-mysql/ocaml-mysql-1.2.0.ebuild
121 +++ /dev/null
122 @@ -1,43 +0,0 @@
123 -# Copyright 1999-2015 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -# $Id$
126 -
127 -EAPI=5
128 -
129 -inherit findlib eutils
130 -
131 -IUSE="+ocamlopt"
132 -
133 -DESCRIPTION="A package for ocaml that provides access to mysql databases"
134 -SRC_URI="https://forge.ocamlcore.org/frs/download.php/1500/${P}.tar.gz"
135 -HOMEPAGE="http://ocaml-mysql.forge.ocamlcore.org/"
136 -
137 -DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
138 - sys-libs/zlib
139 - >=virtual/mysql-4.0"
140 -
141 -RDEPEND="$DEPEND"
142 -
143 -SLOT="0/${PV}"
144 -LICENSE="LGPL-2"
145 -KEYWORDS="~amd64 ~ppc ~x86"
146 -
147 -src_prepare() {
148 - has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
149 -}
150 -
151 -src_compile()
152 -{
153 - emake all
154 - if use ocamlopt; then
155 - emake opt
156 - fi
157 -}
158 -
159 -src_install()
160 -{
161 - findlib_src_preinst
162 - emake install
163 -
164 - dodoc CHANGES README VERSION || die
165 -}