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 AC3B8138334 for ; Mon, 4 Feb 2019 00:48:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDEC2E0960; Mon, 4 Feb 2019 00:48:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 8E48CE095E for ; Mon, 4 Feb 2019 00:48:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 DE329335DC7 for ; Mon, 4 Feb 2019 00:48:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C0C7523 for ; Mon, 4 Feb 2019 00:48:47 +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: <1549240997.56e47926ad8c27ac0c61edc265608a8ed0815973.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.0.3.ebuild X-VCS-Directories: dev-libs/double-conversion/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 56e47926ad8c27ac0c61edc265608a8ed0815973 X-VCS-Branch: master Date: Mon, 4 Feb 2019 00:48:47 +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: 96885d25-e49f-4306-8188-cbef5cd582e4 X-Archives-Hash: 40a34c100fb29037d6a3683a354d5680 commit: 56e47926ad8c27ac0c61edc265608a8ed0815973 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 3 23:25:47 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Feb 4 00:43:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e47926 dev-libs/double-conversion: 3.0.3 version bump Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/double-conversion/Manifest | 1 + .../double-conversion-3.0.3.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-libs/double-conversion/Manifest b/dev-libs/double-conversion/Manifest index b0d2cf5f8f7..c8de27e4128 100644 --- a/dev-libs/double-conversion/Manifest +++ b/dev-libs/double-conversion/Manifest @@ -1 +1,2 @@ DIST double-conversion-3.0.0.tar.gz 7019526 BLAKE2B 631973dadefa8bbf7e4acffd44968dfbf6b7dbeeb045fbbe0df7824a890991f510131647a52646fcd2b069b8b886a7b66a82434b829bdcb58bd8f503fecc7d18 SHA512 5057af6e72f2aaace56ebdd9a0ddfa34318cbdfeabec5c361b60e6c92f160c8999c046c50f8c6f8d590eb8e97aa70bb6e97ba8148f0dc95dbc42f204fcdc1abf +DIST double-conversion-3.0.3.tar.gz 7019705 BLAKE2B 65d7729b55dbb9fd0cf31b258738f3e9f3350b4ecf0204d3d2d23de24cb24651788e844aa1a10d6ec452ca6484c43ed1d218d434fc18be7bb1f15bf8ba97102a SHA512 3a8e956da485195753508c90cd6fa3d9fde42103291a8e65a0d95488faa02e98dddff21935625519c0ce49d8911d66d0773ddf6012264094f3edd851b461f62b diff --git a/dev-libs/double-conversion/double-conversion-3.0.3.ebuild b/dev-libs/double-conversion/double-conversion-3.0.3.ebuild new file mode 100644 index 00000000000..be433fb279d --- /dev/null +++ b/dev-libs/double-conversion/double-conversion-3.0.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils 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/2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="static-libs test" + +pkg_setup() { + MULTIBUILD_VARIANTS=( shared $(usev static-libs) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( -DBUILD_TESTING=$(usex test) ) + if [[ ${MULTIBUILD_VARIANT} = shared ]]; then + mycmakeargs+=( -DBUILD_SHARED_LIBS=ON ) + fi + if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then + mycmakeargs+=( -DBUILD_SHARED_LIBS=OFF ) + fi + + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake-utils_src_test +} + +src_install() { + myinstall() { + [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake-utils_src_install + [[ ${MULTIBUILD_VARIANT} = static-libs ]] && \ + dolib ${BUILD_DIR}/double-conversion/libdouble-conversion.a + } + + multibuild_foreach_variant myinstall +}