From: "Dennis Lamm" <expeditioneer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cereal/
Date: Thu, 30 Dec 2021 17:40:12 +0000 (UTC) [thread overview]
Message-ID: <1640886006.57ccbb375bd197f1800e1df48174ef78e2df75d0.expeditioneer@gentoo> (raw)
commit: 57ccbb375bd197f1800e1df48174ef78e2df75d0
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 16:17:10 2021 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 17:40:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ccbb37
dev-libs/cereal: fix bug #824510
Closes: https://bugs.gentoo.org/824510
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/23585
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
dev-libs/cereal/Manifest | 1 +
dev-libs/cereal/cereal-1.3.0-r2.ebuild | 44 ++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest
index 3b9b3fe3ed8e..ab0042cb5f58 100644
--- a/dev-libs/cereal/Manifest
+++ b/dev-libs/cereal/Manifest
@@ -1 +1,2 @@
+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
diff --git a/dev-libs/cereal/cereal-1.3.0-r2.ebuild b/dev-libs/cereal/cereal-1.3.0-r2.ebuild
new file mode 100644
index 000000000000..13631891d50a
--- /dev/null
+++ b/dev-libs/cereal/cereal-1.3.0-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+ https://dev.gentoo.org/~expeditioneer/patches/${P}-fix-doctest.patch"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+doc test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-libs/boost )"
+
+PATCHES=( "${DISTDIR}/${P}-fix-doctest.patch" )
+
+src_prepare() {
+ sed -i -e '/set(CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast ${CMAKE_CXX_FLAGS}")/d' CMakeLists.txt || die
+
+ if ! use doc ; then
+ sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local CMAKE_BUILD_TYPE="Release"
+
+ local mycmakeargs=(
+ -DJUST_INSTALL_CEREAL=$(usex !test)
+ -DSKIP_PORTABILITY_TEST=ON
+ -DWITH_WERROR=OFF
+ )
+ cmake_src_configure
+}
next reply other threads:[~2021-12-30 17:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-30 17:40 Dennis Lamm [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-24 14:43 [gentoo-commits] repo/gentoo:master commit in: dev-libs/cereal/ Michał Górny
2023-04-16 12:11 WANG Xuerui
2022-12-26 8:43 Andreas Sturmlechner
2022-12-26 3:20 Sam James
2022-12-26 3:20 Sam James
2022-11-18 17:29 Arthur Zamarin
2022-04-03 10:45 Matthew Smith
2022-04-03 8:52 Matthew Smith
2022-03-29 8:49 Yixun Lan
2022-03-29 8:49 Yixun Lan
2022-03-18 17:04 Dennis Lamm
2022-03-18 17:04 Dennis Lamm
2022-03-09 9:19 Agostino Sarubbo
2022-03-07 16:20 Agostino Sarubbo
2022-02-22 5:40 Yixun Lan
2022-02-21 22:13 Sam James
2022-02-21 2:58 Sam James
2022-01-31 19:40 Jakov Smolić
2021-12-23 14:02 Dennis Lamm
2021-06-15 18:25 Dennis Lamm
2020-06-25 13:54 Andreas Sturmlechner
2020-06-25 13:42 Andreas Sturmlechner
2020-06-25 13:38 Christoph Junghans
2020-06-25 13:29 Christoph Junghans
2017-02-15 17:13 Christoph Junghans
2016-08-31 21:30 Christoph Junghans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1640886006.57ccbb375bd197f1800e1df48174ef78e2df75d0.expeditioneer@gentoo \
--to=expeditioneer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox