diff options
Diffstat (limited to 'guide/eclass.html')
-rw-r--r-- | guide/eclass.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/guide/eclass.html b/guide/eclass.html index 5833a4c..ceb6066 100644 --- a/guide/eclass.html +++ b/guide/eclass.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>Choosing between Python eclasses — 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,9 +35,9 @@ <div class="body" role="main"> <section id="choosing-between-python-eclasses"> -<h1>Choosing between Python eclasses<a class="headerlink" href="#choosing-between-python-eclasses" title="Permalink to this headline">¶</a></h1> +<h1>Choosing between Python eclasses<a class="headerlink" href="#choosing-between-python-eclasses" title="Permalink to this heading">¶</a></h1> <section id="build-time-vs-runtime-use"> -<h2>Build-time vs runtime use<a class="headerlink" href="#build-time-vs-runtime-use" title="Permalink to this headline">¶</a></h2> +<h2>Build-time vs runtime use<a class="headerlink" href="#build-time-vs-runtime-use" title="Permalink to this heading">¶</a></h2> <p>The first basis for choosing Python eclass is whether Python is used merely at build-time or at runtime as well.</p> <p>A runtime use occurs if the package explicitly needs Python to be @@ -63,7 +64,7 @@ loads Python code from the package and a compatible Python version must be enforced.</p> </section> <section id="single-impl-vs-multi-impl"> -<h2>Single-impl vs multi-impl<a class="headerlink" href="#single-impl-vs-multi-impl" title="Permalink to this headline">¶</a></h2> +<h2>Single-impl vs multi-impl<a class="headerlink" href="#single-impl-vs-multi-impl" title="Permalink to this heading">¶</a></h2> <p>The second important basis for packages using Python at runtime is whether the package in question should support multi-implementation install or not.</p> @@ -101,7 +102,7 @@ These USE flag sets can be set independently to provide greater flexibility for developers and end users.</p> </section> <section id="distutils-and-related-build-systems"> -<h2>Distutils and related build systems<a class="headerlink" href="#distutils-and-related-build-systems" title="Permalink to this headline">¶</a></h2> +<h2>Distutils and related build systems<a class="headerlink" href="#distutils-and-related-build-systems" title="Permalink to this heading">¶</a></h2> <p>The third basis for choosing an eclass is the build system used. If the project uses one of Python-specific build systems, that is distutils, setuptools, flit or poetry, the <code class="docutils literal notranslate"><span class="pre">distutils-r1</span></code> eclass @@ -114,7 +115,7 @@ packages. It provides full set of default phase functions, making writing ebuilds much easier.</p> </section> <section id="a-rule-of-thumb"> -<h2>A rule of thumb<a class="headerlink" href="#a-rule-of-thumb" title="Permalink to this headline">¶</a></h2> +<h2>A rule of thumb<a class="headerlink" href="#a-rule-of-thumb" title="Permalink to this heading">¶</a></h2> <p>As a rule of thumb, the following checklist can be used to determine the eclass to use:</p> <ol class="arabic simple"> @@ -128,7 +129,7 @@ at runtime, use <code class="docutils literal notranslate"><span class="pre">pyt </ol> </section> <section id="python-utils-r1"> -<h2>python-utils-r1<a class="headerlink" href="#python-utils-r1" title="Permalink to this headline">¶</a></h2> +<h2>python-utils-r1<a class="headerlink" href="#python-utils-r1" title="Permalink to this heading">¶</a></h2> <p>Besides the aforementioned eclasses, the suite includes a common utility eclass <code class="docutils literal notranslate"><span class="pre">python-utils-r1</span></code>. This eclass is inherited by all other eclasses, and it is considered to be a part of their API. Therefore, @@ -208,7 +209,7 @@ and are not suitable for being used otherwise.</p> </form> </div> </div> -<script>$('#searchbox').show(0);</script> +<script>document.getElementById('searchbox').style.display = "block"</script> @@ -225,7 +226,7 @@ and are not suitable for being used otherwise.</p> ©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> | |