diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-29 08:00:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-29 08:00:25 +0100 |
commit | d855918b46ba8714cf1320fe63b55fd0ed1748a6 (patch) | |
tree | 4d7d0e86122a07796a660310d507f93e1b7747b9 /dev-ml/num | |
parent | b8325835c82367d22428eb41afa0f2d375338d3c (diff) |
gentoo auto-resync : 29:06:2024 - 08:00:25
Diffstat (limited to 'dev-ml/num')
-rw-r--r-- | dev-ml/num/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/num/num-1.5.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ml/num/Manifest b/dev-ml/num/Manifest index 6dd3892ba9a7..86984c4430fc 100644 --- a/dev-ml/num/Manifest +++ b/dev-ml/num/Manifest @@ -2,6 +2,8 @@ AUX num-1.3-cflags.patch 409 BLAKE2B 97db7e69d4bee7e6940386349620799d586ab7094a5 AUX num-1.4-ocamlopt.patch 627 BLAKE2B 0be592232012ac0753e627e6dce68fb82c1f186e1f7579a2d6af46dbce42ec5b4a6ebb7dc43bb87c5829a6c172f36560e1a17d82e921fb6f68c28bff17b9027e SHA512 2b04e1899d16e614f527a34006a56cfa99fbb6527e8ff8f6ce3c828bc1a9b88de7b6e470111d81c965fb3775bf634d28b9ab34682af3a4f1815dce92c01a60d0 DIST num-1.3.tar.gz 66251 BLAKE2B d6fde246693c8aef3b881a4ebc2b601392e0f0bf561dc4f4d32a5e1f835a5186deba3ffa77c88c6c05cd6e837dc836567fcabffefae99ce1ccae94e1bdfc849a SHA512 c88310f8c45700990095e6b2e9abf24c27347711b9abfd1dde75e540fbbfc6a365e6713bd69f66009af305728fcb36dc61eb37fdd0be7d73824b0e92fbe8c031 DIST num-1.4.tar.gz 66327 BLAKE2B 59eae642e19f452dd911ef6c32b89978f2034a5fcaece4a358f3da447c8d6cb2b2581c39d032eb117edaf7ecf942583281eb6e31716b06960e768c2a985e099e SHA512 0cc9be8ad95704bb683b4bf6698bada1ee9a40dc05924b72adc7b969685c33eeb68ccf174cc09f6a228c48c18fe94af06f28bebc086a24973a066da620db8e6f +DIST num-1.5.tar.gz 67633 BLAKE2B 848dc8174bcdc5756ab036f9ec9cc9f6727d7d8e1079bd1c37611c7cc73939ce5cead4ba6acf4b6a1789640e824afc78faa43e24825e1f4cca37e3a76946e4f1 SHA512 110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495 EBUILD num-1.3-r1.ebuild 769 BLAKE2B a6131de1351f28b9ea0c6bc1f7cda9803ce9be1da81fe6a07f3a9c1217e19bb23fafc5aa57b4f84daec7284986f1a13d4aa42b28f7d643e845c1bf9d08014a3d SHA512 d8bc7c280a8a8d2e8356792c65389ca71f6e29fad70b9239491242929eb585e1b5bfb85bb0d7fc36885b0ccf27d24ca7c1a69ba21a1d65bece95d4ed6aa01dd8 EBUILD num-1.4-r3.ebuild 1135 BLAKE2B 1cf724dc44024f5694ef7dc24f806af07ba1095d57a64305ecd4690e4b6826748580e4a3be00831df5e3022d7203f15a4d1202821c383f5411e35230e603ddd7 SHA512 aaadacabb7b820ba6b3f74d03036bd1fa1512fe15f50ac02fbfc61935a6105d192a4eedbb4d56e5f0c36c3f3d25d333889755121540a5c8ce9423863dc5f1eee +EBUILD num-1.5.ebuild 1201 BLAKE2B e4d6af993cf2b8efbba7f9b1365bb17eaef6da87bb379021a077f24465ac978beb196cd86cf496b231556cd956f5016b631bf846ef9ed9aabe0a2d0b2fef5298 SHA512 73e3938c653067ce83fd5686aace1b4ad17e6454439c65d9750a7d40af1f73212401435fd18d184b587cc0c7d6062796759c6b8fa52204c65dbc4b89e44f5dc7 MISC metadata.xml 307 BLAKE2B b03f687b369c2049c3a7ae63a6233e54b4b2f78177a1da9062928ab49a7431ca3161adbfd4650de940850db97bd3095f14e0ff6b9494a5e9787ed67be178d341 SHA512 c4b2cb28b0a27f5903776f6dd76f082a6407c7aae14e70edbbec7f3484dd9fff72691ada23949a64d2c86fac814a0b3a7097f9a3db93379838eeb97e94cdb57b diff --git a/dev-ml/num/num-1.5.ebuild b/dev-ml/num/num-1.5.ebuild new file mode 100644 index 000000000000..baaacdcf8f0e --- /dev/null +++ b/dev-ml/num/num-1.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Not using dune for now, bug #775119 +inherit findlib + +DESCRIPTION="Library for arbitrary-precision integer and rational arithmetic" +HOMEPAGE="https://github.com/ocaml/num" +SRC_URI="https://github.com/ocaml/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+ocamlopt" + +RDEPEND="dev-lang/ocaml:=[ocamlopt?]" +BDEPEND="${RDEPEND}" +DEPEND="dev-ml/findlib:=[ocamlopt?]" + +src_compile() { + emake CFLAGS="${CFLAGS}" \ + NATDYNLINK="$(usex ocamlopt true false)" \ + NATIVE_COMPILER="$(usex ocamlopt true false)" +} + +src_test() { + # Override needed to not use dune + emake test +} + +src_install() { + # OCaml generates textrels on 32-bit arches + if use arm || use ppc || use x86 ; then + export QA_TEXTRELS='.*' + fi + findlib_src_install \ + NATDYNLINK="$(usex ocamlopt true false)" \ + NATIVE_COMPILER="$(usex ocamlopt true false)" + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/num-top/META" || die + fi +} |