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 58156139355 for ; Mon, 2 Aug 2021 23:15:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CD61E086C; Mon, 2 Aug 2021 23:15:45 +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 4C660E086C for ; Mon, 2 Aug 2021 23:15:45 +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 4D80E3430DC for ; Mon, 2 Aug 2021 23:15:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06AEB7B4 for ; Mon, 2 Aug 2021 23:15:43 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1627946138.9a6b72537d4a9a895a8ab23aa6f9f1e9b6a91f71.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/simdjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/simdjson/Manifest dev-libs/simdjson/simdjson-0.9.7.ebuild X-VCS-Directories: dev-libs/simdjson/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 9a6b72537d4a9a895a8ab23aa6f9f1e9b6a91f71 X-VCS-Branch: master Date: Mon, 2 Aug 2021 23:15:43 +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: 677c5438-790d-4982-9206-19290d749b85 X-Archives-Hash: 27ec65a74c0494363885582e9849ae04 commit: 9a6b72537d4a9a895a8ab23aa6f9f1e9b6a91f71 Author: Patrick McLean sony com> AuthorDate: Mon Aug 2 23:15:22 2021 +0000 Commit: Patrick McLean gentoo org> CommitDate: Mon Aug 2 23:15:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6b7253 dev-libs/simdjson-0.9.7: Version bump Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Patrick McLean gentoo.org> dev-libs/simdjson/Manifest | 1 + dev-libs/simdjson/simdjson-0.9.7.ebuild | 68 +++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-libs/simdjson/Manifest b/dev-libs/simdjson/Manifest index 7c026e47bd5..6f87beb869c 100644 --- a/dev-libs/simdjson/Manifest +++ b/dev-libs/simdjson/Manifest @@ -1,2 +1,3 @@ DIST simdjson-0.9.2.tar.gz 7958184 BLAKE2B 7fbb3c85b5dfd2d18a09087f6c6e09437bfb8aec418eb219485b6f558fe117791b28e51a45bb416b677d42ca6d73d8b37381deee1aea4bd49fd132a16312a49e SHA512 6d546f0283b680da581b51bab86f7165abdab0a82d51e9c4a5abcf9a94e24059adfb63c8e4e8ef147fee50fc94f6a0efc4dba34dce499926e1da0dcd1fe63dd6 DIST simdjson-0.9.6.tar.gz 7956235 BLAKE2B 8d1ffb96a937f859598f45232f1c55a767c4dcb401e1b15b8745df0b3b1907a9ecf3319080b5f7dd6deeac7c97b6b7ee608a98173c2c92794ea5f79ea0083b18 SHA512 bfe565dd00e95e1c5c409fce1ec2a8d88c83fc61d9f46265afc0254f8a37f241fcb5b0729bc5ac58695766e2a6cb05abbf93220fa21fd8fe34872ac4a538140c +DIST simdjson-0.9.7.tar.gz 7956250 BLAKE2B 2fa04be699eb5573ac17db9b476ded1853cfe45c0993c9303b70bfd0e8e4343b69e4a02f21dac35d2c0255826bfedf41123fd635d36d48a08f74b28b5a6536ce SHA512 6f4ad854adc2b932f9926610cdd28ddda7fc1776b84a224adb5b337f81c92721bd11c8ab180897117891cdefe9c1ef14b9f062c9a1a2ebc5b5582c29cb656bf0 diff --git a/dev-libs/simdjson/simdjson-0.9.7.ebuild b/dev-libs/simdjson/simdjson-0.9.7.ebuild new file mode 100644 index 00000000000..ce97a46f112 --- /dev/null +++ b/dev-libs/simdjson/simdjson-0.9.7.ebuild @@ -0,0 +1,68 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="SIMD accelerated C++ JSON library" +HOMEPAGE=" + https://simdjson.org/ + https://github.com/simdjson/simdjson +" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 Boost-1.0 BSD MIT" +SLOT="0/8" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test tools" + +BDEPEND=" + sys-apps/file + sys-apps/findutils + sys-apps/grep +" +DEPEND=" + tools? ( dev-libs/cxxopts:= ) +" + +REQUIRED_USE="test? ( tools )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/simdjson-0.8.0-dont-bundle-cxxopts.patch" + "${FILESDIR}/simdjson-0.9.0-tests.patch" +) + +DOCS=( + AUTHORS + CONTRIBUTING.md + CONTRIBUTORS + HACKING.md + README.md +) + +src_prepare() { + sed -e 's:-Werror ::' -i cmake/simdjson-flags.cmake || die + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + -DSIMDJSON_ENABLE_THREADS=ON + ) + + if use tools; then + mycmakeargs+=( + -DSIMDJSON_JUST_LIBRARY=OFF + -DSIMDJSON_GOOGLE_BENCHMARKS=OFF + -DSIMDJSON_COMPETITION=OFF + ) + else + mycmakeargs+=( + -DSIMDJSON_JUST_LIBRARY=ON + ) + fi + + cmake_src_configure +}