'gzip']
if 'docs' in features:
- if revision == '3.10':
- packages.extend(['py-sphinx', 'py-sphinx_rtd_theme'])
- elif revision == '3.11':
- packages.extend(['py3-sphinx'])
- elif float(revision) < 3.16:
- packages.extend(['py3-sphinx', 'py3-sphinx_rtd_theme'])
- else:
- packages.extend(['py3-pip'])
+ packages.extend(['py3-sphinx', 'py3-sphinx_rtd_theme'])
if 'unittest' in features:
_install_gtest_sources()
install_pkgs(packages, env=env, timeout=6 * 60, check_times=check_times)
- # work around outdated sphinx packages on alpine 3.16
- if 'docs' in features:
- if float(revision) >= 3.16:
- execute('sudo pip3 install -U sphinx sphinx_rtd_theme')
-
# check for existence of 'vagrant' user and 'abuild' group before adding him to the group
try:
pwd.getpwnam('vagrant')