|
@@ -1024,13 +1024,8 @@ if $python -c 'import sys; sys.exit(sys.version_info >= (3,11))'; then
|
|
|
$mkvenv ensure --dir "${source_path}/python/wheels" \
|
|
|
'tomli>=1.2.0' || exit 1
|
|
|
fi
|
|
|
-if ! $mkvenv ensure \
|
|
|
- --dir "${source_path}/python/wheels" \
|
|
|
- --diagnose "meson" \
|
|
|
- "meson>=0.63.0" ;
|
|
|
-then
|
|
|
- exit 1
|
|
|
-fi
|
|
|
+$mkvenv ensuregroup --dir "${source_path}/python/wheels" \
|
|
|
+ ${source_path}/pythondeps.toml meson || exit 1
|
|
|
|
|
|
# At this point, we expect Meson to be installed and available.
|
|
|
# We expect mkvenv or pip to have created pyvenv/bin/meson for us.
|
|
@@ -1047,10 +1042,9 @@ if test "$download" = "enabled" -a "$docs" = "enabled" ; then
|
|
|
fi
|
|
|
|
|
|
if test "$docs" != "disabled" ; then
|
|
|
- if ! $mkvenv ensure \
|
|
|
+ if ! $mkvenv ensuregroup \
|
|
|
$mkvenv_flags \
|
|
|
- --diagnose "sphinx-build" \
|
|
|
- "sphinx>=1.6.0" "sphinx-rtd-theme>=0.5.0";
|
|
|
+ ${source_path}/pythondeps.toml docs;
|
|
|
then
|
|
|
if test "$docs" = "enabled" ; then
|
|
|
exit 1
|