Add documentation on explicit param for do_install (#3823)

This commit is contained in:
Adam J. Stewart
2017-04-14 10:13:14 -05:00
committed by Todd Gamblin
parent 0405505e21
commit bec6d99b15

View File

@@ -1145,22 +1145,24 @@ def do_install(self,
Package implementations should override install() to describe Package implementations should override install() to describe
their build process. their build process.
:param keep_prefix: Keep install prefix on failure. By default, \ :param bool keep_prefix: Keep install prefix on failure. By default,
destroys it. destroys it.
:param keep_stage: By default, stage is destroyed only if there are \ :param bool keep_stage: By default, stage is destroyed only if there
no exceptions during build. Set to True to keep the stage are no exceptions during build. Set to True to keep the stage
even with exceptions. even with exceptions.
:param install_deps: Install dependencies before installing this \ :param bool install_deps: Install dependencies before installing this
package package
:param fake: Don't really build; install fake stub files instead. :param bool skip_patch: Skip patch stage of build if True.
:param skip_patch: Skip patch stage of build if True. :param bool verbose: Display verbose build output (by default,
:param verbose: Display verbose build output (by default, suppresses \ suppresses it)
it) :param int make_jobs: Number of make jobs to use for install. Default
:param dirty: Don't clean the build environment before installing. is ncpus
:param make_jobs: Number of make jobs to use for install. Default is \ :param bool run_tests: Run tests within the package's install()
ncpus :param bool fake: Don't really build; install fake stub files instead.
:param force: Install again, even if already installed. :param bool explicit: True if package was explicitly installed, False
:param run_tests: Run tests within the package's install() if package was implicitly installed (as a dependency).
:param bool dirty: Don't clean the build environment before installing.
:param bool force: Install again, even if already installed.
""" """
if not self.spec.concrete: if not self.spec.concrete:
raise ValueError("Can only install concrete packages: %s." raise ValueError("Can only install concrete packages: %s."