Diff libbson-1.24.4 with a libbson-1.24.4-r1

/usr/portage/dev-libs/libbson/libbson-1.24.4-r1.ebuild 2025-07-29 16:22:13.164450502 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit cmake
6
PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
7

  
8
inherit cmake python-any-r1
7 9

  
8 10
DESCRIPTION="Library routines related to building,parsing and iterating BSON documents"
9 11
HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson"
10
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz -> ${P}.tar.gz"
12
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz"
13
S="${WORKDIR}/mongo-c-driver-${PV}"
11 14

  
12 15
LICENSE="Apache-2.0"
13 16
SLOT="0"
14
KEYWORDS="amd64 arm64 ~hppa ~loong ~ppc ~riscv ~sparc x86"
17
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~loong ~ppc ~riscv ~sparc x86"
15 18
IUSE="examples static-libs"
16 19

  
17
BDEPEND="dev-python/sphinx"
20
# tests are covered in mongo-c-driver and are not easily runnable in here
21
RESTRICT="test"
18 22

  
19
S="${WORKDIR}/mongo-c-driver-${PV}"
23
BDEPEND="
24
	$(python_gen_any_dep '
25
		dev-python/sphinx[${PYTHON_USEDEP}]
26
	')
27
"
28

  
29
PATCHES=(
30
	"${FILESDIR}/${P}-CVE-2023-0437.patch"
31
)
32

  
33
python_check_deps() {
34
	python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
35
}
20 36

  
21 37
src_prepare() {
22 38
	cmake_src_prepare
......
27 43

  
28 44
src_configure() {
29 45
	local mycmakeargs=(
30
		-DENABLE_BSON=ON
31 46
		-DENABLE_EXAMPLES=OFF
32 47
		-DENABLE_MAN_PAGES=ON
33 48
		-DENABLE_MONGOC=OFF
Thank you!