From c3d998909264b1ff687b9c65cae3046443e66f7e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 26 Aug 2022 14:52:16 +0100 Subject: gentoo auto-resync : 26:08:2022 - 14:52:16 --- sci-mathematics/Manifest.gz | Bin 16187 -> 16183 bytes sci-mathematics/cvc4/Manifest | 2 +- sci-mathematics/cvc4/metadata.xml | 2 +- sci-mathematics/petsc/Manifest | 2 +- sci-mathematics/petsc/metadata.xml | 8 +-- sci-mathematics/sha1-polyml/Manifest | 4 +- sci-mathematics/sha1-polyml/metadata.xml | 8 +-- sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild | 56 +++++++++++++++++++++ 8 files changed, 70 insertions(+), 12 deletions(-) create mode 100644 sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz index 4168a53229cf..b1f64240ceae 100644 Binary files a/sci-mathematics/Manifest.gz and b/sci-mathematics/Manifest.gz differ diff --git a/sci-mathematics/cvc4/Manifest b/sci-mathematics/cvc4/Manifest index 3ea7c27764bb..f1efbdc6c78c 100644 --- a/sci-mathematics/cvc4/Manifest +++ b/sci-mathematics/cvc4/Manifest @@ -4,4 +4,4 @@ DIST cvc4-1.7.tar.gz 6969953 BLAKE2B 3a64db14a734e0314fb7d7b8dbed79e067c9bbf1723 DIST cvc4-1.8.tar.gz 7554297 BLAKE2B f4d2b223ba2c01ef745520d8874381a1873358fbc7eca12559656512ffeefccec4eca3d73a26debf34110ca14a3bccf35ca87e2a49575b8b67484bed79df081c SHA512 d6b0153b0f5c4e615c995a8eecfbfd783cfc1004c5134c6880230044081c71d638fee39cceb987eb8d72e91b2b6596b184dc0daacec8880cfc176c6dee8aa445 EBUILD cvc4-1.7-r1.ebuild 1379 BLAKE2B 7c19d2a0bda3de27f1fe34619bb380b9e1fd019b8ecd00d211bd8c377d8455a06f283b1494f2361cd765426366def94371192f4ae265c60df211c46b82387646 SHA512 072f641ba31457f411cf01959017ae743eb47a44a79007b9505c44361221369c1f9a651c23397ce13e7f32c01755b160410ab0b1e1b2a54cf7436c3089925e1d EBUILD cvc4-1.8-r1.ebuild 1344 BLAKE2B fb5fa0f1176a038b7c6b9a00d0116abd2ae6f831d672de66beba2e5b83bb7713bdb0c94124e1d44cf2ecad41fb9055c1a10cf6f98c253380d4ead1173bd64e96 SHA512 38b6e0a1ee2d3b7c7d828dac4d7a3f6436881e27daf897fbbb715fbcc7de50e96d3b5585829aa3088aaac8464cd4e13b6afec8a4b37e56772f734e58d1a647be -MISC metadata.xml 802 BLAKE2B 97e1799f8a4e57d40e191c1ba30a762458a5bdf5e372fd406aa8b207f8ea8a39c178a2963d748d0cfd3123fcd18d3894f5ae5913edf67bb3cbb1c2b25528e5c1 SHA512 1373b776ce6f7689dc6c744c2b1e573bbd932c33b5517e54813caa4edde8f68d5670af316b5908dbf69c775c94fb932a12eb8c5ac39310a10c0e2aefbbda6f42 +MISC metadata.xml 813 BLAKE2B fb7b8a913282ec4634c2d0e1456b73285857e6f7d1acfa4d0450f8718485bfb67d36195a21e51daf662c9aa84205ec071ecc429e0519d02008e1ff68f6b83a04 SHA512 8b63e5250d0fb76f5fabc5ba3973b34eb740cc65d1ab66ec1072e407e9b4806ecf3679e0511d6912a866cc367069dfdeaf2a32f3938884fdedecbd16c58b268a diff --git a/sci-mathematics/cvc4/metadata.xml b/sci-mathematics/cvc4/metadata.xml index 42b2bfab2e1a..685032332723 100644 --- a/sci-mathematics/cvc4/metadata.xml +++ b/sci-mathematics/cvc4/metadata.xml @@ -6,7 +6,7 @@ Tupone Alfredo - Use sci-libs/cln + Use sci-libs/cln Include statistics Turn on the replay feature Support for proof generation diff --git a/sci-mathematics/petsc/Manifest b/sci-mathematics/petsc/Manifest index 4fe5486055d7..13cea1de1b2f 100644 --- a/sci-mathematics/petsc/Manifest +++ b/sci-mathematics/petsc/Manifest @@ -5,4 +5,4 @@ DIST petsc-3.16.0.tar.gz 16748960 BLAKE2B 87f9fdb79a9c44e5f476fa4746ad0cbe72f3ed DIST petsc-3.17.1.tar.gz 17082265 BLAKE2B de1bfe45f93e18e32181499e59912df9225c8e24d75f52e641e552fd43e4d5be48d549d284365b173aa93e51603f5b7740eaac0557ff8c7c96b370f4683257f6 SHA512 8c81cc148b1a899a55e54a013d61519ec7b44f98f7ae30c3f8d0e83ba285b23f4b4d9e2cd483c531d337bc41887e4079b727ba73676b1b653910140291e93575 EBUILD petsc-3.16.0-r1.ebuild 5427 BLAKE2B 9fe488d1f477469b422fcc535709b64b0fc5cac6a7f46e1c77b1f4a55af8658d07ddad9eb38d994b19deb0c4266216b18cd8c0035dc142fa13b13e0854837703 SHA512 20e80e39d81346e9c4d342a8010da080abdea56dfa4408dd10f1ae3a688a198244b6dd1a9731812d7fbdb21d0bfd0a32573c305e66208c0d23b2e538135033dc EBUILD petsc-3.17.1-r1.ebuild 5403 BLAKE2B 4e792da75e973ca1dd850c84a5441d0a509f911a4267d9f6ee4dfb778647b7a75b0ce512ff68332f546a38b0d5781c44bda4766df7e5900559a097a5d22c5ff5 SHA512 9989ef401f8f4e19331a117625a4a3099f306a6f19ad53ebc6d14658f5961f8a6b0b961ab3e87db4270713b68fde96d723dca8dc12af1916fad3ef3bf0e8dff7 -MISC metadata.xml 1179 BLAKE2B 90cac3d6419ed0cdec7da36616a778e13c6a4ada73f21fece52451fef33e42385a36017235dac0a03d48502064e52ad9f1c8155ee379feb9ac1176318020796d SHA512 4f24c102b8e0b088475e00af33255540986501d16fb0eb4a0dc67a334237c1cde964370eeed1b6e27e8c5433bc64079bfcdc80ecc9d19b71b36148f7689764d4 +MISC metadata.xml 1234 BLAKE2B 15951140c7123ce11ae325ab3491822abf4143b053c62e3b47d192785a9fcf8ea3a1e30c68023bdd4eaecafd312aec1b519c2bf4a2a6fc07ae7b88f2266ea4ee SHA512 84fbcacb317baa8fbc71c143d42ae9e4ea00dffbe9fbd1b113065d6d493d52461737c33cdb36e39a558d5aafa58ea3fc7078f3af8605fd7c8733afe6469390e4 diff --git a/sci-mathematics/petsc/metadata.xml b/sci-mathematics/petsc/metadata.xml index f6072e8edac1..987028fd7636 100644 --- a/sci-mathematics/petsc/metadata.xml +++ b/sci-mathematics/petsc/metadata.xml @@ -10,15 +10,15 @@ Gentoo Mathematics Project - Use Afterstep image library (media-libs/libafterimage) - Use boost (dev-libs/boost) + Use Afterstep image library (media-libs/libafterimage) + Use boost (dev-libs/boost) Make scalars complex Use HYPRE (sci-mathematics/hypre) and for preconditioning Use 64 bit indexes Add support for metis (sci-libs/parmetis) Add support for mumps (sci-libs/mumps) Add support for scotch (sci-libs/scotch) - Use suitesparse (sci-libs/suitesparse) including cholmod (sci-libs/cholmod) for sparse factorization - Use superlu (sci-libs/superlu) for preconditioning + Use suitesparse (sci-libs/suitesparse) including cholmod (sci-libs/cholmod) for sparse factorization + Use superlu (sci-libs/superlu) for preconditioning diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest index 68476924b883..83eebc3ba555 100644 --- a/sci-mathematics/sha1-polyml/Manifest +++ b/sci-mathematics/sha1-polyml/Manifest @@ -1,3 +1,5 @@ DIST polyml-5.6-1.tar.gz 22041657 BLAKE2B c097dda273b12dfe013706e5fa313f210f1f0bf6b32766db6e459ce1bca46f93504baef3d7644922c60d119431d659cbd69d8cd273fcc94609eadff058d3cb9b SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2 +DIST sha1-polyml-5.9.tar.gz 30801508 BLAKE2B d9a12b4a9734d2d663947e8699e6813b9c5f0a85f7527ebd73d578559ed4432a51ed8542733213c137c8235a2f6eebc28af77570c42234220d2993169340fd16 SHA512 da03c0759d633814b860fdc4051a010882b187444c0de1375f90e02ce26cb5e09cbbb48445da9f7d84d8af92352efcd9b509e863a915517e90e3fa6147bcbd0a EBUILD sha1-polyml-5.6_p1.ebuild 1903 BLAKE2B 96d2cce56fd919dfc19b90aee63621083cd22994649f32809f1e4b7c0371ac4a4703ecb28e4627cb2afb58d5a2eb16c9803881faa4f08a9d257bf632b8c2a3e6 SHA512 f9b5b23f1a4341f7341537c318a4b835f2acdacc3bf7529d57a3b10fca6e985589b29a10287d93403550d1043559d76bc083e85eb3e788d4eb32c7ea1eca501a -MISC metadata.xml 632 BLAKE2B ee955511fd25ab6f063cf0327078ae9c5b5613fccf4ef35cbaabfaa5c208c6a2109bb55755e01ca74fb4a1cb06a2ee55efe3bf50425d78462967c34299e46c05 SHA512 b4a825ed59409f7ef053e5b0affcea7ea8750d1cbee7b9f6c5187d6ff54892af73bf92db300bfeb00da81b57565347d75fe0f87474ef17a9e416b022e436e5e1 +EBUILD sha1-polyml-5.9.ebuild 1847 BLAKE2B 2dc294db23276cd95dd8bded6b8ea4759332efb48b281e63bdc558794d25b2d2e09c8505b0c07029d02aef12f69c1cbbf5f768bab04ae7b5e764404afa4d0407 SHA512 e0ef038e23cdccbcacd69b55f3c659e5b9057b9f2bdfb500ad08edb7535a9624121fe886cb6269f48d95a28dd731572fddcd4b9bb3cfc499018ede7165f4db25 +MISC metadata.xml 623 BLAKE2B 10d6f0f7075ed5fe3a84cf2b627a7db2fa99c661c6dba20e0e6a679cb91ff1d2bb2350fa4a53dcb03e44524664d911a1543cf79fd24888c17fa129125023452e SHA512 5c7cfa0defde48b45a36e672bea4de0e4d335c397e1627b195b6eaaa249502bd6e62e9ae727ade2489d60878125e3d29b5948c0ad83691d15870b86fa0d2a82a diff --git a/sci-mathematics/sha1-polyml/metadata.xml b/sci-mathematics/sha1-polyml/metadata.xml index 1c58775689e2..f593001d1839 100644 --- a/sci-mathematics/sha1-polyml/metadata.xml +++ b/sci-mathematics/sha1-polyml/metadata.xml @@ -10,8 +10,8 @@ Gentoo Mathematics Project -sci-mathematics/sha1-polyml is the implementation of SHA1 taken from -the GNU coreutils package as described in the sci-mathematics/sha1-polyml -README. It is required by sci-mathematics/isabelle. - + sci-mathematics/sha1-polyml is the implementation of SHA1 taken from + the GNU coreutils package as described in the sci-mathematics/sha1-polyml + README. + diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild new file mode 100644 index 000000000000..184196977413 --- /dev/null +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN="polyml" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="implementation of SHA1 is taken from the GNU coreutils package" +HOMEPAGE="https://isabelle.in.tum.de/" +SRC_URI="https://isabelle.in.tum.de/components/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/${MY_P}/sha1" + +# sci-mathematics/isabelle requires sci-mathematics/sha1-polyml, to avoid +# this warning: +# ### load_lib : /usr/bin/libsha1.so: cannot open shared +# object file: No such file or directory +# ### Using slow ML implementation of SHA1.digest +# sci-mathematics/sha1-polyml supplies the library libsha1.so. Which +# is the implementation of SHA1 taken from the GNU coreutils package +# as described in the sci-mathematics/sha1-polyml README. Isabelle +# builds libsha1.so in the contrib/polyml/$ML_PLATFORM directory. +# isabelle dynamically loads libsha1.so as a plugin. The Isabelle-2012 +# linux binary bundle places libsha1.so in the contrib/polyml directory, which +# is referred to as ML_HOME in the Isabelle Pure/General/sha1_polyml.ML source file. +# ML_HOME is /usr/bin on Gentoo, and we want isabelle to depend o sha1-polyml. +# For these reasons isabelle is patched to load it from +# /usr/$(get_libdir)/sha1-polyml/libsha1.so + +src_compile() { + $(tc-getCC) \ + ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I. -fPIC -shared \ + -o libsha1.so sha1.c || die "compile libsha1.so failed" + $(tc-getCC) \ + ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I. \ + -o test_sha1 test_sha1.c -ldl || die "compile test_sha1 failed" +} + +src_test() { + ./test_sha1 ./libsha1.so || die "tests failed" +} + +src_install() { + dodoc README + + local ld="${EPREFIX}/usr/$(get_libdir)/${PN}" + exeinto "${ld}" + doexe libsha1.so +} -- cgit v1.2.3