diff options
Diffstat (limited to 'sci-libs/m4ri')
-rw-r--r-- | sci-libs/m4ri/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/m4ri/m4ri-20200115.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/m4ri/m4ri-20200125.ebuild | 46 |
3 files changed, 50 insertions, 2 deletions
diff --git a/sci-libs/m4ri/Manifest b/sci-libs/m4ri/Manifest index f40be85b044c..e8a7aadfd155 100644 --- a/sci-libs/m4ri/Manifest +++ b/sci-libs/m4ri/Manifest @@ -2,6 +2,8 @@ AUX m4ri-20200115-libm_underlinking.patch 2352 BLAKE2B 1c391a5d359585e8d6ffb6fa3 AUX m4ri-20200115-memory_violation.patch 2905 BLAKE2B 08cdf9f22307f8477dd6dc5980d496cc56f4a7d625d83db77f1928417a1ba388c6a84c4866276bdad7ec4742b4dc102262e6f90c89a24423494e9877064f39d6 SHA512 70a32c5ec8e4c936b530e85d48d93e6f5d49122df658528c0fd74b3d812d25eef4d9826de3d01127bb717ecbdc20be23079d5805e3d767d225cd1cf24c321fde DIST m4ri-20140914.tar.gz 457978 BLAKE2B eadba6d1a751cb49cef25cc7726d87aa5746b23ad0a3b9bd274735a71da43ec4751fb655f91f3748f082369875508db365595f8443d77ae9645b3e4199d4f204 SHA512 efdd4ffa194d2d2b64a23a833420926613e74072ce62b2b06d768d157e134a615d88b93ed08d9f51f0fd14d686fd068523d1dc2c7cd9fb87108c96a4a11f4643 DIST m4ri-20200115.tar.gz 510562 BLAKE2B 4522793ab61dd97dae5c8d82a4457364f437040c9c45c355007a3150bfebb5264e336b19a7416f62b5ef937480f15079d9c0e9711dd26a6f7c6f5ce66d699296 SHA512 4791576878097077bcda768c03a43ec9a5b05c29adaa9c5f1e737e798b3fc7d027f830183d57db7b8b6b75b25e01fb522eb8b2e5359efcb05054fc341cbb403c +DIST m4ri-20200125.tar.gz 511132 BLAKE2B 637dbf7f17b84dc5fc91c9d8f501fa223cfacd687cb953ce3b9c4716e9a6d39318ef168c2ec8a4b5eeb469a4b46abbcd8802aaf694991d82deb20c832843c3ab SHA512 212ea58a93b792c1901f62411b06cd1a2ee60b3506c987e45ded73c146f2fa6baf5461b1dcabf31a5771ab5a44eab050d64714f7a5fca3df2d141d0d80c6c51a EBUILD m4ri-20140914.ebuild 1480 BLAKE2B f9e7fbf9bce01522e8f4030f4f9150b0549da6e294f97feb7ffa55511040c73ceab0011568637c1acf6f1e4b9a80a03b49b6d31e81b65fc6930e6903de6e47ba SHA512 4a4dad70150f202b5e746730453643952416fbe18d52b519087875b7af2eea17855ddaad18c5bc857d86160d78d2238fae0dbba97a40a13bb6cdfbff859c96ff -EBUILD m4ri-20200115.ebuild 1342 BLAKE2B 09d39507657d42a784455b3373719e66811ec766b816eb33fe36c1a0e38fee915b8c8e40f677f4b731fbdaf3b4ad7a5913d0799392b481420bcdf95bb6071395 SHA512 7c07439ba65740d4b0517d7f79b3583b3087ae83c940603cdb6c94a82d860e980fb46a5127c75533b29203913bc6f384b7710bb6ba08f6bb7b6354e44b0772fc +EBUILD m4ri-20200115.ebuild 1339 BLAKE2B 0bb3afb8b5596445b3d4835ed247116805f7e2e70b14af9d481d90ddd3c0f0089cf5e7cef311f454e2389141d66729a7c352c3b0b29f38b6851dc474d71a500a SHA512 9129b34ebed40010465129235e33843c14596f99dbd183401c9d7ba4ce60550506703028168447174ba37313d0ad4ab6abc3f1084b95df1a06e8bfd13defccbb +EBUILD m4ri-20200125.ebuild 1170 BLAKE2B 20962682e9164b8da028392dc1f014939cbb44bdc051abfb5ec560d1a673dcfcbc7b767bd9f9f3753b2282f02d8ca4ecbf162f6969767ed88fc34a531a2197f3 SHA512 88c0c6931f03dc57d97879705d792ef8e504eb536af6a8c66c04207b33c0b1ceb318bd889d7a22ab2ada4b72325a436f3dd4e4f441bcef7d12216723abdf052d MISC metadata.xml 1159 BLAKE2B 4a51b94a6a8d48e39412d90a249ef2038bcaac90653cbc187226842f33f5a8c75704b2671dc5fc63650cf4a57f77d7724409eca8d5822c7689eda3e5386902da SHA512 40d6e3dce814e11ced9da6874af71022dad66ff1b0511024a9033706f1b43ce741f418086d9beb276e09578db2acc1708758f71cdb168384d59f85627505e643 diff --git a/sci-libs/m4ri/m4ri-20200115.ebuild b/sci-libs/m4ri/m4ri-20200115.ebuild index 58fff80b3df9..8521f51be38f 100644 --- a/sci-libs/m4ri/m4ri-20200115.ebuild +++ b/sci-libs/m4ri/m4ri-20200115.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://bitbucket.org/malb/${PN}/downloads/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="debug openmp cpu_flags_x86_sse2 png static-libs" BDEPEND="virtual/pkgconfig" diff --git a/sci-libs/m4ri/m4ri-20200125.ebuild b/sci-libs/m4ri/m4ri-20200125.ebuild new file mode 100644 index 000000000000..09158e5ef290 --- /dev/null +++ b/sci-libs/m4ri/m4ri-20200125.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Method of four russian for inversion (M4RI)" +HOMEPAGE="https://bitbucket.org/malb/m4ri" +SRC_URI="https://bitbucket.org/malb/${PN}/downloads/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="debug openmp cpu_flags_x86_sse2 png static-libs" + +BDEPEND="virtual/pkgconfig" +DEPEND="png? ( media-libs/libpng:= )" +RDEPEND="${DEPEND}" + +# NEWS and ChangeLog are empty as of 2020-01-01, and README.md +# didn't make it into the release tarball. +DOCS=( AUTHORS ) + +pkg_pretend() { + use openmp && tc-check-openmp +} + +src_configure() { + # when using openmp and -O0 the testsuite fails + # https://github.com/cschwan/sage-on-gentoo/issues/475 + # Still current as of 20200115 + use openmp && replace-flags -O0 -O1 + + econf \ + $(use_enable debug) \ + $(use_enable openmp) \ + $(use_enable png) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |