[dev-db/mongodb] add back scons as a dep so python flags are synced

This commit is contained in:
Robert Förster 2024-04-29 12:52:24 +02:00
parent 442524fc45
commit 5b039875f0
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,7 @@ DEPEND="${RDEPEND}
BDEPEND=" BDEPEND="
$(python_gen_any_dep ' $(python_gen_any_dep '
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] ) test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
dev-python/cheetah3[${PYTHON_USEDEP}] dev-python/cheetah3[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}]
@ -73,7 +74,7 @@ python_check_deps() {
python_has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1 python_has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
python_has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1 python_has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
fi fi
python_has_version -b ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]"

View File

@ -50,6 +50,7 @@ DEPEND="${RDEPEND}
debug? ( dev-debug/valgrind )" debug? ( dev-debug/valgrind )"
BDEPEND=" BDEPEND="
$(python_gen_any_dep ' $(python_gen_any_dep '
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
dev-python/cheetah3[${PYTHON_USEDEP}] dev-python/cheetah3[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}]
@ -78,6 +79,7 @@ PATCHES=(
S="${WORKDIR}/${MY_P}" S="${WORKDIR}/${MY_P}"
python_check_deps() { python_check_deps() {
python_has_version -b ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]"