Class: PortableFormula Private

Inherits:
Formula show all
Extended by:
T::Generic
Defined in:
sorbet/rbi/shims/portable_formula.rbi

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Constant Summary collapse

Cache =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

This is required for type checking on official taps to initially succeed This could also be added to homebrew-core/Abstract/portable-formula.rb and subsequently removed here

type_template { { fixed: T::Hash[Symbol, T.untyped] } }

Constants included from Homebrew::Livecheck::Constants

Homebrew::Livecheck::Constants::LATEST_VERSION

Constants included from Utils::Shell

Utils::Shell::SHELL_PROFILE_MAP, Utils::Shell::UNSAFE_SHELL_CHAR

Instance Attribute Summary

Attributes inherited from Formula

#active_log_type, #active_spec_sym, #alias_name, #alias_path, #build, #buildpath, #compatibility_version, #follow_installed_alias, #force_bottle, #full_alias_name, #full_name, #head, #local_bottle_path, #name, #path, #pinned?, #pypi_packages_info, #revision, #source_modified_time, #stable, #tap, #testpath, #version_scheme

Method Summary

Methods inherited from Formula

[], #active_log_prefix, #alias_changed?, alias_full_names, #aliases, aliases, all, allow_network_access!, #allow_network_access!, #any_installed_keg, #any_installed_prefix, #any_installed_version, #any_version_installed?, #api_source, #autobump?, autobump?, #bash_completion, #bin, #bottle, bottle, #bottle_defined?, #bottle_for_tag, #bottle_hash, #bottle_prefix, #bottle_specification, #bottle_tab_attributes, #bottle_tag?, #bottled?, #brew, build, build_flags, #cached_download, #caveats, #caveats_with_placeholders, #clear_cache, compatibility_version, #compiler_failures, #conflicts, conflicts_with, core_aliases, #core_formula?, core_names, #current_installed_alias_target, #declared_deps, deny_network_access!, #deny_network_access!, #dependencies_hash, depends_on, deprecate!, #deprecate_args, #deprecated?, deprecated?, #deprecated_flags, deprecated_option, #deprecated_options, #deprecation_date, #deprecation_reason, #deprecation_replacement_cask, #deprecation_replacement_formula, #deps, #desc, desc, #deuniversalize_machos, disable!, #disable_args, #disable_date, #disable_reason, #disable_replacement_cask, #disable_replacement_formula, #disabled?, disabled?, #doc, #downloader, #eligible_kegs_for_cleanup, #elisp, #enqueue_resources_and_patches, #ensure_installed!, #env, #etc, fails_with, #fetch_bottle_tab, #fetch_patches, #fish_completion, #fish_function, #frameworks, freeze, #full_formulae_names, #full_installed_alias_name, #full_installed_specified_name, full_names, #full_specified_name, fuzzy_search, #generate_completions_from_executable, head, #head?, #head_only?, #head_version_outdated?, #homepage, homepage, #implied_link_overwrite?, #include, #info, inherited, #initialize, #inreplace, #install, #install_etc_var, installed, #installed_alias_name, #installed_alias_path, #installed_alias_target_changed?, installed_formula_names, #installed_kegs, #installed_prefixes, #installed_runtime_formula_dependencies, installed_with_alias_path, keg_only, #keg_only?, #keg_only_reason, #kext_prefix, #latest_formula, #latest_head_pkg_version, #latest_head_prefix, #latest_head_version, #latest_installed_prefix, #latest_version_installed?, #launchd_service_path, #lib, #libexec, #license, license, link_overwrite, #link_overwrite?, #link_overwrite_formulae, #link_overwrite_formulae_names, #link_overwrite_keg_name, #link_overwrite_reason, #link_overwrite_related_formula_names, #linked?, #linked_keg, #linked_version, #livecheck, livecheck, #livecheck_defined?, livecheck_defined?, #livecheckable?, #loaded_from_api?, loaded_from_api?, #loaded_from_internal_api?, loaded_from_internal_api?, #loader_path, #lock, #logs, #man, #man1, #man2, #man3, #man4, #man5, #man6, #man7, #man8, #migration_needed?, mirror, #missing_dependencies, #missing_library_linkage, #mkdir, #mktemp, names, network_access_allowed, network_access_allowed?, #network_access_allowed?, #new_formula_available?, #no_autobump!, no_autobump!, #no_autobump_message, #old_installed_formulae, #oldnames, #oldnames_to_migrate, #on_system_blocks_exist?, on_system_blocks_exist?, #opt_bin, #opt_elisp, #opt_frameworks, #opt_include, #opt_lib, #opt_libexec, #opt_pkgshare, #opt_prefix, #opt_sbin, #opt_share, option, #option_defined?, #options, #optlinked?, #outdated?, #outdated_kegs, #patch, patch, #patchlist, #pin, #pinnable?, #pinned_version, #pkg_version, #pkgetc, #pkgshare, #plist_name, #possible_names, #post_install, #post_install_defined?, #post_install_steps, post_install_steps, #post_install_steps_defined?, post_install_steps_defined?, #pour_bottle?, pour_bottle?, #pour_bottle_check_unsatisfied_reason, #prefix, preserve_rpath, #preserve_rpath?, preserve_rpath?, #print_tap_action, #pwsh_completion, pypi_packages, #rack, racks, #recursive_dependencies, #recursive_requirements, #reloadable_ref, #requirements, #resource, resource, #resources, revision, #rpath, #ruby_source_checksum, #ruby_source_path, #run_post_install, #run_post_install_steps, #run_test, #runtime_dependencies, #runtime_formula_dependencies, #runtime_installed_formula_dependents, #sbin, #selective_patch, #serialized_patches, #serialized_requirements, #service, service, #service?, service?, #service_name, sha256, #share, #shared_library, skip_clean, #skip_clean?, spec_syms, #specified_name, #specified_path, specs, stable, #stable?, #std_cabal_v2_args, #std_cargo_args, #std_cmake_args, #std_configure_args, #std_go_args, #std_meson_args, #std_npm_args, #std_pip_args, #std_zig_args, #supersedes_an_installed_formula?, #supports_linux?, #supports_macos?, #synced_with_other_formulae?, #system, #systemd_service_path, #systemd_timer_path, #tap!, #tap?, tap_aliases, tap_files, #tap_git_head, tap_names, #tap_path, #test, test, #test_defined?, #test_fixtures, #time, #to_hash, #to_hash_with_variations, #unlock, #unpin, #unversioned_formula_name, #update_head_version, url, #urls_hash, uses_from_macos, #valid_platform?, #var, #version, version, version_scheme, #versioned_formula?, #versioned_formulae, #versioned_formulae_names, #with_logging, #xcodebuild, #zsh_completion, #zsh_function

