[dev-libs/mongo-c-driver] bump and also libmongocrypt-less version

This commit is contained in:
Robert Förster 2025-07-22 15:37:24 +02:00
parent cdb3eed64d
commit 1cf7d7802b
3 changed files with 24 additions and 22 deletions

View File

@ -1,2 +1 @@
DIST mongo-c-driver-1.24.4.tar.gz 7916661 BLAKE2B e361b52bf16eed7437428b0481d792ecf2f9cc283fdd6f23916d4a3ffb1b7d7c9ea7a7c4cf5f369e21fb6d4f564b91e07ac2ee44656855993218593dc4f1c166 SHA512 3563c061565d17a76581e188f6e184d7e41f2729812c8815afd34e03ebe6c1d25d7498a2cb1b599a09d24f6268c36473ef5113a14c7585a1532c9abf2e56e936
DIST mongo-c-driver-1.30.4.tar.gz 7410501 BLAKE2B dae1034e60b47d90775318afbb6b8c6a0a9df9030e58244b340efceed054f78c563c658555c0800d16bb53382548b9c62345cf37b16d021050a34d2aba4c2757 SHA512 44a02975a23c2211898b366bce98abfd32101b6cc22649d59684d7a0841bc8ad6d1ae197337de412c8c8123c8e036a8b6e8aacc2ecca18e697b6181bcb5e804e
DIST mongo-c-driver-1.30.5.tar.gz 7434294 BLAKE2B 910a3929481625add6578f26cddacdbda788a8c6a6828ca7d6c2abc9a4350edc5f0ee13003197f93bb01cbd42e07330344f8a7c8d194ad86525665e23469e3d8 SHA512 3740f91a6d72d400057ecd0920740579ff664f230815bbf2cad1d0a0a268de99b40be3f05cdfe22759ca789d938cf7d3bbd439c431867b82d83c3d1690df3f68

View File

@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} pypy3_11 )
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit cmake dot-a python-any-r1

View File

@ -1,11 +1,11 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit cmake python-any-r1
inherit cmake dot-a python-any-r1
DESCRIPTION="Client library written in C for MongoDB"
HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
@ -14,30 +14,32 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
IUSE="debug examples icu sasl ssl static-libs test +test-full"
REQUIRED_USE="test? ( static-libs )"
IUSE="debug examples sasl +ssl static-libs test +test-full"
REQUIRED_USE="
test? ( static-libs )"
RESTRICT="!test? ( test )"
RDEPEND="app-arch/snappy:=
RDEPEND="
app-arch/snappy:=
app-arch/zstd:=
~dev-libs/libbson-${PV}[static-libs?]
dev-python/sphinx
>=dev-libs/libutf8proc-2.8.0:=[static-libs?]
sys-libs/zlib:=
icu? ( dev-libs/icu:= )
sasl? ( dev-libs/cyrus-sasl:= )
ssl? (
dev-libs/openssl:=
)"
ssl? ( dev-libs/openssl:= )
"
DEPEND="
${RDEPEND}
test? (
dev-libs/libbson[static-libs]
dev-libs/libutf8proc[static-libs]
test-full? (
dev-db/mongodb
)
)
"
BDEPEND="
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
@ -67,22 +69,26 @@ src_prepare() {
}
src_configure() {
use static-libs && lto-guarantee-fat
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
-DUSE_SYSTEM_LIBBSON=ON
-DENABLE_CLIENT_SIDE_ENCRYPTION=OFF
-DENABLE_EXAMPLES=OFF
-DENABLE_ICU="$(usex icu ON OFF)"
-DENABLE_MAN_PAGES=ON
-DENABLE_MONGOC=ON
-DENABLE_MONGODB_AWS_AUTH=OFF
-DENABLE_SNAPPY=ON
-DENABLE_ZLIB=SYSTEM
-DENABLE_SASL="$(usex sasl CYRUS OFF)"
-DENABLE_SRV=ON
-DENABLE_SSL="$(usex ssl $(usex ssl OPENSSL) OFF)"
-DENABLE_STATIC="$(usex static-libs ON OFF)"
-DENABLE_TESTS="$(usex test ON OFF)"
-DENABLE_TRACING="$(usex debug ON OFF)"
-DENABLE_UNINSTALL=OFF
-DENABLE_ZSTD=ON
-DUSE_BUNDLED_UTF8PROC=OFF
)
cmake_src_configure
@ -91,7 +97,6 @@ src_configure() {
src_test() {
export MONGOC_TEST_OFFLINE=on
export MONGOC_TEST_SKIP_MOCK=on
echo "/Samples" >> "${T}/skip-tests.txt"
if ! use test-full; then
export MONGOC_TEST_SKIP_LIVE=on
else
@ -106,11 +111,8 @@ src_test() {
fi
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc \
--skip-tests "${T}/skip-tests.txt" || die
if use test-full; then
kill $(<"${T}/mongod.lock")
fi
--skip-tests "${FILESDIR}/skip-tests.txt" || die
kill $(<"${T}/mongod.lock")
}
src_install() {
@ -120,4 +122,5 @@ src_install() {
fi
cmake_src_install
strip-lto-bytecode
}