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/buildsys.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/buildsys.html')
-rw-r--r--guide/buildsys.html691
1 files changed, 344 insertions, 347 deletions
diff --git a/guide/buildsys.html b/guide/buildsys.html
index ac760fc..fcb816c 100644
--- a/guide/buildsys.html
+++ b/guide/buildsys.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" />
@@ -69,25 +66,25 @@ chapter.</p>
of them are purely build-time and have no dependencies, it is sufficient
to inherit <code class="docutils literal notranslate"><span class="pre">python-any-r1</span></code>. The eclass takes care of setting
<code class="docutils literal notranslate"><span class="pre">BDEPEND</span></code> along with matching <code class="docutils literal notranslate"><span class="pre">python_check_deps()</span></code>.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python3_<span class="o">{</span><span class="m">6</span>,7<span class="o">}</span> <span class="o">)</span>
-</span><span class="hll"> inherit python-any-r1 scons-utils toolchain-funcs
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python3_<span class="o">{</span><span class="m">6</span>,7<span class="o">}</span><span class="w"> </span><span class="o">)</span>
+</span><span class="hll"><span class="w"> </span>inherit<span class="w"> </span>python-any-r1<span class="w"> </span>scons-utils<span class="w"> </span>toolchain-funcs
</span>
- <span class="nv">COMMIT</span><span class="o">=</span><span class="s2">&quot;6e5e8a57628095d8d0c8bbb38187afb0f3a42112&quot;</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Userspace Xbox 360 Controller driver&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://xboxdrv.gitlab.io&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/chewi/xboxdrv/archive/</span><span class="si">${</span><span class="nv">COMMIT</span><span class="si">}</span><span class="s2">.tar.gz -&gt; </span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
- <span class="nv">S</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">WORKDIR</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">-</span><span class="si">${</span><span class="nv">COMMIT</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">COMMIT</span><span class="o">=</span><span class="s2">&quot;6e5e8a57628095d8d0c8bbb38187afb0f3a42112&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Userspace Xbox 360 Controller driver&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://xboxdrv.gitlab.io&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/chewi/xboxdrv/archive/</span><span class="si">${</span><span class="nv">COMMIT</span><span class="si">}</span><span class="s2">.tar.gz -&gt; </span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+<span class="w"> </span><span class="nv">S</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">WORKDIR</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">-</span><span class="si">${</span><span class="nv">COMMIT</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;GPL-3&quot;</span>
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~x86&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;GPL-3&quot;</span>
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~x86&quot;</span>
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
<span class="s2"> dev-libs/boost:=</span>
<span class="s2"> dev-libs/dbus-glib</span>
<span class="s2"> dev-libs/glib:2</span>
@@ -97,30 +94,30 @@ to inherit <code class="docutils literal notranslate"><span class="pre">python-a
<span class="s2"> x11-libs/libX11</span>
<span class="s2"> &quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
-<span class="s2"> </span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="s2"> </span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span>
<span class="s2"> &quot;</span>
- <span class="nv">BDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">BDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
<span class="s2"> dev-util/glib-utils</span>
<span class="s2"> virtual/pkgconfig</span>
<span class="s2"> &quot;</span>
- src_compile<span class="o">()</span> <span class="o">{</span>
- escons <span class="se">\</span>
- <span class="nv">BUILD</span><span class="o">=</span>custom <span class="se">\</span>
- <span class="nv">CXX</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCXX<span class="k">)</span><span class="s2">&quot;</span> <span class="se">\</span>
- <span class="nv">AR</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getAR<span class="k">)</span><span class="s2">&quot;</span> <span class="se">\</span>
- <span class="nv">RANLIB</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getRANLIB<span class="k">)</span><span class="s2">&quot;</span> <span class="se">\</span>
- <span class="nv">CXXFLAGS</span><span class="o">=</span><span class="s2">&quot;-Wall </span><span class="si">${</span><span class="nv">CXXFLAGS</span><span class="si">}</span><span class="s2">&quot;</span> <span class="se">\</span>
- <span class="nv">LINKFLAGS</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">LDFLAGS</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="o">}</span>
-
- src_install<span class="o">()</span> <span class="o">{</span>
- dobin xboxdrv
- doman doc/xboxdrv.1
- dodoc AUTHORS NEWS PROTOCOL README.md TODO
- <span class="o">}</span>
+<span class="w"> </span>src_compile<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>escons<span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">BUILD</span><span class="o">=</span>custom<span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">CXX</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCXX<span class="k">)</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">AR</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getAR<span class="k">)</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">RANLIB</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getRANLIB<span class="k">)</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">CXXFLAGS</span><span class="o">=</span><span class="s2">&quot;-Wall </span><span class="si">${</span><span class="nv">CXXFLAGS</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span><span class="nv">LINKFLAGS</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">LDFLAGS</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>dobin<span class="w"> </span>xboxdrv
+<span class="w"> </span>doman<span class="w"> </span>doc/xboxdrv.1
+<span class="w"> </span>dodoc<span class="w"> </span>AUTHORS<span class="w"> </span>NEWS<span class="w"> </span>PROTOCOL<span class="w"> </span>README.md<span class="w"> </span>TODO
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -129,27 +126,27 @@ to inherit <code class="docutils literal notranslate"><span class="pre">python-a
<p>If the package has extra dependencies, you need to take care of <em>all</em>
dependencies yourself. This is because <code class="docutils literal notranslate"><span class="pre">python_gen_any_dep</span></code> cannot
be combined.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python3_<span class="o">{</span><span class="m">6</span>,7<span class="o">}</span> <span class="o">)</span>
-</span><span class="hll"> inherit python-any-r1 scons-utils toolchain-funcs
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python3_<span class="o">{</span><span class="m">6</span>,7<span class="o">}</span><span class="w"> </span><span class="o">)</span>
+</span><span class="hll"><span class="w"> </span>inherit<span class="w"> </span>python-any-r1<span class="w"> </span>scons-utils<span class="w"> </span>toolchain-funcs
</span>
- <span class="nv">MY_P</span><span class="o">=</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span>-src-r<span class="si">${</span><span class="nv">PV</span><span class="p">/_rc/-rc</span><span class="si">}</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;A high-performance, open source, schema-free document-oriented database&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.mongodb.com&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://fastdl.mongodb.org/src/</span><span class="si">${</span><span class="nv">MY_P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
- <span class="nv">S</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">WORKDIR</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">MY_P</span><span class="si">}</span><span class="s2">&quot;</span>
-
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;Apache-2.0 SSPL-1&quot;</span>
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;test +tools&quot;</span>
- <span class="nv">RESTRICT</span><span class="o">=</span><span class="s2">&quot;!test? ( test )&quot;</span>
-
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;acct-group/mongodb</span>
+<span class="w"> </span><span class="nv">MY_P</span><span class="o">=</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span>-src-r<span class="si">${</span><span class="nv">PV</span><span class="p">/_rc/-rc</span><span class="si">}</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;A high-performance, open source, schema-free document-oriented database&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.mongodb.com&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://fastdl.mongodb.org/src/</span><span class="si">${</span><span class="nv">MY_P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+<span class="w"> </span><span class="nv">S</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">WORKDIR</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">MY_P</span><span class="si">}</span><span class="s2">&quot;</span>
+
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;Apache-2.0 SSPL-1&quot;</span>
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;test +tools&quot;</span>
+<span class="w"> </span><span class="nv">RESTRICT</span><span class="o">=</span><span class="s2">&quot;!test? ( test )&quot;</span>
+
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;acct-group/mongodb</span>
<span class="s2"> acct-user/mongodb</span>
<span class="s2"> &gt;=app-arch/snappy-1.1.3</span>
<span class="s2"> &gt;=dev-cpp/yaml-cpp-0.6.2:=</span>
@@ -159,63 +156,63 @@ be combined.</p>
<span class="s2"> dev-libs/snowball-stemmer</span>
<span class="s2"> net-libs/libpcap</span>
<span class="s2"> &gt;=sys-libs/zlib-1.2.11:=&quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"></span>
-<span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span><span class="s2"></span>
-<span class="s2"> </span><span class="k">$(</span>python_gen_any_dep <span class="s1">&#39;</span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span>
+<span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
+<span class="s2"> </span><span class="k">$(</span>python_gen_any_dep<span class="w"> </span><span class="s1">&#39;</span>
<span class="s1"> test? ( dev-python/pymongo[${PYTHON_USEDEP}] )</span>
<span class="hll"><span class="s1"> &gt;=dev-util/scons-2.5.0[${PYTHON_USEDEP}]</span>
</span><span class="s1"> dev-python/cheetah3[${PYTHON_USEDEP}]</span>
<span class="s1"> dev-python/psutil[${PYTHON_USEDEP}]</span>
<span class="s1"> dev-python/pyyaml[${PYTHON_USEDEP}]</span>
<span class="s1"> virtual/python-typing[${PYTHON_USEDEP}]</span>
-<span class="s1"> &#39;</span><span class="k">)</span><span class="s2"></span>
+<span class="s1"> &#39;</span><span class="k">)</span>
<span class="s2"> sys-libs/ncurses:0=</span>
<span class="s2"> sys-libs/readline:0=&quot;</span>
- <span class="nv">PDEPEND</span><span class="o">=</span><span class="s2">&quot;tools? ( &gt;=app-admin/mongo-tools-</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2"> )&quot;</span>
-
- python_check_deps<span class="o">()</span> <span class="o">{</span>
- <span class="k">if</span> use test<span class="p">;</span> <span class="k">then</span>
- python_has_version <span class="s2">&quot;dev-python/pymongo[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span> <span class="o">||</span>
- <span class="k">return</span> <span class="m">1</span>
- <span class="k">fi</span>
-
-<span class="hll"> python_has_version <span class="s2">&quot;&gt;=dev-util/scons-2.5.0[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span> <span class="o">&amp;&amp;</span>
-</span> python_has_version <span class="s2">&quot;dev-python/cheetah3[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span> <span class="o">&amp;&amp;</span>
- python_has_version <span class="s2">&quot;dev-python/psutil[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span> <span class="o">&amp;&amp;</span>
- python_has_version <span class="s2">&quot;dev-python/pyyaml[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span> <span class="o">&amp;&amp;</span>
- python_has_version <span class="s2">&quot;virtual/python-typing[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span>
- <span class="o">}</span>
-
- src_configure<span class="o">()</span> <span class="o">{</span>
- <span class="nv">scons_opts</span><span class="o">=(</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="nv">CXX</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCXX<span class="k">)</span><span class="s2">&quot;</span>
-
- --disable-warnings-as-errors
- --use-system-boost
- --use-system-pcre
- --use-system-snappy
- --use-system-stemmer
- --use-system-yaml
- --use-system-zlib
- --use-system-zstd
- <span class="o">)</span>
-
- default
- <span class="o">}</span>
-
- src_compile<span class="o">()</span> <span class="o">{</span>
- escons <span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_opts</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span> core tools
- <span class="o">}</span>
-
- src_test<span class="o">()</span> <span class="o">{</span>
- <span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPYTHON</span><span class="si">}</span><span class="s2">&quot;</span> ./buildscripts/resmoke.py --dbpathPrefix<span class="o">=</span><span class="nb">test</span> <span class="se">\</span>
- --suites core --jobs<span class="o">=</span><span class="k">$(</span>makeopts_jobs<span class="k">)</span> <span class="o">||</span> die <span class="s2">&quot;Tests failed&quot;</span>
- <span class="o">}</span>
-
- src_install<span class="o">()</span> <span class="o">{</span>
- escons <span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_opts</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span> --nostrip install --prefix<span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">ED</span><span class="si">}</span><span class="s2">&quot;</span>/usr
- <span class="o">}</span>
+<span class="w"> </span><span class="nv">PDEPEND</span><span class="o">=</span><span class="s2">&quot;tools? ( &gt;=app-admin/mongo-tools-</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2"> )&quot;</span>
+
+<span class="w"> </span>python_check_deps<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="k">if</span><span class="w"> </span>use<span class="w"> </span>test<span class="p">;</span><span class="w"> </span><span class="k">then</span>
+<span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;dev-python/pymongo[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span><span class="w"> </span><span class="o">||</span>
+<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="m">1</span>
+<span class="w"> </span><span class="k">fi</span>
+
+<span class="hll"><span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;&gt;=dev-util/scons-2.5.0[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span><span class="w"> </span><span class="o">&amp;&amp;</span>
+</span><span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;dev-python/cheetah3[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span><span class="w"> </span><span class="o">&amp;&amp;</span>
+<span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;dev-python/psutil[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span><span class="w"> </span><span class="o">&amp;&amp;</span>
+<span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;dev-python/pyyaml[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span><span class="w"> </span><span class="o">&amp;&amp;</span>
+<span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;virtual/python-typing[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span>
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_configure<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nv">scons_opts</span><span class="o">=(</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="nv">CXX</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCXX<span class="k">)</span><span class="s2">&quot;</span>
+
+<span class="w"> </span>--disable-warnings-as-errors
+<span class="w"> </span>--use-system-boost
+<span class="w"> </span>--use-system-pcre
+<span class="w"> </span>--use-system-snappy
+<span class="w"> </span>--use-system-stemmer
+<span class="w"> </span>--use-system-yaml
+<span class="w"> </span>--use-system-zlib
+<span class="w"> </span>--use-system-zstd
+<span class="w"> </span><span class="o">)</span>
+
+<span class="w"> </span>default
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_compile<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>escons<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_opts</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span>core<span class="w"> </span>tools
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_test<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPYTHON</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span>./buildscripts/resmoke.py<span class="w"> </span>--dbpathPrefix<span class="o">=</span><span class="nb">test</span><span class="w"> </span><span class="se">\</span>
+<span class="w"> </span>--suites<span class="w"> </span>core<span class="w"> </span>--jobs<span class="o">=</span><span class="k">$(</span>makeopts_jobs<span class="k">)</span><span class="w"> </span><span class="o">||</span><span class="w"> </span>die<span class="w"> </span><span class="s2">&quot;Tests failed&quot;</span>
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>escons<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_opts</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span>--nostrip<span class="w"> </span>install<span class="w"> </span>--prefix<span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">ED</span><span class="si">}</span><span class="s2">&quot;</span>/usr
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -226,28 +223,28 @@ install is appropriate, you need to combine <code class="docutils literal notran
with <code class="docutils literal notranslate"><span class="pre">scons-utils</span></code>. In this case, the eclass takes care of everything
needed for SCons, and you take care of everything needed for your
package.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">5</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">5</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python2_7 <span class="o">)</span>
-</span><span class="hll"> inherit eutils python-single-r1 scons-utils toolchain-funcs
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python2_7<span class="w"> </span><span class="o">)</span>
+</span><span class="hll"><span class="w"> </span>inherit<span class="w"> </span>eutils<span class="w"> </span>python-single-r1<span class="w"> </span>scons-utils<span class="w"> </span>toolchain-funcs
</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Molecular dynamics by NMR data analysis&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.nmr-relax.com/&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;http://download.gna.org/relax/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.src.tar.bz2&quot;</span>
-
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;GPL-2&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~x86 ~amd64-linux ~x86-linux&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;test&quot;</span>
- <span class="nv">RESTRICT</span><span class="o">=</span><span class="s2">&quot;!test? ( test )&quot;</span>
-<span class="hll"> <span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Molecular dynamics by NMR data analysis&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.nmr-relax.com/&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;http://download.gna.org/relax/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.src.tar.bz2&quot;</span>
+
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;GPL-2&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~x86 ~amd64-linux ~x86-linux&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;test&quot;</span>
+<span class="w"> </span><span class="nv">RESTRICT</span><span class="o">=</span><span class="s2">&quot;!test? ( test )&quot;</span>
+<span class="hll"><span class="w"> </span><span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2">&quot;</span>
</span>
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
-<span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span><span class="s2"></span>
-<span class="s2"> </span><span class="k">$(</span>python_gen_cond_dep <span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
+<span class="s2"> </span><span class="k">$(</span>python_gen_cond_dep<span class="w"> </span><span class="s2">&quot;</span>
<span class="s2"> dev-python/Numdifftools[\${PYTHON_USEDEP}]</span>
<span class="s2"> || (</span>
<span class="s2"> dev-python/matplotlib-python2[\${PYTHON_USEDEP}]</span>
@@ -265,27 +262,27 @@ package.</p>
<span class="s2"> sci-libs/scipy-python2[\${PYTHON_USEDEP}]</span>
<span class="s2"> sci-libs/scipy[\${PYTHON_USEDEP}]</span>
<span class="s2"> )</span>
-<span class="s2"> &quot;</span><span class="k">)</span><span class="s2"></span>
+<span class="s2"> &quot;</span><span class="k">)</span>
<span class="s2"> sci-chemistry/molmol</span>
<span class="s2"> sci-chemistry/vmd</span>
<span class="s2"> sci-visualization/grace</span>
<span class="s2"> sci-visualization/opendx&quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span>
<span class="s2"> media-gfx/pngcrush</span>
<span class="s2"> test? ( </span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"> )</span>
<span class="s2"> &quot;</span>
- src_compile<span class="o">()</span> <span class="o">{</span>
- tc-export CC
- escons
- <span class="o">}</span>
+<span class="w"> </span>src_compile<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>tc-export<span class="w"> </span>CC
+<span class="w"> </span>escons
+<span class="w"> </span><span class="o">}</span>
- src_install<span class="o">()</span> <span class="o">{</span>
- python_moduleinto <span class="si">${</span><span class="nv">PN</span><span class="si">}</span>
- python_domodule *
+<span class="w"> </span>src_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>python_moduleinto<span class="w"> </span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span>
+<span class="w"> </span>python_domodule<span class="w"> </span>*
- make_wrapper <span class="si">${</span><span class="nv">PN</span><span class="si">}</span>-nmr <span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPYTHON</span><span class="si">}</span><span class="s2"> </span><span class="k">$(</span>python_get_sitedir<span class="k">)</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">.py </span><span class="nv">$@</span><span class="s2">&quot;</span>
- <span class="o">}</span>
+<span class="w"> </span>make_wrapper<span class="w"> </span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span>-nmr<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPYTHON</span><span class="si">}</span><span class="s2"> </span><span class="k">$(</span>python_get_sitedir<span class="k">)</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">.py </span><span class="nv">$@</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -296,101 +293,101 @@ the use is similar to a package with unconditional build-time
and conditional runtime dependency on Python. That is, build-time
dependencies, <code class="docutils literal notranslate"><span class="pre">REQUIRED_USE</span></code> and <code class="docutils literal notranslate"><span class="pre">pkg_setup</span></code> must be called
unconditionally.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python3_<span class="o">{</span><span class="m">6</span>,7,8<span class="o">}</span> <span class="o">)</span>
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python3_<span class="o">{</span><span class="m">6</span>,7,8<span class="o">}</span><span class="w"> </span><span class="o">)</span>
</span>
- <span class="nv">FORTRAN_NEEDED</span><span class="o">=</span>fortran
- <span class="nv">FORTRAN_STANDARD</span><span class="o">=</span><span class="m">90</span>
+<span class="w"> </span><span class="nv">FORTRAN_NEEDED</span><span class="o">=</span>fortran
+<span class="w"> </span><span class="nv">FORTRAN_STANDARD</span><span class="o">=</span><span class="m">90</span>
-<span class="hll"> inherit python-single-r1 scons-utils toolchain-funcs
+<span class="hll"><span class="w"> </span>inherit<span class="w"> </span>python-single-r1<span class="w"> </span>scons-utils<span class="w"> </span>toolchain-funcs
</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Object-oriented tool suite for chemical kinetics, thermodynamics, and transport&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.cantera.org&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/Cantera/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/archive/v</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2">.tar.gz -&gt; </span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Object-oriented tool suite for chemical kinetics, thermodynamics, and transport&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.cantera.org&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/Cantera/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/archive/v</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2">.tar.gz -&gt; </span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD&quot;</span>
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;amd64 ~x86&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;fortran pch +python&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD&quot;</span>
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;amd64 ~x86&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;fortran pch +python&quot;</span>
- <span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span>
-<span class="hll"><span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="hll"><span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span>
</span><span class="s2"> &quot;</span>
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
<span class="s2"> python? (</span>
-<span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span><span class="s2"></span>
-<span class="s2"> </span><span class="k">$(</span>python_gen_cond_dep <span class="s1">&#39;</span>
+<span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
+<span class="s2"> </span><span class="k">$(</span>python_gen_cond_dep<span class="w"> </span><span class="s1">&#39;</span>
<span class="s1"> dev-python/numpy[${PYTHON_USEDEP}]</span>
-<span class="s1"> &#39;</span><span class="k">)</span><span class="s2"></span>
+<span class="s1"> &#39;</span><span class="k">)</span>
<span class="s2"> )</span>
<span class="s2"> &lt;sci-libs/sundials-5.1.0:0=</span>
<span class="s2"> &quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
-<span class="s2"> </span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="s2"> </span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span>
<span class="s2"> dev-cpp/eigen:3</span>
<span class="s2"> dev-libs/boost</span>
<span class="s2"> dev-libs/libfmt</span>
<span class="s2"> python? (</span>
-<span class="s2"> </span><span class="k">$(</span>python_gen_cond_dep <span class="s1">&#39;</span>
+<span class="s2"> </span><span class="k">$(</span>python_gen_cond_dep<span class="w"> </span><span class="s1">&#39;</span>
<span class="s1"> dev-python/cython[${PYTHON_USEDEP}]</span>
-<span class="s1"> &#39;</span><span class="k">)</span><span class="s2"></span>
+<span class="s1"> &#39;</span><span class="k">)</span>
<span class="s2"> )</span>
<span class="s2"> &quot;</span>
- pkg_setup<span class="o">()</span> <span class="o">{</span>
- fortran-2_pkg_setup
-<span class="hll"> python-single-r1_pkg_setup
-</span> <span class="o">}</span>
-
- src_configure<span class="o">()</span> <span class="o">{</span>
- <span class="nv">scons_vars</span><span class="o">=(</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="nv">CXX</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCXX<span class="k">)</span><span class="s2">&quot;</span>
- <span class="nv">cc_flags</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">CXXFLAGS</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="nv">cxx_flags</span><span class="o">=</span><span class="s2">&quot;-std=c++11&quot;</span>
- <span class="nv">debug</span><span class="o">=</span><span class="s2">&quot;no&quot;</span>
- <span class="nv">FORTRAN</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getFC<span class="k">)</span><span class="s2">&quot;</span>
- <span class="nv">FORTRANFLAGS</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">CXXFLAGS</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="nv">optimize_flags</span><span class="o">=</span><span class="s2">&quot;-Wno-inline&quot;</span>
- <span class="nv">renamed_shared_libraries</span><span class="o">=</span><span class="s2">&quot;no&quot;</span>
- <span class="nv">use_pch</span><span class="o">=</span><span class="k">$(</span>usex pch<span class="k">)</span>
- <span class="nv">system_fmt</span><span class="o">=</span><span class="s2">&quot;y&quot;</span>
- <span class="nv">system_sundials</span><span class="o">=</span><span class="s2">&quot;y&quot;</span>
- <span class="nv">system_eigen</span><span class="o">=</span><span class="s2">&quot;y&quot;</span>
- <span class="nv">env_vars</span><span class="o">=</span><span class="s2">&quot;all&quot;</span>
- <span class="nv">extra_inc_dirs</span><span class="o">=</span><span class="s2">&quot;/usr/include/eigen3&quot;</span>
- <span class="o">)</span>
-
- <span class="nv">scons_targets</span><span class="o">=(</span>
- <span class="nv">f90_interface</span><span class="o">=</span><span class="k">$(</span>usex fortran y n<span class="k">)</span>
- <span class="nv">python2_package</span><span class="o">=</span><span class="s2">&quot;none&quot;</span>
- <span class="o">)</span>
-
- <span class="k">if</span> use python <span class="p">;</span> <span class="k">then</span>
- <span class="nv">scons_targets</span><span class="o">+=(</span> <span class="nv">python3_package</span><span class="o">=</span><span class="s2">&quot;full&quot;</span> <span class="nv">python3_cmd</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPYTHON</span><span class="si">}</span><span class="s2">&quot;</span> <span class="o">)</span>
- <span class="k">else</span>
- <span class="nv">scons_targets</span><span class="o">+=(</span> <span class="nv">python3_package</span><span class="o">=</span><span class="s2">&quot;none&quot;</span> <span class="o">)</span>
- <span class="k">fi</span>
- <span class="o">}</span>
-
- src_compile<span class="o">()</span> <span class="o">{</span>
- escons build <span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_vars</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span> <span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_targets</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span> <span class="nv">prefix</span><span class="o">=</span><span class="s2">&quot;/usr&quot;</span>
- <span class="o">}</span>
-
- src_test<span class="o">()</span> <span class="o">{</span>
- escons <span class="nb">test</span>
- <span class="o">}</span>
-
- src_install<span class="o">()</span> <span class="o">{</span>
- escons install <span class="nv">stage_dir</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">D</span><span class="si">}</span><span class="s2">&quot;</span> <span class="nv">libdirname</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>get_libdir<span class="k">)</span><span class="s2">&quot;</span>
- python_optimize
- <span class="o">}</span>
+<span class="w"> </span>pkg_setup<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>fortran-2_pkg_setup
+<span class="hll"><span class="w"> </span>python-single-r1_pkg_setup
+</span><span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_configure<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nv">scons_vars</span><span class="o">=(</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="nv">CXX</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getCXX<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">cc_flags</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">CXXFLAGS</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">cxx_flags</span><span class="o">=</span><span class="s2">&quot;-std=c++11&quot;</span>
+<span class="w"> </span><span class="nv">debug</span><span class="o">=</span><span class="s2">&quot;no&quot;</span>
+<span class="w"> </span><span class="nv">FORTRAN</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>tc-getFC<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">FORTRANFLAGS</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">CXXFLAGS</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">optimize_flags</span><span class="o">=</span><span class="s2">&quot;-Wno-inline&quot;</span>
+<span class="w"> </span><span class="nv">renamed_shared_libraries</span><span class="o">=</span><span class="s2">&quot;no&quot;</span>
+<span class="w"> </span><span class="nv">use_pch</span><span class="o">=</span><span class="k">$(</span>usex<span class="w"> </span>pch<span class="k">)</span>
+<span class="w"> </span><span class="nv">system_fmt</span><span class="o">=</span><span class="s2">&quot;y&quot;</span>
+<span class="w"> </span><span class="nv">system_sundials</span><span class="o">=</span><span class="s2">&quot;y&quot;</span>
+<span class="w"> </span><span class="nv">system_eigen</span><span class="o">=</span><span class="s2">&quot;y&quot;</span>
+<span class="w"> </span><span class="nv">env_vars</span><span class="o">=</span><span class="s2">&quot;all&quot;</span>
+<span class="w"> </span><span class="nv">extra_inc_dirs</span><span class="o">=</span><span class="s2">&quot;/usr/include/eigen3&quot;</span>
+<span class="w"> </span><span class="o">)</span>
+
+<span class="w"> </span><span class="nv">scons_targets</span><span class="o">=(</span>
+<span class="w"> </span><span class="nv">f90_interface</span><span class="o">=</span><span class="k">$(</span>usex<span class="w"> </span>fortran<span class="w"> </span>y<span class="w"> </span>n<span class="k">)</span>
+<span class="w"> </span><span class="nv">python2_package</span><span class="o">=</span><span class="s2">&quot;none&quot;</span>
+<span class="w"> </span><span class="o">)</span>
+
+<span class="w"> </span><span class="k">if</span><span class="w"> </span>use<span class="w"> </span>python<span class="w"> </span><span class="p">;</span><span class="w"> </span><span class="k">then</span>
+<span class="w"> </span><span class="nv">scons_targets</span><span class="o">+=(</span><span class="w"> </span><span class="nv">python3_package</span><span class="o">=</span><span class="s2">&quot;full&quot;</span><span class="w"> </span><span class="nv">python3_cmd</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPYTHON</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="o">)</span>
+<span class="w"> </span><span class="k">else</span>
+<span class="w"> </span><span class="nv">scons_targets</span><span class="o">+=(</span><span class="w"> </span><span class="nv">python3_package</span><span class="o">=</span><span class="s2">&quot;none&quot;</span><span class="w"> </span><span class="o">)</span>
+<span class="w"> </span><span class="k">fi</span>
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_compile<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>escons<span class="w"> </span>build<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_vars</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">scons_targets</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="nv">prefix</span><span class="o">=</span><span class="s2">&quot;/usr&quot;</span>
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_test<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>escons<span class="w"> </span><span class="nb">test</span>
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>escons<span class="w"> </span>install<span class="w"> </span><span class="nv">stage_dir</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">D</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="nv">libdirname</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>get_libdir<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span>python_optimize
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -399,25 +396,25 @@ unconditionally.</p>
<p>When you are dealing with a pure Python package using SCons, it makes
sense to use plain <code class="docutils literal notranslate"><span class="pre">python-r1</span></code> API. This means that SCons is going
to be called from a <code class="docutils literal notranslate"><span class="pre">python_foreach_impl</span></code> loop only.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python2_7 <span class="o">)</span>
-</span><span class="hll"> inherit fortran-2 python-r1 scons-utils toolchain-funcs
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python2_7<span class="w"> </span><span class="o">)</span>
+</span><span class="hll"><span class="w"> </span>inherit<span class="w"> </span>fortran-2<span class="w"> </span>python-r1<span class="w"> </span>scons-utils<span class="w"> </span>toolchain-funcs
</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Automated pipeline for performing Poisson-Boltzmann electrostatics calculations&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.poissonboltzmann.org/&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/Electrostatics/apbs-</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/releases/download/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">-src-</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
-
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;amd64 x86 ~amd64-linux ~x86-linux&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;opal&quot;</span>
-<span class="hll"> <span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;Automated pipeline for performing Poisson-Boltzmann electrostatics calculations&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://www.poissonboltzmann.org/&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/Electrostatics/apbs-</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/releases/download/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">-src-</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;amd64 x86 ~amd64-linux ~x86-linux&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;opal&quot;</span>
+<span class="hll"><span class="w"> </span><span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2">&quot;</span>
</span>
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
<span class="s2"> || (</span>
<span class="s2"> dev-python/numpy-python2[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]</span>
<span class="s2"> dev-python/numpy[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]</span>
@@ -425,48 +422,48 @@ to be called from a <code class="docutils literal notranslate"><span class="pre"
<span class="s2"> sci-chemistry/openbabel-python[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]</span>
<span class="s2"> opal? ( dev-python/zsi[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">] )</span>
<span class="s2"> &quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span>
<span class="s2"> dev-lang/swig:0</span>
<span class="hll"><span class="s2"> dev-util/scons[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span>
</span>
- src_prepare<span class="o">()</span> <span class="o">{</span>
- find -type f <span class="se">\(</span> -name <span class="s2">&quot;*.pyc&quot;</span> -o -name <span class="s2">&quot;*.pyo&quot;</span> <span class="se">\)</span> -delete <span class="o">||</span> die
+<span class="w"> </span>src_prepare<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>find<span class="w"> </span>-type<span class="w"> </span>f<span class="w"> </span><span class="se">\(</span><span class="w"> </span>-name<span class="w"> </span><span class="s2">&quot;*.pyc&quot;</span><span class="w"> </span>-o<span class="w"> </span>-name<span class="w"> </span><span class="s2">&quot;*.pyo&quot;</span><span class="w"> </span><span class="se">\)</span><span class="w"> </span>-delete<span class="w"> </span><span class="o">||</span><span class="w"> </span>die
- eapply <span class="s2">&quot;</span><span class="si">${</span><span class="nv">PATCHES</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span>
- eapply_user
- rm -rf scons <span class="o">||</span> die
+<span class="w"> </span>eapply<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">PATCHES</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span>eapply_user
+<span class="w"> </span>rm<span class="w"> </span>-rf<span class="w"> </span>scons<span class="w"> </span><span class="o">||</span><span class="w"> </span>die
- python_copy_sources
- <span class="o">}</span>
+<span class="w"> </span>python_copy_sources
+<span class="w"> </span><span class="o">}</span>
- python_configure<span class="o">()</span> <span class="o">{</span>
- tc-export CXX
- cat &gt; <span class="s2">&quot;</span><span class="si">${</span><span class="nv">BUILD_DIR</span><span class="si">}</span><span class="s2">&quot;</span>/build_config.py <span class="s">&lt;&lt;-EOF || die</span>
+<span class="w"> </span>python_configure<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>tc-export<span class="w"> </span>CXX
+<span class="w"> </span>cat<span class="w"> </span>&gt;<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">BUILD_DIR</span><span class="si">}</span><span class="s2">&quot;</span>/build_config.py<span class="w"> </span><span class="s">&lt;&lt;-EOF || die</span>
<span class="s"> PREFIX=&quot;${D}/$(python_get_sitedir)/${PN}&quot;</span>
<span class="s"> APBS=&quot;${EPREFIX}/usr/bin/apbs&quot;</span>
<span class="s"> MAX_ATOMS=10000</span>
<span class="s"> BUILD_PDB2PKA=False</span>
<span class="s"> REBUILD_SWIG=True</span>
<span class="s"> EOF</span>
- <span class="o">}</span>
+<span class="w"> </span><span class="o">}</span>
- src_configure<span class="o">()</span> <span class="o">{</span>
- python_foreach_impl python_configure
- <span class="o">}</span>
+<span class="w"> </span>src_configure<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>python_foreach_impl<span class="w"> </span>python_configure
+<span class="w"> </span><span class="o">}</span>
- src_compile<span class="o">()</span> <span class="o">{</span>
-<span class="hll"> python_foreach_impl run_in_build_dir escons
-</span> <span class="o">}</span>
+<span class="w"> </span>src_compile<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="hll"><span class="w"> </span>python_foreach_impl<span class="w"> </span>run_in_build_dir<span class="w"> </span>escons
+</span><span class="w"> </span><span class="o">}</span>
- python_install<span class="o">()</span> <span class="o">{</span>
- <span class="nb">cd</span> <span class="s2">&quot;</span><span class="si">${</span><span class="nv">BUILD_DIR</span><span class="si">}</span><span class="s2">&quot;</span> <span class="o">||</span> die
-<span class="hll"> escons install
-</span> python_optimize
- <span class="o">}</span>
+<span class="w"> </span>python_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nb">cd</span><span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">BUILD_DIR</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="o">||</span><span class="w"> </span>die
+<span class="hll"><span class="w"> </span>escons<span class="w"> </span>install
+</span><span class="w"> </span>python_optimize
+<span class="w"> </span><span class="o">}</span>
- src_install<span class="o">()</span> <span class="o">{</span>
- python_foreach_impl python_install
- <span class="o">}</span>
+<span class="w"> </span>src_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span>python_foreach_impl<span class="w"> </span>python_install
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -478,65 +475,65 @@ e.g. a C/C++ program with separate Python bindings.</p>
<p>Let’s presume that the Python bindings need to be installed manually,
and they support a wider target range than the build system. In this
case, the any-r1 API is recommended.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
- <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python2_7 python3_6 <span class="o">)</span>
- inherit python-r1 scons-utils toolchain-funcs
+<span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python2_7<span class="w"> </span>python3_6<span class="w"> </span><span class="o">)</span>
+<span class="w"> </span>inherit<span class="w"> </span>python-r1<span class="w"> </span>scons-utils<span class="w"> </span>toolchain-funcs
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;GPS daemon and library for USB/serial GPS devices and GPS/mapping clients&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://gpsd.gitlab.io/gpsd/&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;mirror://nongnu/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;GPS daemon and library for USB/serial GPS devices and GPS/mapping clients&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://gpsd.gitlab.io/gpsd/&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;mirror://nongnu/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD&quot;</span>
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0/24&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD&quot;</span>
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0/24&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;python&quot;</span>
- <span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;python&quot;</span>
+<span class="w"> </span><span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;</span>
<span class="s2"> python? ( </span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2"> )&quot;</span>
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;</span>
<span class="s2"> &gt;=net-misc/pps-tools-0.0.20120407</span>
<span class="s2"> python? ( </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span><span class="s2"> )&quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2"></span>
-<span class="hll"><span class="s2"> </span><span class="k">$(</span>python_gen_any_dep <span class="s1">&#39;&gt;=dev-util/scons-2.3.0[${PYTHON_USEDEP}]&#39;</span> -2<span class="k">)</span><span class="s2"></span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span>
+<span class="hll"><span class="s2"> </span><span class="k">$(</span>python_gen_any_dep<span class="w"> </span><span class="s1">&#39;&gt;=dev-util/scons-2.3.0[${PYTHON_USEDEP}]&#39;</span><span class="w"> </span>-2<span class="k">)</span>
</span><span class="s2"> virtual/pkgconfig&quot;</span>
-<span class="hll"> python_check_deps<span class="o">()</span> <span class="o">{</span>
-</span><span class="hll"> python_has_version <span class="s2">&quot;&gt;=dev-util/scons-2.3.0[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span>
-</span><span class="hll"> <span class="o">}</span>
+<span class="hll"><span class="w"> </span>python_check_deps<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+</span><span class="hll"><span class="w"> </span>python_has_version<span class="w"> </span><span class="s2">&quot;&gt;=dev-util/scons-2.3.0[</span><span class="si">${</span><span class="nv">PYTHON_USEDEP</span><span class="si">}</span><span class="s2">]&quot;</span>
+</span><span class="hll"><span class="w"> </span><span class="o">}</span>
</span>
- src_configure<span class="o">()</span> <span class="o">{</span>
- <span class="nv">myesconsargs</span><span class="o">=(</span>
- <span class="nv">prefix</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPREFIX</span><span class="si">}</span><span class="s2">/usr&quot;</span>
- <span class="nv">libdir</span><span class="o">=</span><span class="s2">&quot;\$prefix/</span><span class="k">$(</span>get_libdir<span class="k">)</span><span class="s2">&quot;</span>
- <span class="nv">udevdir</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>get_udevdir<span class="k">)</span><span class="s2">&quot;</span>
- <span class="nv">chrpath</span><span class="o">=</span>False
- <span class="nv">gpsd_user</span><span class="o">=</span>gpsd
- <span class="nv">gpsd_group</span><span class="o">=</span>uucp
- <span class="nv">nostrip</span><span class="o">=</span>True
- <span class="nv">manbuild</span><span class="o">=</span>False
- <span class="k">$(</span>use_scons python<span class="k">)</span>
- <span class="o">)</span>
-
- <span class="c1"># SConstruct uses py2 constructs</span>
-<span class="hll"> python_setup -2
-</span> <span class="o">}</span>
-
- src_compile<span class="o">()</span> <span class="o">{</span>
- <span class="nb">export</span> <span class="nv">CHRPATH</span><span class="o">=</span>
- tc-export CC CXX PKG_CONFIG
- <span class="nb">export</span> <span class="nv">SHLINKFLAGS</span><span class="o">=</span><span class="si">${</span><span class="nv">LDFLAGS</span><span class="si">}</span> <span class="nv">LINKFLAGS</span><span class="o">=</span><span class="si">${</span><span class="nv">LDFLAGS</span><span class="si">}</span>
- escons
- <span class="o">}</span>
-
- src_install<span class="o">()</span> <span class="o">{</span>
- <span class="nv">DESTDIR</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">D</span><span class="si">}</span><span class="s2">&quot;</span> escons install
- use python <span class="o">&amp;&amp;</span> python_foreach_impl python_domodule gps
- <span class="o">}</span>
+<span class="w"> </span>src_configure<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nv">myesconsargs</span><span class="o">=(</span>
+<span class="w"> </span><span class="nv">prefix</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPREFIX</span><span class="si">}</span><span class="s2">/usr&quot;</span>
+<span class="w"> </span><span class="nv">libdir</span><span class="o">=</span><span class="s2">&quot;\$prefix/</span><span class="k">$(</span>get_libdir<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">udevdir</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>get_udevdir<span class="k">)</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">chrpath</span><span class="o">=</span>False
+<span class="w"> </span><span class="nv">gpsd_user</span><span class="o">=</span>gpsd
+<span class="w"> </span><span class="nv">gpsd_group</span><span class="o">=</span>uucp
+<span class="w"> </span><span class="nv">nostrip</span><span class="o">=</span>True
+<span class="w"> </span><span class="nv">manbuild</span><span class="o">=</span>False
+<span class="w"> </span><span class="k">$(</span>use_scons<span class="w"> </span>python<span class="k">)</span>
+<span class="w"> </span><span class="o">)</span>
+
+<span class="w"> </span><span class="c1"># SConstruct uses py2 constructs</span>
+<span class="hll"><span class="w"> </span>python_setup<span class="w"> </span>-2
+</span><span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_compile<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nb">export</span><span class="w"> </span><span class="nv">CHRPATH</span><span class="o">=</span>
+<span class="w"> </span>tc-export<span class="w"> </span>CC<span class="w"> </span>CXX<span class="w"> </span>PKG_CONFIG
+<span class="w"> </span><span class="nb">export</span><span class="w"> </span><span class="nv">SHLINKFLAGS</span><span class="o">=</span><span class="si">${</span><span class="nv">LDFLAGS</span><span class="si">}</span><span class="w"> </span><span class="nv">LINKFLAGS</span><span class="o">=</span><span class="si">${</span><span class="nv">LDFLAGS</span><span class="si">}</span>
+<span class="w"> </span>escons
+<span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </span>src_install<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="w"> </span><span class="nv">DESTDIR</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">D</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span>escons<span class="w"> </span>install
+<span class="w"> </span>use<span class="w"> </span>python<span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span>python_foreach_impl<span class="w"> </span>python_domodule<span class="w"> </span>gps
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -560,28 +557,28 @@ applicable).</p>
necessary to add <code class="docutils literal notranslate"><span class="pre">PYTHON_REQ_USE</span></code> and <code class="docutils literal notranslate"><span class="pre">${PYTHON_DEPS}</span></code> to build-time
dependencies. If the package had other Python dependencies, you would
specify them instead.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">7</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python2_7 <span class="o">)</span>
-</span><span class="hll"> <span class="nv">PYTHON_REQ_USE</span><span class="o">=</span><span class="s1">&#39;threads(+)&#39;</span>
-</span> <span class="nv">NO_WAF_LIBDIR</span><span class="o">=</span>yes
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python2_7<span class="w"> </span><span class="o">)</span>
+</span><span class="hll"><span class="w"> </span><span class="nv">PYTHON_REQ_USE</span><span class="o">=</span><span class="s1">&#39;threads(+)&#39;</span>
+</span><span class="w"> </span><span class="nv">NO_WAF_LIBDIR</span><span class="o">=</span>yes
-<span class="hll"> inherit python-any-r1 waf-utils
+<span class="hll"><span class="w"> </span>inherit<span class="w"> </span>python-any-r1<span class="w"> </span>waf-utils
</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;C++ Template Unit Test Framework&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;http://mrzechonek.github.io/tut-framework/&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/mrzechonek/tut-framework/archive/</span><span class="si">${</span><span class="nv">PV</span><span class="p">//./-</span><span class="si">}</span><span class="s2">.tar.gz -&gt; </span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
- <span class="nv">S</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">WORKDIR</span><span class="si">}</span><span class="s2">/tut-framework-</span><span class="si">${</span><span class="nv">PV</span><span class="p">//./-</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;C++ Template Unit Test Framework&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;http://mrzechonek.github.io/tut-framework/&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://github.com/mrzechonek/tut-framework/archive/</span><span class="si">${</span><span class="nv">PV</span><span class="p">//./-</span><span class="si">}</span><span class="s2">.tar.gz -&gt; </span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+<span class="w"> </span><span class="nv">S</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">WORKDIR</span><span class="si">}</span><span class="s2">/tut-framework-</span><span class="si">${</span><span class="nv">PV</span><span class="p">//./-</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD-2&quot;</span>
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~x86&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;BSD-2&quot;</span>
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~amd64 ~x86&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;&quot;</span>
-<span class="hll"> <span class="nv">BDEPEND</span><span class="o">=</span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
+<span class="hll"><span class="w"> </span><span class="nv">BDEPEND</span><span class="o">=</span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
</span></pre></div>
</div>
</section>
@@ -590,26 +587,26 @@ specify them instead.</p>
<p>The rules for integrating simple-impl package are roughly the same
as for pure <code class="docutils literal notranslate"><span class="pre">python-single-r1</span></code> use. Again, waf requires only plain
build-time <code class="docutils literal notranslate"><span class="pre">${PYTHON_DEPS}</span></code> and <code class="docutils literal notranslate"><span class="pre">PYTHON_REQ_USE</span></code>.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> <span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
- <span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span><span class="c1"># Copyright 1999-2020 Gentoo Authors</span>
+<span class="w"> </span><span class="c1"># Distributed under the terms of the GNU General Public License v2</span>
- <span class="nv">EAPI</span><span class="o">=</span><span class="m">6</span>
-<span class="hll"> <span class="nv">PYTHON_COMPAT</span><span class="o">=(</span> python2_7 <span class="o">)</span>
-</span><span class="hll"> <span class="nv">PYTHON_REQ_USE</span><span class="o">=</span><span class="s2">&quot;threads&quot;</span>
+<span class="w"> </span><span class="nv">EAPI</span><span class="o">=</span><span class="m">6</span>
+<span class="hll"><span class="w"> </span><span class="nv">PYTHON_COMPAT</span><span class="o">=(</span><span class="w"> </span>python2_7<span class="w"> </span><span class="o">)</span>
+</span><span class="hll"><span class="w"> </span><span class="nv">PYTHON_REQ_USE</span><span class="o">=</span><span class="s2">&quot;threads&quot;</span>
</span>
-<span class="hll"> inherit python-single-r1 waf-utils
+<span class="hll"><span class="w"> </span>inherit<span class="w"> </span>python-single-r1<span class="w"> </span>waf-utils
</span>
- <span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;An LDAP-like embedded database&quot;</span>
- <span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://ldb.samba.org/&quot;</span>
- <span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://www.samba.org/ftp/pub/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
+<span class="w"> </span><span class="nv">DESCRIPTION</span><span class="o">=</span><span class="s2">&quot;An LDAP-like embedded database&quot;</span>
+<span class="w"> </span><span class="nv">HOMEPAGE</span><span class="o">=</span><span class="s2">&quot;https://ldb.samba.org/&quot;</span>
+<span class="w"> </span><span class="nv">SRC_URI</span><span class="o">=</span><span class="s2">&quot;https://www.samba.org/ftp/pub/</span><span class="si">${</span><span class="nv">PN</span><span class="si">}</span><span class="s2">/</span><span class="si">${</span><span class="nv">P</span><span class="si">}</span><span class="s2">.tar.gz&quot;</span>
- <span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;LGPL-3&quot;</span>
- <span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0/</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86&quot;</span>
- <span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;+ldap python&quot;</span>
- <span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;python? ( </span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2"> )&quot;</span>
+<span class="w"> </span><span class="nv">LICENSE</span><span class="o">=</span><span class="s2">&quot;LGPL-3&quot;</span>
+<span class="w"> </span><span class="nv">SLOT</span><span class="o">=</span><span class="s2">&quot;0/</span><span class="si">${</span><span class="nv">PV</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="nv">KEYWORDS</span><span class="o">=</span><span class="s2">&quot;~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86&quot;</span>
+<span class="w"> </span><span class="nv">IUSE</span><span class="o">=</span><span class="s2">&quot;+ldap python&quot;</span>
+<span class="w"> </span><span class="nv">REQUIRED_USE</span><span class="o">=</span><span class="s2">&quot;python? ( </span><span class="si">${</span><span class="nv">PYTHON_REQUIRED_USE</span><span class="si">}</span><span class="s2"> )&quot;</span>
- <span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;!elibc_FreeBSD? ( dev-libs/libbsd )</span>
+<span class="w"> </span><span class="nv">RDEPEND</span><span class="o">=</span><span class="s2">&quot;!elibc_FreeBSD? ( dev-libs/libbsd )</span>
<span class="s2"> dev-libs/popt</span>
<span class="s2"> &gt;=sys-libs/talloc-2.1.8[python?]</span>
<span class="s2"> &gt;=sys-libs/tevent-0.9.31[python(+)?]</span>
@@ -618,33 +615,33 @@ build-time <code class="docutils literal notranslate"><span class="pre">${PYTHON
<span class="s2"> ldap? ( net-nds/openldap )</span>
<span class="s2"> &quot;</span>
- <span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;dev-libs/libxslt</span>
+<span class="w"> </span><span class="nv">DEPEND</span><span class="o">=</span><span class="s2">&quot;dev-libs/libxslt</span>
<span class="s2"> virtual/pkgconfig</span>
-<span class="hll"><span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span><span class="s2"></span>
+<span class="hll"><span class="s2"> </span><span class="si">${</span><span class="nv">PYTHON_DEPS</span><span class="si">}</span>
</span><span class="s2"> </span><span class="si">${</span><span class="nv">RDEPEND</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="nv">WAF_BINARY</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">S</span><span class="si">}</span><span class="s2">/buildtools/bin/waf&quot;</span>
-
- <span class="nv">PATCHES</span><span class="o">=(</span>
- <span class="s2">&quot;</span><span class="si">${</span><span class="nv">FILESDIR</span><span class="si">}</span><span class="s2">&quot;</span>/<span class="si">${</span><span class="nv">PN</span><span class="si">}</span>-1.1.27-optional_packages.patch
- <span class="s2">&quot;</span><span class="si">${</span><span class="nv">FILESDIR</span><span class="si">}</span><span class="s2">&quot;</span>/<span class="si">${</span><span class="nv">P</span><span class="si">}</span>-disable-python.patch
- <span class="o">)</span>
-
- pkg_setup<span class="o">()</span> <span class="o">{</span>
-<span class="hll"> python-single-r1_pkg_setup
-</span> <span class="o">}</span>
-
- src_configure<span class="o">()</span> <span class="o">{</span>
- <span class="nb">local</span> <span class="nv">myconf</span><span class="o">=(</span>
- <span class="k">$(</span>usex ldap <span class="s1">&#39;&#39;</span> --disable-ldap<span class="k">)</span>
- <span class="k">$(</span>usex python <span class="s1">&#39;&#39;</span> <span class="s1">&#39;--disable-python&#39;</span><span class="k">)</span>
- --disable-rpath
- --disable-rpath-install --bundled-libraries<span class="o">=</span>NONE
- --with-modulesdir<span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPREFIX</span><span class="si">}</span><span class="s2">&quot;</span>/usr/<span class="k">$(</span>get_libdir<span class="k">)</span>/samba
- --builtin-libraries<span class="o">=</span>NONE
- <span class="o">)</span>
- waf-utils_src_configure <span class="s2">&quot;</span><span class="si">${</span><span class="nv">myconf</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span>
- <span class="o">}</span>
+<span class="w"> </span><span class="nv">WAF_BINARY</span><span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">S</span><span class="si">}</span><span class="s2">/buildtools/bin/waf&quot;</span>
+
+<span class="w"> </span><span class="nv">PATCHES</span><span class="o">=(</span>
+<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">FILESDIR</span><span class="si">}</span><span class="s2">&quot;</span>/<span class="si">${</span><span class="nv">PN</span><span class="si">}</span>-1.1.27-optional_packages.patch
+<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">FILESDIR</span><span class="si">}</span><span class="s2">&quot;</span>/<span class="si">${</span><span class="nv">P</span><span class="si">}</span>-disable-python.patch
+<span class="w"> </span><span class="o">)</span>
+
+<span class="w"> </span>pkg_setup<span class="o">()</span><span class="w"> </span><span class="o">{</span>
+<span class="hll"><span class="w"> </span>python-single-r1_pkg_setup
+</span><span class="w"> </span><span class="o">}</span>
+
+<span class="w"> </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">myconf</span><span class="o">=(</span>
+<span class="w"> </span><span class="k">$(</span>usex<span class="w"> </span>ldap<span class="w"> </span><span class="s1">&#39;&#39;</span><span class="w"> </span>--disable-ldap<span class="k">)</span>
+<span class="w"> </span><span class="k">$(</span>usex<span class="w"> </span>python<span class="w"> </span><span class="s1">&#39;&#39;</span><span class="w"> </span><span class="s1">&#39;--disable-python&#39;</span><span class="k">)</span>
+<span class="w"> </span>--disable-rpath
+<span class="w"> </span>--disable-rpath-install<span class="w"> </span>--bundled-libraries<span class="o">=</span>NONE
+<span class="w"> </span>--with-modulesdir<span class="o">=</span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">EPREFIX</span><span class="si">}</span><span class="s2">&quot;</span>/usr/<span class="k">$(</span>get_libdir<span class="k">)</span>/samba
+<span class="w"> </span>--builtin-libraries<span class="o">=</span>NONE
+<span class="w"> </span><span class="o">)</span>
+<span class="w"> </span>waf-utils_src_configure<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">myconf</span><span class="p">[@]</span><span class="si">}</span><span class="s2">&quot;</span>
+<span class="w"> </span><span class="o">}</span>
</pre></div>
</div>
</section>
@@ -733,7 +730,7 @@ build-time <code class="docutils literal notranslate"><span class="pre">${PYTHON
&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>
|