From ef5d158e83e1dc4e1be8735f9de1d24f1fd55136 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 8 Jul 2015 14:21:51 +0200 Subject: [PATCH 1/2] language-support python: propagatedBuildInputs Explain difference between buildInputs and propagatedBuildInputs. Shamefully steal wording from Perl. --- doc/language-support.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/language-support.xml b/doc/language-support.xml index def0de1d91f2..798988274ecd 100644 --- a/doc/language-support.xml +++ b/doc/language-support.xml @@ -341,7 +341,16 @@ twisted = buildPythonPackage { By default doCheck = true is set and tests are run with ${python.interpreter} setup.py test command in checkPhase. - propagatedBuildInputs packages are propagated to user environment. + propagatedBuildInputs packages are propagated to the user environment. + + + As in Perl, dependencies on other Python packages can be specified in the + buildInputs and + propagatedBuildInputs attributes. If something is + exclusively a build-time dependency, use + buildInputs; if it’s (also) a runtime dependency, + use propagatedBuildInputs. + By default meta.platforms is set to the same value From b30cab15ea64ae7f701626524bcf522a21fcc284 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 12 Jul 2015 13:07:39 +0200 Subject: [PATCH 2/2] language support python docs wrong statement Remove wrong line about propagatedBuildInputs. --- doc/language-support.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/language-support.xml b/doc/language-support.xml index 798988274ecd..9117af864add 100644 --- a/doc/language-support.xml +++ b/doc/language-support.xml @@ -1,3 +1,4 @@ + @@ -341,8 +342,6 @@ twisted = buildPythonPackage { By default doCheck = true is set and tests are run with ${python.interpreter} setup.py test command in checkPhase. - propagatedBuildInputs packages are propagated to the user environment. - As in Perl, dependencies on other Python packages can be specified in the buildInputs and