[dev-libs/libbson] bump to use proper release archive and python deps

This commit is contained in:
Robert Förster 2024-06-27 02:39:14 +02:00
parent 22063264f4
commit 83f727445f
2 changed files with 14 additions and 4 deletions

View File

@ -1 +1 @@
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 EAPI=8
inherit cmake PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-any-r1
DESCRIPTION="Library routines related to building,parsing and iterating BSON documents" DESCRIPTION="Library routines related to building,parsing and iterating BSON documents"
HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson" HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson"
SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/refs/tags/${PV}.tar.gz -> mongo-c-driver-${PV}.tar.gz" SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz"
S="${WORKDIR}/mongo-c-driver-${PV}" S="${WORKDIR}/mongo-c-driver-${PV}"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
@ -18,7 +20,15 @@ IUSE="examples static-libs"
# tests are covered in mongo-c-driver and are not easily runnable in here # tests are covered in mongo-c-driver and are not easily runnable in here
RESTRICT="test" RESTRICT="test"
BDEPEND="dev-python/sphinx" BDEPEND="
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
')
"
python_check_deps() {
python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
}
src_prepare() { src_prepare() {
cmake_src_prepare cmake_src_prepare