[dev-libs/mongo-c-driver] bump to use proper release archive and python deps

This commit is contained in:
Robert Förster 2024-06-27 02:42:21 +02:00
parent 83f727445f
commit 9941b08cb5
2 changed files with 19 additions and 7 deletions

View File

@ -1,2 +1,2 @@
DIST mongo-c-driver-1.24.4.tar.gz 7916661 BLAKE2B e361b52bf16eed7437428b0481d792ecf2f9cc283fdd6f23916d4a3ffb1b7d7c9ea7a7c4cf5f369e21fb6d4f564b91e07ac2ee44656855993218593dc4f1c166 SHA512 3563c061565d17a76581e188f6e184d7e41f2729812c8815afd34e03ebe6c1d25d7498a2cb1b599a09d24f6268c36473ef5113a14c7585a1532c9abf2e56e936
DIST mongo-c-driver-1.27.2.tar.gz 7215536 BLAKE2B 960a846470f325c9b629f7578e474e7cf40a0cbf5493e4c4e487b00b119618085672d6276a5a277383ee7032c54e64dfc668d125268ae963211301ce8b1381b9 SHA512 b2b00aeafb3e639ced89e1e5fee6e3a72167322acbb49dce06514271af2041713373ce1b941bdf1b94a518e93f4baca1c55c5c6e5cec33ff72916dace2c2be09
DIST mongo-c-driver-1.27.3.tar.gz 7188431 BLAKE2B efbd370f8622b50a0ece78651163043900fd1b8397a23b8cdec5a6f2c73c66af087cc15848e9f69822024f7f2e6d72a274a928f712d6acc84b369894f1b78eef SHA512 dc31553959024ac699d119b4921f99622bd225087907b180be386c6925525c9fd7c4a0ab908fa5081b42cbca4782da587918cabf1899f86138f65942534478bb

View File

@ -3,11 +3,13 @@
EAPI=8
inherit cmake
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-any-r1
DESCRIPTION="Client library written in C for MongoDB"
HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
@ -23,9 +25,8 @@ RDEPEND="
app-arch/snappy:=
app-arch/zstd:=
>=dev-libs/libbson-${PV}[static-libs?]
>=dev-libs/libmongocrypt-1.10.0
>=dev-libs/libmongocrypt-1.10.1
>=dev-libs/libutf8proc-2.8.0:=[static-libs?]
dev-python/sphinx
sys-libs/zlib:=
sasl? ( dev-libs/cyrus-sasl:= )
ssl? ( dev-libs/openssl:= )
@ -34,14 +35,25 @@ DEPEND="
${RDEPEND}
test? (
dev-libs/libbson[static-libs]
>=dev-libs/libmongocrypt-1.10.0[static-libs]
>=dev-libs/libutf8proc-2.8.0:=[static-libs]
>=dev-libs/libmongocrypt[static-libs]
>=dev-libs/libutf8proc[static-libs]
test-full? (
dev-db/mongodb
)
)
"
BDEPEND="
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
')
"
python_check_deps() {
python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
}
src_prepare() {
cmake_src_prepare