Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705834

Re: [PATCH] scripts/sphinx-pre-install: add minimum support for RHEL

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts/sphinx-pre-install: add minimum support for RHEL
Date 2017-08-07 22:30 +0200
Message-ID <ubWP0-5nl-9@gated-at.bofh.it> (permalink)
References <u6Kv7-4Gh-7@gated-at.bofh.it>
Organization LWN.net

Show all headers | View raw


On Mon, 24 Jul 2017 09:09:24 -0300
Mauro Carvalho Chehab <mchehab@s-opensource.com> wrote:

> RHEL 7.x and clone distros are shipped with Sphinx 1.1.x,
> with is incompatible with Kernel ReST markups.
> 
> So, on those systems, the only alternative is to install
> it via a Python virtual environment.
> 
> While seeking for "pip" on CentOS 7.3, I noticed that it
> is not really needed, as python-virtualenv has its version
> packaged there already. So, remove this from the list of
> requirements for all distributions.
> 
> With regards to PDF, twe need at least texlive-tabulary
> extension, but that is not shipped there (at least on
> CentOS). So, disable PDF packages as a hole.
> 
> Please notice, however, that texlive + amsmath is needed for
> ReST to properly handle ReST ".. math::" tags. Yet, Sphinx
> fall back to display the LaTeX math expressions as-is, if
> such extension is not available.
> 
> So, let's just disable all texlive packages as a hole.

I've applied this, finally.  Couldn't resist the temptation to fix "as a
whole" while I was at it :)

Thanks,

jon

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] scripts/sphinx-pre-install: add minimum support for  RHEL Jonathan Corbet <corbet@lwn.net> - 2017-08-07 22:30 +0200
  Re: [PATCH] scripts/sphinx-pre-install: add minimum support for  RHEL Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-08-08 11:00 +0200

csiph-web