diff options
author | 2022-06-03 11:12:51 +0200 | |
---|---|---|
committer | 2022-06-03 11:12:51 +0200 | |
commit | 4c1b9f5c19c00278f0b01bdbc820c761dedf6524 (patch) | |
tree | d7054ee7fd47645d1b64cd337f0cff667bac6e90 /guide/multi.html | |
parent | Update Guide to b559bd9 (diff) | |
download | python-4c1b9f5c19c00278f0b01bdbc820c761dedf6524.tar.gz python-4c1b9f5c19c00278f0b01bdbc820c761dedf6524.tar.bz2 python-4c1b9f5c19c00278f0b01bdbc820c761dedf6524.zip |
Update Guide to a71e618
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'guide/multi.html')
-rw-r--r-- | guide/multi.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/guide/multi.html b/guide/multi.html index 9c2bec6..392e5bb 100644 --- a/guide/multi.html +++ b/guide/multi.html @@ -1,10 +1,10 @@ <!DOCTYPE html> -<html> +<html lang="en"> <head> <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" /> <title>python-r1 — multi-impl packages — Gentoo Python Guide documentation</title> <link rel="stylesheet" type="text/css" href="_static/pygments.css" /> @@ -12,6 +12,7 @@ <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script> <script src="_static/jquery.js"></script> <script src="_static/underscore.js"></script> + <script src="_static/_sphinx_javascript_frameworks_compat.js"></script> <script src="_static/doctools.js"></script> <link rel="index" title="Index" href="genindex.html" /> <link rel="search" title="Search" href="search.html" /> @@ -34,7 +35,7 @@ <div class="body" role="main"> <section id="python-r1-multi-impl-packages"> -<h1>python-r1 — multi-impl packages<a class="headerlink" href="#python-r1-multi-impl-packages" title="Permalink to this headline">¶</a></h1> +<h1>python-r1 — multi-impl packages<a class="headerlink" href="#python-r1-multi-impl-packages" title="Permalink to this heading">¶</a></h1> <p>The <code class="docutils literal notranslate"><span class="pre">python-r1</span></code> eclass is used to install multi-impl packages. It is considered an expert eclass — when possible, you should prefer using <code class="docutils literal notranslate"><span class="pre">python-single-r1</span></code> instead. For packages using distutils @@ -42,7 +43,7 @@ or a similar Python build system, <code class="docutils literal notranslate"><sp instead.</p> <p>Eclass reference: <a class="reference external" href="https://devmanual.gentoo.org/eclass-reference/python-r1.eclass/index.html">python-r1.eclass(5)</a></p> <section id="manual-install"> -<span id="index-0"></span><h2>Manual install<a class="headerlink" href="#manual-install" title="Permalink to this headline">¶</a></h2> +<span id="index-0"></span><h2>Manual install<a class="headerlink" href="#manual-install" title="Permalink to this heading">¶</a></h2> <p>The simplest case of multi-impl package is a package without a specific build system. The modules need to be installed manually here, and <code class="docutils literal notranslate"><span class="pre">python_foreach_impl</span></code> function is used to repeat the install step @@ -110,7 +111,7 @@ need to be executed:</p> </div> </section> <section id="dependencies"> -<span id="index-1"></span><h2>Dependencies<a class="headerlink" href="#dependencies" title="Permalink to this headline">¶</a></h2> +<span id="index-1"></span><h2>Dependencies<a class="headerlink" href="#dependencies" title="Permalink to this heading">¶</a></h2> <p>When depending on other Python packages, USE dependencies need to be declared in order to ensure that the dependencies would be built against all the Python implementations enabled for the package. This is easily @@ -124,7 +125,7 @@ to the dependencies:</p> </div> </section> <section id="pure-python-autotools-package"> -<span id="index-2"></span><h2>Pure Python autotools package<a class="headerlink" href="#pure-python-autotools-package" title="Permalink to this headline">¶</a></h2> +<span id="index-2"></span><h2>Pure Python autotools package<a class="headerlink" href="#pure-python-autotools-package" title="Permalink to this heading">¶</a></h2> <p>Another typical case for this eclass is to handle a pure Python package with a non-standard build system. In this case, it is generally necessary to call phase functions via <code class="docutils literal notranslate"><span class="pre">python_foreach_impl</span></code>. Whenever @@ -249,7 +250,7 @@ to do that:</p> has been removed in order to disable out-of-source builds.</p> </section> <section id="conditional-python-use"> -<h2>Conditional Python use<a class="headerlink" href="#conditional-python-use" title="Permalink to this headline">¶</a></h2> +<h2>Conditional Python use<a class="headerlink" href="#conditional-python-use" title="Permalink to this heading">¶</a></h2> <p>When the package installs Python components conditionally to a USE flag, the respective USE conditional needs to be consistently used in metadata variables and in <code class="docutils literal notranslate"><span class="pre">python_foreach_impl</span></code> calls.</p> @@ -309,7 +310,7 @@ rules for installing Python files as they are suitable only for single-impl installs.</p> </section> <section id="additional-build-time-python-use"> -<span id="index-3"></span><h2>Additional build-time Python use<a class="headerlink" href="#additional-build-time-python-use" title="Permalink to this headline">¶</a></h2> +<span id="index-3"></span><h2>Additional build-time Python use<a class="headerlink" href="#additional-build-time-python-use" title="Permalink to this heading">¶</a></h2> <p>Some packages additionally require Python at build time, independently of Python components installed (i.e. outside <code class="docutils literal notranslate"><span class="pre">python_foreach_impl</span></code>). The eclass provides extensive API for this purpose but for now we’ll @@ -436,7 +437,7 @@ flag, while parts affecting build time (<code class="docutils literal notranslat </form> </div> </div> -<script>$('#searchbox').show(0);</script> +<script>document.getElementById('searchbox').style.display = "block"</script> @@ -453,7 +454,7 @@ flag, while parts affecting build time (<code class="docutils literal notranslat ©2020, Michał Górny, license: CC BY 4.0. | - Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a> + Powered by <a href="http://sphinx-doc.org/">Sphinx 5.0.1</a> & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | |