Skip to content

Commit

Permalink
admin/build-doc: always install python3-* for build deps
Browse files Browse the repository at this point in the history
since we've dropped the support of python36-*, i.e. python packages
provided by EPEL7 before RHEL7/CentOS7 included python3. as before the
inclusion of python3 as supported python3, python packages are named
python36-*. and they don't provide python3-*. so we had to install
python36-* explicitly. now that we are able to use the python3-*
packages, we can just install python3-*.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Jan 4, 2020
1 parent bd24ccf commit b87781c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin/build-doc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ if command -v dpkg >/dev/null; then
exit 1
fi
elif command -v yum >/dev/null; then
python_package="python$(rpm --eval '%{python3_pkgversion}')"
for package in "$python_package"-devel "$python_package"-pip "$python_package"-virtualenv doxygen ditaa ant libxml2-devel libxslt-devel "$python_package"-Cython graphviz; do
for package in ant ditaa doxgen libxslt-devel libxml2-devel graphviz python3-devel python3-pip python3-virtualenv python3-Cython; do
if ! rpm -q --whatprovides $package >/dev/null ; then
missing="${missing:+$missing }$package"
fi
Expand Down

0 comments on commit b87781c

Please sign in to comment.