1.1.1.1.1.3. pmpm.packages.toast module#

class pmpm.packages.toast.Package(env: InstallEnvironment, update: bool | None = None, fast_update: bool = False, arch: str = 'x86-64-v3', tune: str = 'generic', version: str = 'master')[source]#

Bases: GenericPackage

Generic package class.

Parameters:
  • env – the environment to install the package into.

  • update – whether to update the package if it is already installed.

  • fast_update – whether to use fast update. If True, it will be used if the package supports it, otherwise it will fall back to normal update.

  • package_name – the name of the package.

  • arch – the arch to compile for.

  • tune – the tune to compile for.

  • version – the version to install, which should be a valid git tag/branch for git-based packages.

property build_dir: Path#
download() None[source]#
install_env() None[source]#
package_name: ClassVar[str] = 'toast'#
property src_dir: Path#
update_env() None[source]#
update_env_fast() None[source]#