Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlzip/
Date: Mon, 17 Feb 2020 07:35:30
Message-Id: 1581924896.1fc431bc2806da596754fb525faab6b9f7690116.tupone@gentoo
1 commit: 1fc431bc2806da596754fb525faab6b9f7690116
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 17 07:34:56 2020 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 17 07:34:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc431bc
7
8 dev-ml/camlzip: Version bump to 1.10
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ml/camlzip/Manifest | 1 +
14 dev-ml/camlzip/camlzip-1.10.ebuild | 37 +++++++++++++++++++++++++++++++++++++
15 dev-ml/camlzip/metadata.xml | 5 ++++-
16 3 files changed, 42 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-ml/camlzip/Manifest b/dev-ml/camlzip/Manifest
19 index 7f733dd0ac0..8b3dab8a648 100644
20 --- a/dev-ml/camlzip/Manifest
21 +++ b/dev-ml/camlzip/Manifest
22 @@ -1,2 +1,3 @@
23 DIST camlzip-1.06.tar.gz 26499 BLAKE2B a7a1dbe157c0dcb9847bcd6324bbb7cbaf39342d0fdbaed51d2c004ae7b03f8d655fb15da50dae6190b976675e405e28fa2d4fa35a2f4372c50519564d58f981 SHA512 5ef0172927106589620678897f12f054533503a5cf13df71bf4deda43f223d0cd6acce118977e87bce53afe289f367b851f192a8e693274c2bd13549121019dd
24 DIST camlzip-1.07.tar.gz 26652 BLAKE2B f373ac0427faa9b6a846e9db8f3e48c00ec6885b8a11cc09fae96b5a7656908f172fda73dbea8ddd1b3dbfd98bcfa3e2e67ce9faf2942d1e260fc0a804813a05 SHA512 b92e9db002b9b398fd132c6ecd8098fac4cc7ddb3f770cc412990dcdf4bd62ba358c762d31fb0b5cd6b32f20d3bf4b3410ca6e86c511a438b92ece940f9831bd
25 +DIST camlzip-1.10.tar.gz 27335 BLAKE2B bbf24953634278589395dd9fcedf1e3becce8dad1f380393dc3ac59589143e1685dc14085ef566e12fb751c6f1a333dd368795a5083b94a43b71e058e86489f3 SHA512 5c42e0d808230e3820b2e7ef34b544ca51a7bf0a484ce4e1c8b1e4966133196bb3ff7c3ca85b9c50050aca389316eb52f0335f6e2ad60c000594a33171b9a9a9
26
27 diff --git a/dev-ml/camlzip/camlzip-1.10.ebuild b/dev-ml/camlzip/camlzip-1.10.ebuild
28 new file mode 100644
29 index 00000000000..3c6a128e841
30 --- /dev/null
31 +++ b/dev-ml/camlzip/camlzip-1.10.ebuild
32 @@ -0,0 +1,37 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit findlib
39 +
40 +IUSE="+ocamlopt"
41 +
42 +DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
43 +HOMEPAGE="https://github.com/xavierleroy/camlzip"
44 +SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
45 +
46 +SLOT="1/${PV}"
47 +LICENSE="LGPL-2.1"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
49 +
50 +RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]
51 + >=sys-libs/zlib-1.1.3"
52 +DEPEND="${RDEPEND}"
53 +
54 +S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
55 +
56 +src_compile() {
57 + emake all
58 + if use ocamlopt; then
59 + emake allopt
60 + fi
61 +}
62 +
63 +src_install() {
64 + findlib_src_preinst
65 + emake DESTDIR="${D}" install-findlib
66 + dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a
67 +
68 + dodoc README Changes
69 +}
70
71 diff --git a/dev-ml/camlzip/metadata.xml b/dev-ml/camlzip/metadata.xml
72 index 57e9234a0ba..e9aafd4d014 100644
73 --- a/dev-ml/camlzip/metadata.xml
74 +++ b/dev-ml/camlzip/metadata.xml
75 @@ -1,7 +1,10 @@
76 <?xml version="1.0" encoding="UTF-8"?>
77 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
78 <pkgmetadata>
79 - <!-- maintainer-needed -->
80 + <maintainer type="person">
81 + <email>tupone@g.o</email>
82 + <name>Tupone Alfredo</name>
83 + </maintainer>
84 <upstream>
85 <remote-id type="github">xavierleroy/camlzip</remote-id>
86 </upstream>