Methods included from OnSystem::MacOSAndLinux

included, #on_arch_conditional, #on_macos, #on_system_conditional

Methods included from BuildEnvironment::DSL

#env, #inherited

Methods included from Cachable

#cache, #clear_cache

Methods included from APIHashable

#deep_remove_placeholders, #generated_hash!, #generating_hash!, #generating_hash?

Methods included from Utils::Output::Mixin

#issue_reporting_message, #odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #opoo_without_github_actions_annotation, #pretty_deprecated, #pretty_disabled, #pretty_duration, #pretty_install_status, #pretty_installed, #pretty_uninstalled, #pretty_unmarked, #pretty_upgradable, #pretty_warning

Methods included from Context

current, current=, #debug?, #deferred_environment_expansion?, #quiet?, #verbose?, #with_context

Methods included from Utils::Path

child_of?, ensure_child_of!, formula_any_version_installed?, #formula_any_version_installed?, formula_installed_prefixes, formula_opt_bin, #formula_opt_bin, formula_opt_bin_env, formula_opt_bin_path, formula_opt_include, #formula_opt_include, formula_opt_lib, #formula_opt_lib, formula_opt_libexec, #formula_opt_libexec, formula_opt_prefix, #formula_opt_prefix, loadable_package_path?

Methods included from Utils::Shell

csh_quote, export_value, from_path, parent, preferred, preferred_path, prepend_path_in_profile, profile, set_variable_in_profile, sh_quote, shell_with_prompt

Methods included from Utils::Shebang

rewrite_shebang

Methods included from OS::Linux::Formula

#add_global_deps_to_spec, #deuniversalize_machos, #loader_path, #shared_library, #valid_platform?

Methods included from OS::Mac::Formula

#std_cmake_args, #std_zig_args, #valid_platform?

Constructor Details

This class inherits a constructor from Formula