summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-14 16:37:27 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-14 16:37:27 +0100
commitc01c3cbddc8ea0575bbea41b644f14704fff7741 (patch)
tree75bd71fd23bbf4ced26a303735e7d958343a5ed3 /guide/helper.html
parentUpdate & sort the feed list (diff)
downloadpython-c01c3cbddc8ea0575bbea41b644f14704fff7741.tar.gz
python-c01c3cbddc8ea0575bbea41b644f14704fff7741.tar.bz2
python-c01c3cbddc8ea0575bbea41b644f14704fff7741.zip
Rebuild with Sphinx 6.1.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'guide/helper.html')
-rw-r--r--guide/helper.html41
1 files changed, 19 insertions, 22 deletions
diff --git a/guide/helper.html b/guide/helper.html
index 0ac14cd..751bbff 100644
--- a/guide/helper.html
+++ b/guide/helper.html
@@ -10,9 +10,6 @@
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<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>
<script src="_static/sphinx_highlight.js"></script>
<link rel="index" title="Index" href="genindex.html" />
@@ -233,28 +230,28 @@ to the <code class="docutils literal notranslate"><span class="pre">python-confi
(<code class="docutils literal notranslate"><span class="pre">${EPREFIX}</span></code>) already and they are not suitable to passing
to <code class="docutils literal notranslate"><span class="pre">*into</span></code> helpers. If you need to install something, use <a class="reference internal" href="#install-helpers">install
helpers</a> instead.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>src_configure<span class="o">()</span> <span class="o">{</span>
- <span class="nb">local</span> <span class="nv">mycmakeargs</span><span class="o">=(</span>
- ...
- <span class="o">)</span>
- use python <span class="o">&amp;&amp;</span> <span class="nv">mycmakeargs</span><span class="o">+=(</span>
- -DPYTHON_DEST<span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_sitedir<span class="k">)</span><span class="s2">&quot;</span>
- -DPYTHON_EXECUTABLE<span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON</span><span class="si">}</span><span class="s2">&quot;</span>
- -DPYTHON_INCLUDE_DIR<span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_includedir<span class="k">)</span><span class="s2">&quot;</span>
- -DPYTHON_LIBRARY<span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_library_path<span class="k">)</span><span class="s2">&quot;</span>
- <span class="o">)</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>src_configure<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nb">local</span><span class="w"> </span><span class="nv">mycmakeargs</span><span class="o">=(</span>
+<span class="w"> </span>...
+<span class="w"> </span><span class="o">)</span>
+<span class="w"> </span>use<span class="w"> </span>python<span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="nv">mycmakeargs</span><span class="o">+=(</span>
+<span class="w"> </span>-DPYTHON_DEST<span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_sitedir<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span>-DPYTHON_EXECUTABLE<span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span>-DPYTHON_INCLUDE_DIR<span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_includedir<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span>-DPYTHON_LIBRARY<span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_library_path<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="o">)</span>
- cmake_src_configure
+<span class="w"> </span>cmake_src_configure
<span class="o">}</span>
</pre></div>
</div>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python_test<span class="o">()</span> <span class="o">{</span>
- <span class="c1"># prepare embedded executable</span>
- emake <span class="se">\</span>
- <span class="nv">CC</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCC<span class="k">)</span><span class="s2">&quot;</span> <span class="se">\</span>
- <span class="nv">PYINC</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_CFLAGS<span class="k">)</span><span class="s2">&quot;</span> <span class="se">\</span>
- <span class="nv">PYLIB</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_LIBS<span class="k">)</span><span class="s2">&quot;</span> <span class="se">\</span>
- check
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python_test<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="c1"># prepare embedded executable</span>
+<span class="w"> </span>emake<span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">CC</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCC<span class="k">)</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">PYINC</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_CFLAGS<span class="k">)</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">PYLIB</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>python_get_LIBS<span class="k">)</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span>check
<span class="o">}</span>
</pre></div>
</div>
@@ -344,7 +341,7 @@ helpers</a> instead.</p>
&copy;2020, Michał Górny, license: CC BY 4.0.
|
- Powered by <a href="http://sphinx-doc.org/">Sphinx 5.3.0</a>
+ Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|