forked from Mirror/pmbootstrap
pmb.build._package: Clean up and expand documentation (MR 2003)
Fix typo introduced in earlier commit and expand on force=True behavior
This commit is contained in:
parent
1921fc5f27
commit
27127f1cae
1 changed files with 6 additions and 1 deletions
|
@ -476,9 +476,14 @@ def package(args, pkgname, arch=None, force=False, strict=False,
|
||||||
"""
|
"""
|
||||||
Build a package and its dependencies with Alpine Linux' abuild.
|
Build a package and its dependencies with Alpine Linux' abuild.
|
||||||
|
|
||||||
|
If this function is called multiple times on the same pkgname but first
|
||||||
|
with force=False and then force=True the force argument will be ignored due
|
||||||
|
to the package cache.
|
||||||
|
See the skip_already_built() call below.
|
||||||
|
|
||||||
:param pkgname: package name to be built, as specified in the APKBUILD
|
:param pkgname: package name to be built, as specified in the APKBUILD
|
||||||
:param arch: architecture we're building for (default: native)
|
:param arch: architecture we're building for (default: native)
|
||||||
:param force: allways build, even if not necessary
|
:param force: always build, even if not necessary
|
||||||
:param strict: avoid building with irrelevant dependencies installed by
|
:param strict: avoid building with irrelevant dependencies installed by
|
||||||
letting abuild install and uninstall all dependencies.
|
letting abuild install and uninstall all dependencies.
|
||||||
:param skip_init_buildenv: can be set to False to avoid initializing the
|
:param skip_init_buildenv: can be set to False to avoid initializing the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue