Gentoo Archives: gentoo-commits

From: Guillaume Horel <guillaume.horel@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
Date: Sun, 05 Jun 2016 16:04:28
Message-Id: 1465142624.c67313e237d5ffae23cd93194b90fda95197b411.guillaume_horel@gentoo
1 commit: c67313e237d5ffae23cd93194b90fda95197b411
2 Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 5 16:03:44 2016 +0000
4 Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
5 CommitDate: Sun Jun 5 16:03:44 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c67313e2
7
8 dev-ml/zarith: remove since in main tree
9
10 dev-ml/zarith/metadata.xml | 18 -------------
11 dev-ml/zarith/zarith-1.2.1.ebuild | 54 ---------------------------------------
12 2 files changed, 72 deletions(-)
13
14 diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
15 deleted file mode 100644
16 index e8c58a4..0000000
17 --- a/dev-ml/zarith/metadata.xml
18 +++ /dev/null
19 @@ -1,18 +0,0 @@
20 -<?xml version="1.0" encoding="UTF-8"?>
21 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
22 -<pkgmetadata>
23 - <maintainer type="project">
24 - <email>sci-mathematics@g.o</email>
25 - <name>Gentoo Mathematics Project</name>
26 - </maintainer>
27 - <longdescription>
28 - The Zarith library implements arithmetic and logical operations over
29 - arbitrary-precision integers. It uses GMP to efficiently implement
30 - arithmetic over big integers. Small integers are represented as Caml
31 - unboxed integers, for speed and space economy.
32 -</longdescription>
33 - <use>
34 - <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> for arbitrary
35 - precision integer arithmetic</flag>
36 - </use>
37 -</pkgmetadata>
38
39 diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
40 deleted file mode 100644
41 index cd0fa27..0000000
42 --- a/dev-ml/zarith/zarith-1.2.1.ebuild
43 +++ /dev/null
44 @@ -1,54 +0,0 @@
45 -# Copyright 1999-2016 Gentoo Foundation
46 -# Distributed under the terms of the GNU General Public License v2
47 -# $Id$
48 -
49 -EAPI=6
50 -
51 -inherit eutils findlib multilib
52 -
53 -DESCRIPTION="Arithmetic and logical operations over arbitrary-precision integers"
54 -HOMEPAGE="http://forge.ocamlcore.org/projects/zarith"
55 -SRC_URI="http://forge.ocamlcore.org/frs/download.php/1199/${P}.tgz"
56 -
57 -LICENSE="GPL-2"
58 -SLOT="0"
59 -KEYWORDS="~amd64 ~x86"
60 -IUSE="+ocamlopt doc mpir"
61 -
62 -DEPEND="
63 - >=dev-lang/ocaml-3.12.1[ocamlopt?]
64 - !mpir? ( dev-libs/gmp:0 )
65 - mpir? ( sci-libs/mpir:0 )"
66 -RDEPEND="${DEPEND}"
67 -
68 -pkg_setup() {
69 - OCAMLDIR=$(ocamlc -where)
70 -}
71 -
72 -src_prepare(){
73 - default
74 - sed \
75 - -e 's:(OCAMLFIND) install:(OCAMLFIND) install -ldconf $(INSTALLDIR)/ld.conf:g' \
76 - -i "${S}"/project.mak || die
77 -}
78 -
79 -src_configure(){
80 - MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}/${OCAMLDIR}"
81 - use mpir && MY_OPTS="${MY_OPTS} -mpir"
82 - ./configure ${MY_OPTS} || die "configure failed"
83 -}
84 -
85 -src_compile(){
86 - default
87 - use doc && emake doc
88 -}
89 -
90 -src_install(){
91 - findlib_src_preinst
92 - cp "${OCAMLDIR}"/ld.conf "${D}/${OCAMLDIR}"/ld.conf || die
93 - default
94 - rm -f "${D}/${OCAMLDIR}"/ld.conf || die
95 - DOCS=( Changes README )
96 - use doc && HTML_DOCS=( html/. )
97 - einstalldocs
98 -}