From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62EBD138334 for ; Mon, 30 Dec 2019 23:35:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94D55E0D40; Mon, 30 Dec 2019 23:35:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DCD2E0D40 for ; Mon, 30 Dec 2019 23:35:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEE5334DD71 for ; Mon, 30 Dec 2019 23:35:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 604F075 for ; Mon, 30 Dec 2019 23:35:21 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1577748884.c2d97fab897bef503633cc9161590119f19dae6e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/double-conversion/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/double-conversion/Manifest dev-libs/double-conversion/double-conversion-3.1.5.ebuild X-VCS-Directories: dev-libs/double-conversion/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c2d97fab897bef503633cc9161590119f19dae6e X-VCS-Branch: master Date: Mon, 30 Dec 2019 23:35:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b4c7577e-3b39-4a7f-a857-5a5846e205e6 X-Archives-Hash: 9d458127a59d584e8fd8b799bacaafd6 commit: c2d97fab897bef503633cc9161590119f19dae6e Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Dec 30 23:34:44 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 30 23:34:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d97fab dev-libs/double-conversion: 3.1.5 version bump Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/double-conversion/Manifest | 1 + .../double-conversion-3.1.5.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-libs/double-conversion/Manifest b/dev-libs/double-conversion/Manifest index 9b9c44c6289..6166c3613fb 100644 --- a/dev-libs/double-conversion/Manifest +++ b/dev-libs/double-conversion/Manifest @@ -1 +1,2 @@ DIST double-conversion-3.1.4.tar.gz 7022872 BLAKE2B 270f318e6b37205ab3da3ccf5c598ca7a02dc2e728a5d8e3467523bc8f21039651bea3f70aeb9f8579505812d63181de9d1e8106997795a79efeb663e1bc22d7 SHA512 715a34ace2ff74b79d80a8c003c16cfbf958ebc92264e28cc572e1a12a786e1df9678abb46f032c2be387495e1a3d02957b12fa4a245ec6cfe19ca637519ac3c +DIST double-conversion-3.1.5.tar.gz 7023792 BLAKE2B ed70a554bd52e23aadecbeaa6607dfcdb670450b95e2ff699c784512e6cb0c022f51f6ab775ebc5b3c293f991e5200ff5528d689c74dae92e8e68bedf672c5ac SHA512 0aeabdbfa06c3c4802905ac4bf8c2180840577677b47d45e1c91034fe07746428c9db79260ce6bdbdf8b584746066cea9247ba43a9c38155caf1ef44e214180a diff --git a/dev-libs/double-conversion/double-conversion-3.1.5.ebuild b/dev-libs/double-conversion/double-conversion-3.1.5.ebuild new file mode 100644 index 00000000000..a5d39a82e10 --- /dev/null +++ b/dev-libs/double-conversion/double-conversion-3.1.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake multibuild + +DESCRIPTION="Binary-decimal and decimal-binary conversion routines for IEEE doubles" +HOMEPAGE="https://github.com/google/double-conversion" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs test" + +RESTRICT="!test? ( test )" + +pkg_setup() { + MULTIBUILD_VARIANTS=( shared $(usev static-libs) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then + mycmakeargs+=( -DBUILD_SHARED_LIBS=OFF ) + fi + + cmake_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_test() { + [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_test +} + +src_install() { + myinstall() { + [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_install + [[ ${MULTIBUILD_VARIANT} = static-libs ]] && \ + dolib.a ${BUILD_DIR}/libdouble-conversion.a + } + + multibuild_foreach_variant myinstall +}