language-support python: propagatedBuildInputs

Explain difference between buildInputs and propagatedBuildInputs.
Shamefully steal wording from Perl.
This commit is contained in:
Profpatsch 2015-07-08 14:21:51 +02:00
parent b028c14256
commit ef5d158e83

View File

@ -341,7 +341,16 @@ twisted = buildPythonPackage {
<para>By default <varname>doCheck = true</varname> is set and tests are run with
<literal>${python.interpreter} setup.py test</literal> command in <varname>checkPhase</varname>.</para>
<para><varname>propagatedBuildInputs</varname> packages are propagated to user environment.</para>
<para><varname>propagatedBuildInputs</varname> packages are propagated to the user environment.</para>
<para>
As in Perl, dependencies on other Python packages can be specified in the
<varname>buildInputs</varname> and
<varname>propagatedBuildInputs</varname> attributes. If something is
exclusively a build-time dependency, use
<varname>buildInputs</varname>; if its (also) a runtime dependency,
use <varname>propagatedBuildInputs</varname>.
</para>
<para>
By default <varname>meta.platforms</varname> is set to the same value