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/zarith/
Date: Sun, 12 Sep 2021 19:11:12
Message-Id: 1631473857.8dee2571f459deb35c9745186a38dc72361aa4e9.tupone@gentoo
1 commit: 8dee2571f459deb35c9745186a38dc72361aa4e9
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 19:10:57 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 19:10:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dee2571
7
8 dev-ml/zarith: remove old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ml/zarith/Manifest | 1 -
14 dev-ml/zarith/zarith-1.11.ebuild | 58 ----------------------------------------
15 2 files changed, 59 deletions(-)
16
17 diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest
18 index 9638f9f30e0..3f61bef4a06 100644
19 --- a/dev-ml/zarith/Manifest
20 +++ b/dev-ml/zarith/Manifest
21 @@ -1,2 +1 @@
22 -DIST zarith-1.11.tar.gz 98909 BLAKE2B 01deed333dc79dfdb5748c835ef80403c7892e36e461a1c65e5bb97f147b32df2e6cbe8f4e9b916aabc3bd2479bd97439a68d9cdb123d15b7c9ed0e3e7f784f3 SHA512 7c0645d63511d42b763cd0a33b3fb139c26d23ae0cf59cd651388644cb8e7c43a83265d55d69ff3320d8c4586c4f8dbd9c3412197bab2e110c38e6e7dac88b83
23 DIST zarith-1.12.tar.gz 93695 BLAKE2B b9622e2f397887d08fb8a8520419cf459e99906c05a897af91258b17d92d3fbbd2314a0a4be8a56a07074dcb0a0d04c896b3b5e69526a6c81a8a07b657d1bfec SHA512 8075573ae65579a2606b37dd1b213032a07d220d28c733f9288ae80d36f8a2cc4d91632806df2503c130ea9658dc207ee3a64347c21aa53969050a208f5b2bb4
24
25 diff --git a/dev-ml/zarith/zarith-1.11.ebuild b/dev-ml/zarith/zarith-1.11.ebuild
26 deleted file mode 100644
27 index b6074eeede1..00000000000
28 --- a/dev-ml/zarith/zarith-1.11.ebuild
29 +++ /dev/null
30 @@ -1,58 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit findlib toolchain-funcs
37 -
38 -DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
39 -HOMEPAGE="https://github.com/ocaml/Zarith"
40 -SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="LGPL-2.1-with-linking-exception"
43 -SLOT="0/${PV}"
44 -KEYWORDS="amd64 ~arm ~arm64 ppc x86"
45 -IUSE="doc mpir +ocamlopt"
46 -RESTRICT="!ocamlopt? ( test )"
47 -
48 -RDEPEND="
49 - >=dev-lang/ocaml-4.05:=[ocamlopt=]
50 - !mpir? ( dev-libs/gmp:0= )
51 - mpir? ( sci-libs/mpir:= )"
52 -
53 -DEPEND="${RDEPEND} dev-lang/perl"
54 -DOCS=( README.md Changes )
55 -
56 -S="${WORKDIR}/Zarith-release-${PV}"
57 -
58 -src_configure() {
59 - tc-export CC AR
60 - ./configure \
61 - -host "${CHOST}" \
62 - -ocamllibdir /usr/$(get_libdir)/ocaml \
63 - -installdir "${ED}"/usr/$(get_libdir)/ocaml \
64 - $(usex mpir "-mpir" "-gmp") || die
65 -}
66 -
67 -src_compile() {
68 - emake -j 1 HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) all
69 - use doc && emake doc
70 -}
71 -
72 -src_test() {
73 - emake HASOCAMLOPT=yes HASDYNLINK=yes tests
74 -}
75 -
76 -src_install() {
77 - findlib_src_preinst
78 -
79 - emake \
80 - HASOCAMLOPT=$(usex ocamlopt yes no) \
81 - HASDYNLINK=$(usex ocamlopt yes no) \
82 - install
83 -
84 - dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a
85 -
86 - use doc && HTML_DOCS=( html/* )
87 - einstalldocs
88 -}