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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0DB7815808B for ; Mon, 21 Feb 2022 02:58:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44FB8E0960; Mon, 21 Feb 2022 02:58:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C882E0960 for ; Mon, 21 Feb 2022 02:58:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8E08343727 for ; Mon, 21 Feb 2022 02:58:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32E40250 for ; Mon, 21 Feb 2022 02:58:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1645412166.12c34bc7a5c73936fe87a6f68d450e1c7ec4e359.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cereal/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cereal/Manifest dev-libs/cereal/cereal-1.3.1.ebuild X-VCS-Directories: dev-libs/cereal/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 12c34bc7a5c73936fe87a6f68d450e1c7ec4e359 X-VCS-Branch: master Date: Mon, 21 Feb 2022 02:58:02 +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: 169098bb-a5c6-4608-93f8-474f499a2b27 X-Archives-Hash: f49c25c79c246a4718be1e9ca6916ab7 commit: 12c34bc7a5c73936fe87a6f68d450e1c7ec4e359 Author: Sam James gentoo org> AuthorDate: Mon Feb 21 02:55:01 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 21 02:56:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c34bc7 dev-libs/cereal: add 1.3.1 Bug: https://bugs.gentoo.org/715538 Closes: https://bugs.gentoo.org/635322 Closes: https://bugs.gentoo.org/636550 Signed-off-by: Sam James gentoo.org> dev-libs/cereal/Manifest | 1 + dev-libs/cereal/cereal-1.3.1.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest index ab0042cb5f58..0ffb550d481d 100644 --- a/dev-libs/cereal/Manifest +++ b/dev-libs/cereal/Manifest @@ -1,2 +1,3 @@ DIST cereal-1.3.0-fix-doctest.patch 148684 BLAKE2B 6ab6263db5b787b3ae41b9c177df19554f17837d5bb496de887f1d2d2df28c280e038fe64f0986ce3a32cedb709249a9986f6869b6e21b7c3a4b27058739496f SHA512 6389bead42f2f8008e6296f3d5ff5fc7a94920972c774003080fd3ae24ea0fd8fa1c4ab940ab800ab6b3249db003e452fd98a9ed77e5ffbdb301311fc2972a6f DIST cereal-1.3.0.tar.gz 374585 BLAKE2B 67bcdf8715585d8913c6ae4ff1a20d77df0eb95816b37a77620a3f08000b6e911afbd295236a6cd0394d3242ae0a3b2619f6e168503724517c9c66bc20f1d07c SHA512 2bb640a222d4efe7c624c6ec3e755fecae00ef59e91c4db462e233546c5afe73c065ba1d16d9600f7cd3cc185593109148008b0b2b870208e2f1d6984fd40c72 +DIST cereal-1.3.1.tar.gz 385863 BLAKE2B dbf2a2c60453fb9d6b13743f9a37603a9a1cd239f623ab31701da2a13136730d8994ed09d07d4f6d033d2cd1d437137806d27012d3dc4819a8ce16a2f8cfd89b SHA512 5beafdd95b16344d5db43a0e26fd670a770e2c2a661ae117c9593db86697ca1034e2bf004fe6dc3c2a690e8a682f60d8b6121211d898009e59361ebef33f6fc9 diff --git a/dev-libs/cereal/cereal-1.3.1.ebuild b/dev-libs/cereal/cereal-1.3.1.ebuild new file mode 100644 index 000000000000..b8f35d34d146 --- /dev/null +++ b/dev-libs/cereal/cereal-1.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only C++11 serialization library" +HOMEPAGE="https://uscilab.github.io/cereal/" +SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + if ! use doc ; then + sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + # TODO: drop bundled doctest, rapidjson, rapidxml (bug #792444) + + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + + # Avoid Boost dependency + -DSKIP_PERFORMANCE_COMPARISON=ON + + -DSKIP_PORTABILITY_TEST=ON + -DWITH_WERROR=OFF + ) + + cmake_src_configure +}