From c533eef97bbff34532198984a87c2e373faeaf9f Mon Sep 17 00:00:00 2001 From: Jakov Petrina Date: Mon, 11 Oct 2021 16:57:37 +0200 Subject: sci-libs/openlibm: bump to 0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump package to new upstream version 0.8.0. Update EAPI to latest version (8) as well. Signed-off-by: Jakov Petrina Closes: https://github.com/gentoo/gentoo/pull/22563 Signed-off-by: Jakov Smolić --- sci-libs/openlibm/Manifest | 1 + sci-libs/openlibm/openlibm-0.8.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 sci-libs/openlibm/openlibm-0.8.0.ebuild (limited to 'sci-libs/openlibm') diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest index d1a7c272dd21..0672751ba741 100644 --- a/sci-libs/openlibm/Manifest +++ b/sci-libs/openlibm/Manifest @@ -1 +1,2 @@ DIST openlibm-0.7.5.tar.gz 366889 BLAKE2B cd892965122237783cc288e57c965ae56d26fdcce93d89dd764ba659d292ade20baa754af303f04b831902f62f95388e2e7e11c050a0712a235bbc5793f2a9c4 SHA512 fe5797f49e9f9ac70485c53c6096ac273c33c7b44fbb694788717f0e427fe9a8e121939c4c1334f2d20f2fe1f440d952cc20cbdd49717996a2fb9a1045b05799 +DIST openlibm-0.8.0.tar.gz 367130 BLAKE2B e516fee18203040b8f3cdffab10c4ca22df638551b420ec7e679ff373221973a013c93520b29395c61c8ef0f0f6c87516c1d4a9885c3bbb5e8cae8900efee6ea SHA512 336dfac1fd4ab6ce256aa0129a211c3556eac46d2e775e5cec9626dc5bbcb4d5e65c86617d72e531694e8c8e6320a0fabc76600a02b0ac9f1d652774d0a94440 diff --git a/sci-libs/openlibm/openlibm-0.8.0.ebuild b/sci-libs/openlibm/openlibm-0.8.0.ebuild new file mode 100644 index 000000000000..ba45cbd625fb --- /dev/null +++ b/sci-libs/openlibm/openlibm-0.8.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="High quality system independent, open source libm" +HOMEPAGE="https://github.com/JuliaLang/openlibm" +SRC_URI="https://github.com/JuliaMath/openlibm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain MIT ISC BSD-2 LGPL-2.1+" +# See https://abi-laboratory.pro/index.php?view=timeline&l=openlibm +SLOT="0/4" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +src_prepare() { + default + sed -e "/^OLM_LIBS :=/s/^/#/" \ + -e "/install: /s/install-static//" \ + -i Makefile || die +} + +src_configure() { + tc-export CC CXX FC AR LD + default +} + +src_install() { + emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \ + libdir="${EPREFIX}/usr/$(get_libdir)" install + dodoc README.md +} -- cgit v1.2.3-65-gdbad