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 72AE2158089 for ; Fri, 8 Sep 2023 19:29:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4C982BC026; Fri, 8 Sep 2023 19:29:33 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FF652BC026 for ; Fri, 8 Sep 2023 19:29:33 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB48B335C47 for ; Fri, 8 Sep 2023 19:29:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59AE5BF2 for ; Fri, 8 Sep 2023 19:29:31 +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: <1694201351.911608c5e80d0b82894ee05ba505d4f793b1ad99.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libbson/Manifest dev-libs/libbson/libbson-1.24.4.ebuild X-VCS-Directories: dev-libs/libbson/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 911608c5e80d0b82894ee05ba505d4f793b1ad99 X-VCS-Branch: master Date: Fri, 8 Sep 2023 19:29:31 +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: dfc6ccbd-6bea-4294-8ef0-a0647ae0edbe X-Archives-Hash: 32a031073bfcb54b04fa950f307656ba commit: 911608c5e80d0b82894ee05ba505d4f793b1ad99 Author: EJ Agas gmail com> AuthorDate: Thu Mar 10 14:27:51 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 8 19:29:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911608c5 dev-libs/libbson: Bump to 1.24.4 Co-authored-by: EJ Agas gmail.com> Signed-off-by: EJ Agas gmail.com> Signed-off-by: Jaco Kroon uls.co.za> Signed-off-by: Sam James gentoo.org> dev-libs/libbson/Manifest | 1 + dev-libs/libbson/libbson-1.24.4.ebuild | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-libs/libbson/Manifest b/dev-libs/libbson/Manifest index 14ac1b166010..761865c04ae0 100644 --- a/dev-libs/libbson/Manifest +++ b/dev-libs/libbson/Manifest @@ -1 +1,2 @@ DIST libbson-1.18.0.tar.gz 7246954 BLAKE2B 9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e SHA512 c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606 +DIST libbson-1.24.4.tar.gz 7916661 BLAKE2B e361b52bf16eed7437428b0481d792ecf2f9cc283fdd6f23916d4a3ffb1b7d7c9ea7a7c4cf5f369e21fb6d4f564b91e07ac2ee44656855993218593dc4f1c166 SHA512 3563c061565d17a76581e188f6e184d7e41f2729812c8815afd34e03ebe6c1d25d7498a2cb1b599a09d24f6268c36473ef5113a14c7585a1532c9abf2e56e936 diff --git a/dev-libs/libbson/libbson-1.24.4.ebuild b/dev-libs/libbson/libbson-1.24.4.ebuild new file mode 100644 index 000000000000..b21689d766dc --- /dev/null +++ b/dev-libs/libbson/libbson-1.24.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library routines related to building,parsing and iterating BSON documents" +HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson" +SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~ppc ~riscv ~sparc ~x86" +IUSE="examples static-libs" + +BDEPEND="dev-python/sphinx" + +S="${WORKDIR}/mongo-c-driver-${PV}" + +src_prepare() { + cmake_src_prepare + + # remove doc files + sed -i '/^\s*install\s*(FILES COPYING NEWS/,/^\s*)/ {d}' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DENABLE_BSON=ON + -DENABLE_EXAMPLES=OFF + -DENABLE_MAN_PAGES=ON + -DENABLE_MONGOC=OFF + -DENABLE_TESTS=OFF + -DENABLE_STATIC="$(usex static-libs ON OFF)" + -DENABLE_UNINSTALL=OFF + ) + + cmake_src_configure +} + +src_install() { + if use examples; then + docinto examples + dodoc src/libbson/examples/*.c + fi + + cmake_src_install +}