summaryrefslogtreecommitdiff
path: root/dev-ml/zarith
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/zarith')
-rw-r--r--dev-ml/zarith/Manifest4
-rw-r--r--dev-ml/zarith/metadata.xml3
-rw-r--r--dev-ml/zarith/zarith-1.12.ebuild62
3 files changed, 1 insertions, 68 deletions
diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest
index 8801385ed37f..d2d17aed4465 100644
--- a/dev-ml/zarith/Manifest
+++ b/dev-ml/zarith/Manifest
@@ -1,6 +1,4 @@
AUX zarith-1.12-shuffle.patch 308 BLAKE2B 7c725c7ef19483a153f7404c3c91f268faf24b949042f05a7f79640d4fabd7d47722df3453b4bf705e3c1fea08784bd13b082cdea69d4932283b302dbf49db85 SHA512 851dac84670cdf2f58f59b9decf28f0a40368098422c3f90da04580f4a64e2c3527beb318ff68bcfa94a60ac99a26c2b54f3e33b4bd82c7d3cb9f23072b32614
-DIST zarith-1.12.tar.gz 93695 BLAKE2B b9622e2f397887d08fb8a8520419cf459e99906c05a897af91258b17d92d3fbbd2314a0a4be8a56a07074dcb0a0d04c896b3b5e69526a6c81a8a07b657d1bfec SHA512 8075573ae65579a2606b37dd1b213032a07d220d28c733f9288ae80d36f8a2cc4d91632806df2503c130ea9658dc207ee3a64347c21aa53969050a208f5b2bb4
DIST zarith-1.13.tar.gz 85994 BLAKE2B a5860319e17f4e660f248f3e724076b578d27dc3a06e8b54d68bcd6ed021a0354ad714dfcb06329bb9c4a3eadc3d08fd84fd76ef5d1a8902a06a7506d77addde SHA512 a562fa8bf4f5ef44f2af6b9a8f028182fd184c89f8c41455acdc02851cc0fc3124d3776c0de930e8d09cd5d6d88cc689f80f4b597068a0611131f45d057b101f
-EBUILD zarith-1.12.ebuild 1429 BLAKE2B 015c4587939d5d7511d1b3e0437377b712da40c677db7069fde9f9f563475f3fc0deb16b1e3e4c4fbe74c97c1e9dc21b21de58a190be03c851d3cb55db97b43a SHA512 b3f000982657bab9e22e86b922e1ac2ac63281efa01f94ad46fdb6d68cede9c6d6ee7c51e0f2d09ddee834c776f5a01ba6a15a80ba3c97b53a0fc7b3fe179e4a
EBUILD zarith-1.13.ebuild 1314 BLAKE2B ebeb8243c2f9a480cc32738008755fb96e7539994d6c6044f20b0e31bed709468c3d8e33a50db981d51294264172fa3796ebb6a24cae2fb15826fdfd41db2ece SHA512 c932c98f3e82ac10856eefb6e26fabea1af59a3119171bef64218cc09e63e85988b555133e8d6fe0365090b3b517ebdd8c3fde487a9547b2f2f3f3c833f15ef3
-MISC metadata.xml 385 BLAKE2B b88400ffa45f84bd5bcfab6a7299ae7f961453f12a55f14dd329831a2273ded4ef2b21dcb25b2611d8590dac2850f84a0221a561d40fa65ce9d62a6ef9a75e57 SHA512 cab52bdbd8b49498a14001cef333073aab9e9496c4caef217cc37738e607a35b23d8e25c41394e976be98f822aca806a8da30773f142a70c69d2de7c8d87531c
+MISC metadata.xml 310 BLAKE2B 07bd7620cfa9ef58a67cb51d22888d48e848ac1736d8bf0e58684adecf62754472a24249a6e7e27701b5b0be5497e2efff7cedaa7be4c884547fa48efb29eb06 SHA512 59adcb11592c882af95fdce2232c40efc52d9d15bc803657133672237799f7986246775dc714692cb9cac3c93ab8069873d8e05deae1dd2b40904ea7fc4c63b7
diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
index 6d4c3b60cfec..cdc93725d68d 100644
--- a/dev-ml/zarith/metadata.xml
+++ b/dev-ml/zarith/metadata.xml
@@ -5,9 +5,6 @@
<email>ml@gentoo.org</email>
<name>ML</name>
</maintainer>
- <use>
- <flag name="mpir">Use MPIR library instead of GMP.</flag>
- </use>
<upstream>
<remote-id type="github">ocaml/Zarith</remote-id>
</upstream>
diff --git a/dev-ml/zarith/zarith-1.12.ebuild b/dev-ml/zarith/zarith-1.12.ebuild
deleted file mode 100644
index 275b33c37e47..000000000000
--- a/dev-ml/zarith/zarith-1.12.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit findlib toolchain-funcs
-
-DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
-HOMEPAGE="https://github.com/ocaml/Zarith"
-SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
-IUSE="doc mpir +ocamlopt"
-RESTRICT="!ocamlopt? ( test )"
-
-RDEPEND="
- >=dev-lang/ocaml-4.05:=[ocamlopt=]
- !mpir? ( dev-libs/gmp:0= )
- mpir? ( sci-libs/mpir:= )"
-
-DEPEND="${RDEPEND} dev-lang/perl"
-DOCS=( README.md Changes )
-
-PATCHES=( "${FILESDIR}"/${P}-shuffle.patch )
-
-S="${WORKDIR}/Zarith-release-${PV}"
-
-src_configure() {
- tc-export CC AR
- ./configure \
- -ocamllibdir /usr/$(get_libdir)/ocaml \
- $(usex mpir "-mpir" "-gmp") || die
- sed -i \
- -e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \
- project.mak || die
-}
-
-src_compile() {
- emake -j 1 HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) all
- use doc && emake doc
-}
-
-src_test() {
- emake HASOCAMLOPT=yes HASDYNLINK=yes tests
-}
-
-src_install() {
- findlib_src_preinst
-
- emake \
- HASOCAMLOPT=$(usex ocamlopt yes no) \
- HASDYNLINK=$(usex ocamlopt yes no) \
- DESTDIR="${ED}" \
- install
-
- dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a
-
- use doc && HTML_DOCS=( html/* )
- einstalldocs
-}