diff --git a/docs/Formula.html b/docs/Formula.html index 486835337..7914d42c6 100644 --- a/docs/Formula.html +++ b/docs/Formula.html @@ -5846,28 +5846,6 @@
A named Resource for the currently active SoftwareSpec.
-+3375 +3376 3377 3378 3379 @@ -7544,12 +7524,10 @@+3386Examples
3383 3384 3385 -3386 -3387 -3388
# File 'formula.rb', line 3377 +# File 'formula.rb', line 3375 def allow_network_access!(phases = []) phases_array = Array(phases) @@ -7612,12 +7590,12 @@
-3467 -3468 -3469+3465 +3466 +3467
# File 'formula.rb', line 3467 +# File 'formula.rb', line 3465 def conflicts @conflicts @@ -7690,6 +7668,8 @@Examples
+3409 +3410 3411 3412 3413 @@ -7699,12 +7679,10 @@+3420Examples
3417 3418 3419 -3420 -3421 -3422
# File 'formula.rb', line 3411 +# File 'formula.rb', line 3409 def deny_network_access!(phases = []) phases_array = Array(phases) @@ -7762,12 +7740,12 @@Example
-3855 -3856 -3857+3853 +3854 +3855
# File 'formula.rb', line 3855 +# File 'formula.rb', line 3853 def deprecated_option(hash) specs.each { |spec| spec.deprecated_option(hash) } @@ -7834,12 +7812,12 @@
-4222 -4223 -4224+4220 +4221 +4222
# File 'formula.rb', line 4222 +# File 'formula.rb', line 4220 def deprecation_date @deprecation_date @@ -7914,12 +7892,12 @@
-4229 -4230 -4231+4227 +4228 +4229
# File 'formula.rb', line 4229 +# File 'formula.rb', line 4227 def deprecation_reason @deprecation_reason @@ -8058,12 +8036,12 @@
-4275 -4276 -4277+4273 +4274 +4275
# File 'formula.rb', line 4275 +# File 'formula.rb', line 4273 def disable_date @disable_date @@ -8126,12 +8104,12 @@
-4282 -4283 -4284+4280 +4281 +4282
# File 'formula.rb', line 4282 +# File 'formula.rb', line 4280 def disable_reason @disable_reason @@ -8192,18 +8170,18 @@Example
+3689 +3690 3691 3692 3693 3694 3695 3696 -3697 -3698 -3699+3697
# File 'formula.rb', line 3691 +# File 'formula.rb', line 3689 def head(val = nil, specs = {}, &block) if block @@ -8323,12 +8301,12 @@
-3282 -3283 -3284+3280 +3281 +3282
# File 'formula.rb', line 3282 +# File 'formula.rb', line 3280 def keg_only_reason @keg_only_reason @@ -8416,16 +8394,16 @@Examples
+3346 +3347 3348 3349 3350 3351 -3352 -3353 -3354+3352
# File 'formula.rb', line 3348 +# File 'formula.rb', line 3346 def license(args = nil) if args.nil? @@ -8470,12 +8448,12 @@
-3469 -3470 -3471+3467 +3468 +3469
# File 'formula.rb', line 3469 +# File 'formula.rb', line 3467 def link_overwrite_paths @link_overwrite_paths @@ -8530,15 +8508,15 @@Example
+4093 +4094 4095 4096 4097 -4098 -4099 -4100+4098
# File 'formula.rb', line 4095 +# File 'formula.rb', line 4093 def livecheck(&block) return @livecheck unless block @@ -8593,12 +8571,12 @@Example
-3579 -3580 -3581+3577 +3578 +3579
# File 'formula.rb', line 3579 +# File 'formula.rb', line 3577 def mirror(val) stable.mirror(val) @@ -8662,12 +8640,12 @@Examples
-3839 -3840 -3841+3837 +3838 +3839
# File 'formula.rb', line 3839 +# File 'formula.rb', line 3837 def option(name, description = "") specs.each { |spec| spec.option(name, description) } @@ -8710,12 +8688,12 @@
-3473 -3474 -3475+3471 +3472 +3473
# File 'formula.rb', line 3473 +# File 'formula.rb', line 3471 def pour_bottle_check_unsatisfied_reason @pour_bottle_check_unsatisfied_reason @@ -8756,12 +8734,12 @@
-3469 -3470 -3471+3467 +3468 +3469
# File 'formula.rb', line 3469 +# File 'formula.rb', line 3467 def pour_bottle_only_if @pour_bottle_only_if @@ -8885,14 +8863,14 @@Example
+4115 +4116 4117 4118 -4119 -4120 -4121+4119
# File 'formula.rb', line 4117 +# File 'formula.rb', line 4115 def service(&block) return @service_block unless block @@ -8944,12 +8922,12 @@Example
-3597 -3598 -3599+3595 +3596 +3597
# File 'formula.rb', line 3597 +# File 'formula.rb', line 3595 def sha256(val) stable.sha256(val) @@ -8990,12 +8968,12 @@
-3469 -3470 -3471+3467 +3468 +3469
# File 'formula.rb', line 3469 +# File 'formula.rb', line 3467 def skip_clean_paths @skip_clean_paths @@ -9050,14 +9028,14 @@Example
+3659 +3660 3661 3662 -3663 -3664 -3665+3663
# File 'formula.rb', line 3661 +# File 'formula.rb', line 3659 def stable(&block) return @stable unless block @@ -9121,12 +9099,12 @@Examples
-3544 -3545 -3546+3542 +3543 +3544
# File 'formula.rb', line 3544 +# File 'formula.rb', line 3542 def url(val, specs = {}) stable.url(val, specs) @@ -9175,12 +9153,12 @@Example
-3560 -3561 -3562+3558 +3559 +3560
# File 'formula.rb', line 3560 +# File 'formula.rb', line 3558 def version(val = nil) stable.version(val) @@ -10629,12 +10607,12 @@
-2210 -2211 -2212+2208 +2209 +2210
# File 'formula.rb', line 2210 +# File 'formula.rb', line 2208 def self.[](name) Formulary.factory(name) @@ -10674,12 +10652,12 @@
-2200 -2201 -2202+2198 +2199 +2200
# File 'formula.rb', line 2200 +# File 'formula.rb', line 2198 def self.alias_full_names @alias_full_names ||= core_aliases + tap_aliases @@ -10719,12 +10697,12 @@
-2195 -2196 -2197+2193 +2194 +2195
# File 'formula.rb', line 2195 +# File 'formula.rb', line 2193 def self.aliases @aliases ||= (core_aliases + tap_aliases.map { |name| name.split("/").last }).uniq.sort @@ -10765,6 +10743,8 @@
+2129 +2130 2131 2132 2133 @@ -10777,12 +10757,10 @@+21432140 2141 2142 -2143 -2144 -2145
# File 'formula.rb', line 2131 +# File 'formula.rb', line 2129 def self.all(eval_all: false) if !eval_all && !Homebrew::EnvConfig.eval_all? @@ -10870,12 +10848,12 @@
-3626 -3627 -3628+3624 +3625 +3626
# File 'formula.rb', line 3626 +# File 'formula.rb', line 3624 def bottle(&block) stable.bottle(&block) @@ -10914,12 +10892,12 @@
-3630 -3631 -3632+3628 +3629 +3630
# File 'formula.rb', line 3630 +# File 'formula.rb', line 3628 def build stable.build @@ -10959,16 +10937,16 @@
+3633 +3634 3635 3636 3637 3638 -3639 -3640 -3641+3639
# File 'formula.rb', line 3635 +# File 'formula.rb', line 3633 def build_flags namespace = T.must(to_s.split("::")[0..-2]).join("::") @@ -11012,13 +10990,13 @@Example
+3920 +3921 3922 -3923 -3924 -3925+3923
# File 'formula.rb', line 3922 +# File 'formula.rb', line 3920 def conflicts_with(*names) opts = names.last.is_a?(Hash) ? names.pop : {} @@ -11059,12 +11037,12 @@
-2180 -2181 -2182+2178 +2179 +2180
# File 'formula.rb', line 2180 +# File 'formula.rb', line 2178 def self.core_alias_files CoreTap.instance.alias_files @@ -11104,12 +11082,12 @@
-2185 -2186 -2187+2183 +2184 +2185
# File 'formula.rb', line 2185 +# File 'formula.rb', line 2183 def self.core_aliases CoreTap.instance.aliases @@ -11149,12 +11127,12 @@
-2105 -2106 -2107+2103 +2104 +2105
# File 'formula.rb', line 2105 +# File 'formula.rb', line 2103 def self.core_names CoreTap.instance.formula_names @@ -11189,12 +11167,12 @@
-3983 -3984 -3985+3981 +3982 +3983
# File 'formula.rb', line 3983 +# File 'formula.rb', line 3981 def cxxstdlib_check(check_type) define_method(:skip_cxxstdlib_check?) { true } if check_type == :skip @@ -11281,12 +11259,12 @@Examples
-3792 -3793 -3794+3790 +3791 +3792
# File 'formula.rb', line 3792 +# File 'formula.rb', line 3790 def depends_on(dep) specs.each { |spec| spec.depends_on(dep) } @@ -11340,16 +11318,16 @@Examples
+4199 +4200 4201 4202 4203 4204 -4205 -4206 -4207+4205
# File 'formula.rb', line 4201 +# File 'formula.rb', line 4199 def deprecate!(date:, because:) @deprecation_date = Date.parse(date) @@ -11414,12 +11392,12 @@
-4213 -4214 -4215+4211 +4212 +4213
# File 'formula.rb', line 4213 +# File 'formula.rb', line 4211 def deprecated? @deprecated == true @@ -11473,6 +11451,8 @@Examples
+4246 +4247 4248 4249 4250 @@ -11482,12 +11462,10 @@+4257Examples
4254 4255 4256 -4257 -4258 -4259
# File 'formula.rb', line 4248 +# File 'formula.rb', line 4246 def disable!(date:, because:) @disable_date = Date.parse(date) @@ -11557,12 +11535,12 @@
-4266 -4267 -4268+4264 +4265 +4266
# File 'formula.rb', line 4266 +# File 'formula.rb', line 4264 def disabled? @disabled == true @@ -11623,12 +11601,12 @@Examples
-4018 -4019 -4020+4016 +4017 +4018
# File 'formula.rb', line 4018 +# File 'formula.rb', line 4016 def fails_with(compiler, &block) specs.each { |spec| spec.fails_with(compiler, &block) } @@ -11667,17 +11645,17 @@
+3263 +3264 3265 3266 3267 3268 3269 -3270 -3271 -3272+3270
# File 'formula.rb', line 3265 +# File 'formula.rb', line 3263 def freeze specs.each(&:freeze) @@ -11722,12 +11700,12 @@
-2125 -2126 -2127+2123 +2124 +2125
# File 'formula.rb', line 2125 +# File 'formula.rb', line 2123 def self.full_names @full_names ||= core_names + tap_names @@ -11767,13 +11745,13 @@
+2203 +2204 2205 -2206 -2207 -2208+2206
# File 'formula.rb', line 2205 +# File 'formula.rb', line 2203 def self.fuzzy_search(name) @spell_checker ||= DidYouMean::SpellChecker.new(dictionary: Set.new(names + full_names).to_a) @@ -11811,13 +11789,13 @@
+3722 +3723 3724 -3725 -3726 -3727+3725
# File 'formula.rb', line 3724 +# File 'formula.rb', line 3722 def go_resource(name, &block) # odeprecated "`Formula.go_resource`", "Go modules" @@ -11859,6 +11837,8 @@
+3235 +3236 3237 3238 3239 @@ -11872,12 +11852,10 @@+32503247 3248 3249 -3250 -3251 -3252
# File 'formula.rb', line 3237 +# File 'formula.rb', line 3235 def inherited(child) super @@ -11930,16 +11908,16 @@
+2163 +2164 2165 2166 2167 2168 -2169 -2170 -2171+2169
# File 'formula.rb', line 2165 +# File 'formula.rb', line 2163 def self.installed Formula.cache[:installed] ||= racks.flat_map do |rack| @@ -11996,12 +11974,12 @@
-2160 -2161 -2162+2158 +2159 +2160
# File 'formula.rb', line 2160 +# File 'formula.rb', line 2158 def self.installed_formula_names racks.map { |rack| rack.basename.to_s } @@ -12040,14 +12018,14 @@
+2171 +2172 2173 2174 -2175 -2176 -2177+2175
# File 'formula.rb', line 2173 +# File 'formula.rb', line 2171 def self.installed_with_alias_path(alias_path) return [] if alias_path.nil? @@ -12102,12 +12080,12 @@Examples
-3976 -3977 -3978+3974 +3975 +3976
# File 'formula.rb', line 3976 +# File 'formula.rb', line 3974 def keg_only(reason, explanation = "") @keg_only_reason = KegOnlyReason.new(reason, explanation) @@ -12158,13 +12136,13 @@Examples
+4296 +4297 4298 -4299 -4300 -4301+4299
# File 'formula.rb', line 4298 +# File 'formula.rb', line 4296 def link_overwrite(*paths) paths.flatten! @@ -12221,12 +12199,12 @@
-3453 -3454 -3455+3451 +3452 +3453
# File 'formula.rb', line 3453 +# File 'formula.rb', line 3451 def livecheckable? @livecheckable == true @@ -12319,12 +12297,12 @@
-2120 -2121 -2122+2118 +2119 +2120
# File 'formula.rb', line 2120 +# File 'formula.rb', line 2118 def self.names @names ||= (core_names + tap_names.map { |name| name.split("/").last }).uniq.sort @@ -12372,12 +12350,12 @@
-4033 -4034 -4035+4031 +4032 +4033
# File 'formula.rb', line 4033 +# File 'formula.rb', line 4031 def needs(*standards) specs.each { |spec| spec.needs(*standards) } @@ -12458,15 +12436,15 @@
+3424 +3425 3426 3427 3428 -3429 -3430 -3431+3429
# File 'formula.rb', line 3426 +# File 'formula.rb', line 3424 def network_access_allowed?(phase) raise ArgumentError, "Unknown phase: #{phase}" unless SUPPORTED_NETWORK_ACCESS_PHASES.include?(phase) @@ -12646,12 +12624,12 @@Examples
-3909 -3910 -3911+3907 +3908 +3909
# File 'formula.rb', line 3909 +# File 'formula.rb', line 3907 def patch(strip = :p1, src = nil, &block) specs.each { |spec| spec.patch(strip, src, &block) } @@ -12719,6 +12697,8 @@Examples
+4146 +4147 4148 4149 4150 @@ -12751,12 +12731,10 @@+4180Examples
4177 4178 4179 -4180 -4181 -4182
# File 'formula.rb', line 4148 +# File 'formula.rb', line 4146 def pour_bottle?(only_if: nil, &block) @pour_bottle_check = PourBottleCheck.new(self) @@ -12828,18 +12806,18 @@
+2146 +2147 2148 2149 2150 2151 2152 2153 -2154 -2155 -2156+2154
# File 'formula.rb', line 2148 +# File 'formula.rb', line 2146 def self.racks Formula.cache[:racks] ||= if HOMEBREW_CELLAR.directory? @@ -12890,14 +12868,14 @@Example
+3713 +3714 3715 3716 -3717 -3718 -3719+3717
# File 'formula.rb', line 3715 +# File 'formula.rb', line 3713 def resource(name, klass = Resource, &block) specs.each do |spec| @@ -12955,12 +12933,12 @@
-3462 -3463 -3464+3460 +3461 +3462
# File 'formula.rb', line 3462 +# File 'formula.rb', line 3460 def service? @service_block.present? @@ -13009,14 +12987,14 @@Examples
+3944 +3945 3946 3947 -3948 -3949 -3950+3948
# File 'formula.rb', line 3946 +# File 'formula.rb', line 3944 def skip_clean(*paths) paths.flatten! @@ -13057,12 +13035,12 @@
-3509 -3510 -3511+3507 +3508 +3509
# File 'formula.rb', line 3509 +# File 'formula.rb', line 3507 def spec_syms [:stable, :head].freeze @@ -13102,14 +13080,14 @@
+3512 +3513 3514 3515 -3516 -3517 -3518+3516
# File 'formula.rb', line 3514 +# File 'formula.rb', line 3512 def specs spec_syms.map do |sym| @@ -13151,12 +13129,12 @@
-2190 -2191 -2192+2188 +2189 +2190
# File 'formula.rb', line 2190 +# File 'formula.rb', line 2188 def self.tap_aliases @tap_aliases ||= Tap.reject(&:core_tap?).flat_map(&:aliases).sort @@ -13196,12 +13174,12 @@
-2115 -2116 -2117+2113 +2114 +2115
# File 'formula.rb', line 2115 +# File 'formula.rb', line 2113 def self.tap_files @tap_files ||= Tap.reject(&:core_tap?).flat_map(&:formula_files) @@ -13241,12 +13219,12 @@
-2110 -2111 -2112+2108 +2109 +2110
# File 'formula.rb', line 2110 +# File 'formula.rb', line 2108 def self.tap_names @tap_names ||= Tap.reject(&:core_tap?).flat_map(&:formula_names).sort @@ -13330,12 +13308,12 @@Examples
-4073 -4074 -4075+4071 +4072 +4073
# File 'formula.rb', line 4073 +# File 'formula.rb', line 4071 def test(&block) define_method(:test, &block) @@ -13401,12 +13379,12 @@
-3808 -3809 -3810+3806 +3807 +3808
# File 'formula.rb', line 3808 +# File 'formula.rb', line 3806 def uses_from_macos(dep, bounds = {}) specs.each { |spec| spec.uses_from_macos(dep, bounds) } @@ -13465,16 +13443,16 @@
+1184 +1185 1186 1187 1188 1189 -1190 -1191 -1192+1190
# File 'formula.rb', line 1186 +# File 'formula.rb', line 1184 def active_log_prefix if active_log_type @@ -13619,12 +13597,12 @@
-1711 -1712 -1713+1709 +1710 +1711
# File 'formula.rb', line 1711 +# File 'formula.rb', line 1709 def alias_changed? installed_alias_target_changed? || supersedes_an_installed_formula? @@ -13677,12 +13655,12 @@
-584 -585 -586+582 +583 +584
# File 'formula.rb', line 584 +# File 'formula.rb', line 582 def aliases @aliases ||= tap&.alias_reverse_table&.dig(full_name)&.map { _1.split("/").last } || [] @@ -13826,15 +13804,15 @@
+2271 +2272 2273 2274 2275 -2276 -2277 -2278+2276
# File 'formula.rb', line 2273 +# File 'formula.rb', line 2271 def any_installed_keg Formula.cache[:any_installed_keg] ||= {} @@ -13890,16 +13868,16 @@
+2282 +2283 2284 2285 2286 2287 -2288 -2289 -2290+2288
# File 'formula.rb', line 2284 +# File 'formula.rb', line 2282 def any_installed_prefix if optlinked? && opt_prefix.exist? @@ -13944,12 +13922,12 @@
-2294 -2295 -2296+2292 +2293 +2294
# File 'formula.rb', line 2294 +# File 'formula.rb', line 2292 def any_installed_version any_installed_keg&.version @@ -14002,12 +13980,12 @@
-648 -649 -650+646 +647 +648
# File 'formula.rb', line 648 +# File 'formula.rb', line 646 def any_version_installed? installed_prefixes.any? { |keg| (keg/Tab::FILENAME).file? } @@ -14058,12 +14036,12 @@
-1144 -1145 -1146+1142 +1143 +1144
# File 'formula.rb', line 1144 +# File 'formula.rb', line 1142 def bash_completion prefix/"etc/bash_completion.d" @@ -14125,12 +14103,12 @@Examples
-790 -791 -792+788 +789 +790
# File 'formula.rb', line 790 +# File 'formula.rb', line 788 def bin prefix/"bin" @@ -14393,6 +14371,8 @@
+2590 +2591 2592 2593 2594 @@ -14417,12 +14397,10 @@+26162613 2614 2615 -2616 -2617 -2618
# File 'formula.rb', line 2592 +# File 'formula.rb', line 2590 def bottle_hash(compact_for_api: false) bottle_spec = T.must(stable).bottle_specification @@ -14501,12 +14479,12 @@
-1174 -1175 -1176+1172 +1173 +1174
# File 'formula.rb', line 1174 +# File 'formula.rb', line 1172 def bottle_prefix prefix/".bottle" @@ -14648,14 +14626,14 @@
+3136 +3137 3138 3139 -3140 -3141 -3142+3140
# File 'formula.rb', line 3138 +# File 'formula.rb', line 3136 def bottle_tab_attributes return {} unless bottled? @@ -14878,6 +14856,8 @@
+1577 +1578 1579 1580 1581 @@ -14908,12 +14888,10 @@+16091606 1607 1608 -1609 -1610 -1611
# File 'formula.rb', line 1579 +# File 'formula.rb', line 1577 def brew(fetch: true, keep_tmp: false, debug_symbols: false, interactive: false) @prefix_returns_versioned_prefix = true @@ -15108,12 +15086,12 @@Example
-1456 -1457 -1458+1454 +1455 +1456
# File 'formula.rb', line 1456 +# File 'formula.rb', line 1454 def caveats nil @@ -15152,13 +15130,13 @@
+2668 +2669 2670 -2671 -2672 -2673+2671
# File 'formula.rb', line 2670 +# File 'formula.rb', line 2668 def caveats_with_placeholders caveats&.gsub(HOMEBREW_PREFIX, HOMEBREW_PREFIX_PLACEHOLDER) @@ -15392,10 +15370,10 @@
-2251+2249
# File 'formula.rb', line 2251 +# File 'formula.rb', line 2249 def conflicts = self.class.conflicts
-2216 -2217 -2218+2214 +2215 +2216
# File 'formula.rb', line 2216 +# File 'formula.rb', line 2214 def core_formula? !!tap&.core_tap? @@ -15490,12 +15468,12 @@
-1688 -1689 -1690+1686 +1687 +1688
# File 'formula.rb', line 1688 +# File 'formula.rb', line 1686 def current_installed_alias_target Formulary.factory(T.must(installed_alias_name)) if installed_alias_path @@ -15714,6 +15692,8 @@
+2673 +2674 2675 2676 2677 @@ -15774,12 +15754,10 @@+27352732 2733 2734 -2735 -2736 -2737
# File 'formula.rb', line 2675 +# File 'formula.rb', line 2673 def dependencies_hash # Create a hash of spec names (stable/head) to the list of dependencies under each @@ -15937,10 +15915,10 @@
-1523+1521
# File 'formula.rb', line 1523 +# File 'formula.rb', line 1521 delegate deprecated?: :"self.class"
-1530+1528
# File 'formula.rb', line 1530 +# File 'formula.rb', line 1528 delegate deprecation_date: :"self.class"
-1537+1535
# File 'formula.rb', line 1537 +# File 'formula.rb', line 1535 delegate deprecation_reason: :"self.class"
-1551+1549
# File 'formula.rb', line 1551 +# File 'formula.rb', line 1549 delegate disable_date: :"self.class"
-1558+1556
# File 'formula.rb', line 1558 +# File 'formula.rb', line 1556 delegate disable_reason: :"self.class"
-1544+1542
# File 'formula.rb', line 1544 +# File 'formula.rb', line 1542 delegate disabled?: :"self.class"
-800 -801 -802+798 +799 +800
# File 'formula.rb', line 800 +# File 'formula.rb', line 798 def doc share/"doc"/name @@ -17052,6 +17030,8 @@
+3054 +3055 3056 3057 3058 @@ -17089,12 +17069,10 @@+30933090 3091 3092 -3093 -3094 -3095
# File 'formula.rb', line 3056 +# File 'formula.rb', line 3054 def eligible_kegs_for_cleanup(quiet: false) eligible_for_cleanup = [] @@ -17187,12 +17165,12 @@Example
-1056 -1057 -1058+1054 +1055 +1056
# File 'formula.rb', line 1056 +# File 'formula.rb', line 1054 def elisp prefix/"share/emacs/site-lisp"/name @@ -17334,12 +17312,12 @@
-1090 -1091 -1092+1088 +1089 +1090
# File 'formula.rb', line 1090 +# File 'formula.rb', line 1088 def etc (HOMEBREW_PREFIX/"etc").extend(InstallRenamed) @@ -17378,12 +17356,12 @@
-2761 -2762 -2763+2759 +2760 +2761
# File 'formula.rb', line 2761 +# File 'formula.rb', line 2759 def fetch(verify_download_integrity: true) active_spec.fetch(verify_download_integrity:) @@ -17422,14 +17400,14 @@
+3129 +3130 3131 3132 -3133 -3134 -3135+3133
# File 'formula.rb', line 3131 +# File 'formula.rb', line 3129 def fetch_bottle_tab return unless bottled? @@ -17470,12 +17448,12 @@
-3126 -3127 -3128+3124 +3125 +3126
# File 'formula.rb', line 3126 +# File 'formula.rb', line 3124 def fetch_patches patchlist.select(&:external?).each(&:fetch) @@ -17526,12 +17504,12 @@
-1166 -1167 -1168+1164 +1165 +1166
# File 'formula.rb', line 1166 +# File 'formula.rb', line 1164 def fish_completion share/"fish/vendor_completions.d" @@ -17582,12 +17560,12 @@
-1133 -1134 -1135+1131 +1132 +1133
# File 'formula.rb', line 1133 +# File 'formula.rb', line 1131 def fish_function share/"fish/vendor_functions.d" @@ -17638,12 +17616,12 @@
-1067 -1068 -1069+1065 +1066 +1067
# File 'formula.rb', line 1067 +# File 'formula.rb', line 1065 def frameworks prefix/"Frameworks" @@ -17954,6 +17932,8 @@Examples
+2060 +2061 2062 2063 2064 @@ -17992,12 +17972,10 @@+2100Examples
2097 2098 2099 -2100 -2101 -2102
# File 'formula.rb', line 2062 +# File 'formula.rb', line 2060 def generate_completions_from_executable(*commands, base_name: name, @@ -18203,6 +18181,8 @@
+678 +679 680 681 682 @@ -18214,12 +18194,10 @@+691688 689 690 -691 -692 -693
# File 'formula.rb', line 680 +# File 'formula.rb', line 678 def head_version_outdated?(version, fetch_head: false) tab = Tab.for_keg(prefix(version)) @@ -18385,12 +18363,12 @@Example
-818 -819 -820+816 +817 +818
# File 'formula.rb', line 818 +# File 'formula.rb', line 816 def include prefix/"include" @@ -18440,12 +18418,12 @@
-828 -829 -830+826 +827 +828
# File 'formula.rb', line 828 +# File 'formula.rb', line 826 def info share/"info" @@ -18571,15 +18549,15 @@Examples
+2864 +2865 2866 2867 2868 -2869 -2870 -2871+2869
# File 'formula.rb', line 2866 +# File 'formula.rb', line 2864 def inreplace(paths, before = nil, after = nil, audit_result = true, &block) # rubocop:disable Style/OptionalBooleanParameter Utils::Inreplace.inreplace(paths, before, after, audit_result:, &block) @@ -18633,10 +18611,10 @@Example
-2830+2828
# File 'formula.rb', line 2830 +# File 'formula.rb', line 2828 def install; end
+1388 +1389 1390 1391 1392 1393 1394 -1395 -1396 -1397+1395
# File 'formula.rb', line 1390 +# File 'formula.rb', line 1388 def install_etc_var etc_var_dirs = [bottle_prefix/"etc", bottle_prefix/"var"] @@ -18875,15 +18853,15 @@
+1693 +1694 1695 1696 1697 -1698 -1699 -1700+1698
# File 'formula.rb', line 1695 +# File 'formula.rb', line 1693 def installed_alias_target_changed? target = current_installed_alias_target @@ -18939,12 +18917,12 @@
-766 -767 -768+764 +765 +766
# File 'formula.rb', line 766 +# File 'formula.rb', line 764 def installed_kegs installed_prefixes.map { |dir| Keg.new(dir) } @@ -18984,15 +18962,15 @@
+755 +756 757 758 759 -760 -761 -762+760
# File 'formula.rb', line 757 +# File 'formula.rb', line 755 def installed_prefixes possible_names.map { |name| HOMEBREW_CELLAR/name } @@ -19092,6 +19070,8 @@
+2737 +2738 2739 2740 2741 @@ -19106,12 +19086,10 @@+27532750 2751 2752 -2753 -2754 -2755
# File 'formula.rb', line 2739 +# File 'formula.rb', line 2737 def internal_dependencies_hash(spec_symbol) raise ArgumentError, "Unsupported spec: #{spec_symbol}" unless [:stable, :head].include?(spec_symbol) @@ -19186,14 +19164,14 @@
+1464 +1465 1466 1467 -1468 -1469 -1470+1468
# File 'formula.rb', line 1466 +# File 'formula.rb', line 1464 def keg_only? return false unless keg_only_reason @@ -19336,12 +19314,12 @@
-1078 -1079 -1080+1076 +1077 +1078
# File 'formula.rb', line 1078 +# File 'formula.rb', line 1076 def kext_prefix prefix/"Library/Extensions" @@ -19382,12 +19360,12 @@
-1717 -1718 -1719+1715 +1716 +1717
# File 'formula.rb', line 1717 +# File 'formula.rb', line 1715 def latest_formula installed_alias_target_changed? ? current_installed_alias_target : self @@ -19426,13 +19404,13 @@
+673 +674 675 -676 -677 -678+676
# File 'formula.rb', line 675 +# File 'formula.rb', line 673 def latest_head_prefix head_version = latest_head_version @@ -19472,6 +19450,8 @@
+662 +663 664 665 666 @@ -19479,12 +19459,10 @@+671668 669 670 -671 -672 -673
# File 'formula.rb', line 664 +# File 'formula.rb', line 662 def latest_head_version head_versions = installed_prefixes.filter_map do |pn| @@ -19531,18 +19509,18 @@
+694 +695 696 697 698 699 700 701 -702 -703 -704+702
# File 'formula.rb', line 696 +# File 'formula.rb', line 694 def latest_installed_prefix if head && (head_version = latest_head_version) && !head_version_outdated?(head_version) @@ -19603,12 +19581,12 @@
-642 -643 -644+640 +641 +642
# File 'formula.rb', line 642 +# File 'formula.rb', line 640 def latest_version_installed? (dir = latest_installed_prefix).directory? && !dir.children.empty? @@ -19661,12 +19639,12 @@
-1255 -1256 -1257+1253 +1254 +1255
# File 'formula.rb', line 1255 +# File 'formula.rb', line 1253 def launchd_service_path opt_prefix/"#{plist_name}.plist" @@ -19723,12 +19701,12 @@Example
-846 -847 -848+844 +845 +846
# File 'formula.rb', line 846 +# File 'formula.rb', line 844 def lib prefix/"lib" @@ -19786,12 +19764,12 @@Example
-865 -866 -867+863 +864 +865
# File 'formula.rb', line 865 +# File 'formula.rb', line 863 def libexec prefix/"libexec" @@ -19948,6 +19926,8 @@
+1482 +1483 1484 1485 1486 @@ -19978,12 +19958,10 @@+15141511 1512 1513 -1514 -1515 -1516
# File 'formula.rb', line 1484 +# File 'formula.rb', line 1482 def link_overwrite?(path) # Don't overwrite files not created by Homebrew. @@ -20066,12 +20044,12 @@
-724 -725 -726+722 +723 +724
# File 'formula.rb', line 724 +# File 'formula.rb', line 722 def linked? linked_keg.symlink? @@ -20112,16 +20090,16 @@
+654 +655 656 657 658 659 -660 -661 -662+660
# File 'formula.rb', line 656 +# File 'formula.rb', line 654 def linked_keg linked_keg = possible_names.map { |name| HOMEBREW_LINKED_KEGS/name } @@ -20178,14 +20156,14 @@
+741 +742 743 744 -745 -746 -747+745
# File 'formula.rb', line 743 +# File 'formula.rb', line 741 def linked_version return unless linked? @@ -20577,6 +20555,8 @@
+1611 +1612 1613 1614 1615 @@ -20587,12 +20567,10 @@+16231620 1621 1622 -1623 -1624 -1625
# File 'formula.rb', line 1613 +# File 'formula.rb', line 1611 def lock @lock = FormulaLock.new(name) @@ -20655,12 +20633,12 @@
-1180 -1181 -1182+1178 +1179 +1180
# File 'formula.rb', line 1180 +# File 'formula.rb', line 1178 def logs HOMEBREW_LOGS + name @@ -20712,12 +20690,12 @@
-877 -878 -879+875 +876 +877
# File 'formula.rb', line 877 +# File 'formula.rb', line 875 def man share/"man" @@ -20774,12 +20752,12 @@Example
-895 -896 -897+893 +894 +895
# File 'formula.rb', line 895 +# File 'formula.rb', line 893 def man1 man/"man1" @@ -20829,12 +20807,12 @@
-905 -906 -907+903 +904 +905
# File 'formula.rb', line 905 +# File 'formula.rb', line 903 def man2 man/"man2" @@ -20891,12 +20869,12 @@Example
-923 -924 -925+921 +922 +923
# File 'formula.rb', line 923 +# File 'formula.rb', line 921 def man3 man/"man3" @@ -20946,12 +20924,12 @@
-933 -934 -935+931 +932 +933
# File 'formula.rb', line 933 +# File 'formula.rb', line 931 def man4 man/"man4" @@ -21001,12 +20979,12 @@
-943 -944 -945+941 +942 +943
# File 'formula.rb', line 943 +# File 'formula.rb', line 941 def man5 man/"man5" @@ -21056,12 +21034,12 @@
-953 -954 -955+951 +952 +953
# File 'formula.rb', line 953 +# File 'formula.rb', line 951 def man6 man/"man6" @@ -21111,12 +21089,12 @@
-963 -964 -965+961 +962 +963
# File 'formula.rb', line 963 +# File 'formula.rb', line 961 def man7 man/"man7" @@ -21166,12 +21144,12 @@
-973 -974 -975+971 +972 +973
# File 'formula.rb', line 973 +# File 'formula.rb', line 971 def man8 man/"man8" @@ -21223,12 +21201,12 @@
-1644 -1645 -1646+1642 +1643 +1644
# File 'formula.rb', line 1644 +# File 'formula.rb', line 1642 def migration_needed? !oldnames_to_migrate.empty? && !rack.exist? @@ -21269,6 +21247,8 @@
+2353 +2354 2355 2356 2357 @@ -21276,12 +21256,10 @@+23622359 2360 2361 -2362 -2363 -2364
# File 'formula.rb', line 2355 +# File 'formula.rb', line 2353 def missing_dependencies(hide: nil) hide ||= [] @@ -21329,15 +21307,15 @@
+3105 +3106 3107 3108 3109 -3110 -3111 -3112+3110
# File 'formula.rb', line 3107 +# File 'formula.rb', line 3105 def mkdir(name, &block) result = FileUtils.mkdir_p(name) @@ -21383,12 +21361,12 @@
-3101 -3102 -3103+3099 +3100 +3101
# File 'formula.rb', line 3101 +# File 'formula.rb', line 3099 def mktemp(prefix = name, opts = {}, &block) Mktemp.new(prefix, opts).run(&block) @@ -21530,12 +21508,12 @@
-1684 -1685 -1686+1682 +1683 +1684
# File 'formula.rb', line 1684 +# File 'formula.rb', line 1682 def new_formula_available? installed_alias_target_changed? && !latest_formula.latest_version_installed? @@ -21574,17 +21552,17 @@
+1719 +1720 1721 1722 1723 1724 1725 -1726 -1727 -1728+1726
# File 'formula.rb', line 1721 +# File 'formula.rb', line 1719 def old_installed_formulae # If this formula isn't the current target of the alias, @@ -21644,13 +21622,13 @@
+560 +561 562 -563 -564 -565+563
# File 'formula.rb', line 562 +# File 'formula.rb', line 560 def oldname odisabled "`Formula#oldname`", "`Formula#oldnames`" @@ -21704,17 +21682,17 @@
+569 +570 571 572 573 574 575 -576 -577 -578+576
# File 'formula.rb', line 571 +# File 'formula.rb', line 569 def oldnames @oldnames ||= if (tap = self.tap) @@ -21771,18 +21749,18 @@
+1631 +1632 1633 1634 1635 1636 1637 1638 -1639 -1640 -1641+1639
# File 'formula.rb', line 1633 +# File 'formula.rb', line 1631 def oldnames_to_migrate oldnames.select do |oldname| @@ -21840,12 +21818,12 @@
-2757 -2758 -2759+2755 +2756 +2757
# File 'formula.rb', line 2757 +# File 'formula.rb', line 2755 def on_system_blocks_exist? self.class.on_system_blocks_exist? || @on_system_blocks_exist @@ -21893,12 +21871,12 @@
-1299 -1300 -1301+1297 +1298 +1299
# File 'formula.rb', line 1299 +# File 'formula.rb', line 1297 def opt_bin opt_prefix/"bin" @@ -21946,12 +21924,12 @@
-1355 -1356 -1357+1353 +1354 +1355
# File 'formula.rb', line 1355 +# File 'formula.rb', line 1353 def opt_elisp opt_prefix/"share/emacs/site-lisp"/name @@ -21999,12 +21977,12 @@
-1363 -1364 -1365+1361 +1362 +1363
# File 'formula.rb', line 1363 +# File 'formula.rb', line 1361 def opt_frameworks opt_prefix/"Frameworks" @@ -22052,12 +22030,12 @@
-1307 -1308 -1309+1305 +1306 +1307
# File 'formula.rb', line 1307 +# File 'formula.rb', line 1305 def opt_include opt_prefix/"include" @@ -22105,12 +22083,12 @@
-1315 -1316 -1317+1313 +1314 +1315
# File 'formula.rb', line 1315 +# File 'formula.rb', line 1313 def opt_lib opt_prefix/"lib" @@ -22158,12 +22136,12 @@
-1323 -1324 -1325+1321 +1322 +1323
# File 'formula.rb', line 1323 +# File 'formula.rb', line 1321 def opt_libexec opt_prefix/"libexec" @@ -22211,12 +22189,12 @@
-1347 -1348 -1349+1345 +1346 +1347
# File 'formula.rb', line 1347 +# File 'formula.rb', line 1345 def opt_pkgshare opt_prefix/"share"/name @@ -22274,12 +22252,12 @@Example
-1291 -1292 -1293+1289 +1290 +1291
# File 'formula.rb', line 1291 +# File 'formula.rb', line 1289 def opt_prefix HOMEBREW_PREFIX/"opt"/name @@ -22327,12 +22305,12 @@
-1331 -1332 -1333+1329 +1330 +1331
# File 'formula.rb', line 1331 +# File 'formula.rb', line 1329 def opt_sbin opt_prefix/"sbin" @@ -22380,12 +22358,12 @@
-1339 -1340 -1341+1337 +1338 +1339
# File 'formula.rb', line 1339 +# File 'formula.rb', line 1337 def opt_share opt_prefix/"share" @@ -22475,10 +22453,10 @@
-633+631
# File 'formula.rb', line 633 +# File 'formula.rb', line 631 delegate option_defined?: :active_spec
-730 -731 -732+728 +729 +730
# File 'formula.rb', line 730 +# File 'formula.rb', line 728 def optlinked? opt_prefix.symlink? @@ -22694,14 +22672,14 @@
+1732 +1733 1734 1735 -1736 -1737 -1738+1736
# File 'formula.rb', line 1734 +# File 'formula.rb', line 1732 def outdated?(fetch_head: false) !outdated_kegs(fetch_head:).empty? @@ -22755,6 +22733,8 @@
+1646 +1647 1648 1649 1650 @@ -22786,12 +22766,10 @@+16791676 1677 1678 -1679 -1680 -1681
# File 'formula.rb', line 1648 +# File 'formula.rb', line 1646 def outdated_kegs(fetch_head: false) raise Migrator::MigrationNeededError.new(oldnames_to_migrate.first, name) if migration_needed? @@ -22861,15 +22839,15 @@
+1568 +1569 1570 1571 1572 -1573 -1574 -1575+1573
# File 'formula.rb', line 1570 +# File 'formula.rb', line 1568 def patch return if patchlist.empty? @@ -23341,12 +23319,12 @@
-1101 -1102 -1103+1099 +1100 +1101
# File 'formula.rb', line 1101 +# File 'formula.rb', line 1099 def pkgetc (HOMEBREW_PREFIX/"etc"/name).extend(InstallRenamed) @@ -23404,12 +23382,12 @@Example
-1039 -1040 -1041+1037 +1038 +1039
# File 'formula.rb', line 1039 +# File 'formula.rb', line 1037 def pkgshare prefix/"share"/name @@ -23486,14 +23464,14 @@Example
+1233 +1234 1235 1236 -1237 -1238 -1239+1237
# File 'formula.rb', line 1235 +# File 'formula.rb', line 1233 def plist # odeprecated: consider removing entirely in 4.3.0 @@ -23548,12 +23526,12 @@
-1243 -1244 -1245+1241 +1242 +1243
# File 'formula.rb', line 1243 +# File 'formula.rb', line 1241 def plist_name service.plist_name @@ -23592,12 +23570,12 @@
-1769 -1770 -1771+1767 +1768 +1769
# File 'formula.rb', line 1769 +# File 'formula.rb', line 1767 def possible_names [name, *oldnames, *aliases].compact @@ -23637,10 +23615,10 @@
-1382+1380
# File 'formula.rb', line 1382 +# File 'formula.rb', line 1380 def post_install; end
-1385 -1386 -1387+1383 +1384 +1385
# File 'formula.rb', line 1385 +# File 'formula.rb', line 1383 def post_install_defined? method(:post_install).owner != Formula @@ -23753,12 +23731,12 @@
-1374 -1375 -1376+1372 +1373 +1374
# File 'formula.rb', line 1374 +# File 'formula.rb', line 1372 def pour_bottle? true @@ -23891,18 +23869,18 @@
+708 +709 710 711 712 713 714 715 -716 -717 -718+716
# File 'formula.rb', line 710 +# File 'formula.rb', line 708 def prefix(version = pkg_version) versioned_prefix = versioned_prefix(version) @@ -23961,14 +23939,14 @@
+733 +734 735 736 -737 -738 -739+737
# File 'formula.rb', line 735 +# File 'formula.rb', line 733 def prefix_linked?(version = pkg_version) return false unless linked? @@ -24009,15 +23987,15 @@
+2233 +2234 2235 2236 2237 -2238 -2239 -2240+2238
# File 'formula.rb', line 2235 +# File 'formula.rb', line 2233 def print_tap_action( = {}) return unless tap? @@ -24074,12 +24052,12 @@
-752 -753 -754+750 +751 +752
# File 'formula.rb', line 752 +# File 'formula.rb', line 750 def rack HOMEBREW_CELLAR/name @@ -24120,13 +24098,13 @@
+2255 +2256 2257 -2258 -2259 -2260+2258
# File 'formula.rb', line 2257 +# File 'formula.rb', line 2255 def recursive_dependencies(&block) cache_key = "Formula#recursive_dependencies" unless block @@ -24167,13 +24145,13 @@
+2263 +2264 2265 -2266 -2267 -2268+2266
# File 'formula.rb', line 2265 +# File 'formula.rb', line 2263 def recursive_requirements(&block) cache_key = "Formula#recursive_requirements" unless block @@ -24226,12 +24204,12 @@
-1566 -1567 -1568+1564 +1565 +1566
# File 'formula.rb', line 1566 +# File 'formula.rb', line 1564 def require_universal_deps? false @@ -24329,58 +24307,6 @@
- This method is part of a private API. - This method may only be used in the Homebrew/brew repository. - Third parties should avoid using this method if possible, as it may be removed or changed without warning. -
-A named Resource for the currently active SoftwareSpec. -Additional downloads can be defined as #resources. -Resource#stage will create a temporary directory and yield to a block.
- -resource("additional_files").stage { bin.install "my/extra/tool" }
-
-
-
-
- - - -556 -557 -558- |
-
- # File 'formula.rb', line 556 - -def resource(name) - active_spec.resource(name) -end- |
-
-590+588
# File 'formula.rb', line 590 +# File 'formula.rb', line 588 def_delegator :"active_spec.resources", :values, :resources
+1909 +1910 1911 1912 1913 1914 -1915 -1916 -1917+1915
# File 'formula.rb', line 1911 +# File 'formula.rb', line 1909 def rpath(source: bin, target: lib) unless target.to_s.start_with?(HOMEBREW_PREFIX) @@ -24572,12 +24498,12 @@
-2372 -2373 -2374+2370 +2371 +2372
# File 'formula.rb', line 2372 +# File 'formula.rb', line 2370 def ruby_source_checksum Checksum.new(Digest::SHA256.file(path).hexdigest) if path.exist? @@ -24629,12 +24555,12 @@
-2367 -2368 -2369+2365 +2366 +2367
# File 'formula.rb', line 2367 +# File 'formula.rb', line 2365 def ruby_source_path path.relative_path_from(T.must(tap).path).to_s if tap && path.exist? @@ -24673,6 +24599,8 @@
+1398 +1399 1400 1401 1402 @@ -24699,12 +24627,10 @@+14261423 1424 1425 -1426 -1427 -1428
# File 'formula.rb', line 1400 +# File 'formula.rb', line 1398 def run_post_install @prefix_returns_versioned_prefix = true @@ -24769,6 +24695,8 @@
+2767 +2768 2769 2770 2771 @@ -24802,12 +24730,10 @@+28022799 2800 2801 -2802 -2803 -2804
# File 'formula.rb', line 2769 +# File 'formula.rb', line 2767 def run_test(keep_tmp: false) @prefix_returns_versioned_prefix = true @@ -24880,6 +24806,8 @@
+2299 +2300 2301 2302 2303 @@ -24896,12 +24824,10 @@+23172314 2315 2316 -2317 -2318 -2319
# File 'formula.rb', line 2301 +# File 'formula.rb', line 2299 def runtime_dependencies(read_from_tab: true, undeclared: true) deps = if read_from_tab && undeclared && @@ -24957,6 +24883,8 @@
+2320 +2321 2322 2323 2324 @@ -24967,12 +24895,10 @@+23322329 2330 2331 -2332 -2333 -2334
# File 'formula.rb', line 2322 +# File 'formula.rb', line 2320 def runtime_formula_dependencies(read_from_tab: true, undeclared: true) cache_key = "#{full_name}-#{read_from_tab}-#{undeclared}" @@ -25021,6 +24947,8 @@+2334 +2335 2336 2337 2338 @@ -25034,12 +24962,10 @@
+2349
# File 'formula.rb', line 2336 +# File 'formula.rb', line 2334 def runtime_installed_formula_dependents # `any_installed_keg` and `runtime_dependencies` `select`s ensure @@ -25103,12 +25029,12 @@
-984 -985 -986+982 +983 +984
# File 'formula.rb', line 984 +# File 'formula.rb', line 982 def sbin prefix/"sbin" @@ -25147,6 +25073,8 @@
+2643 +2644 2645 2646 2647 @@ -25168,12 +25096,10 @@+26662663 2664 2665 -2666 -2667 -2668
# File 'formula.rb', line 2645 +# File 'formula.rb', line 2643 def serialized_requirements requirements = self.class.spec_syms.to_h do |sym| @@ -25234,12 +25160,12 @@
-1272 -1273 -1274+1270 +1271 +1272
# File 'formula.rb', line 1272 +# File 'formula.rb', line 1270 def service @service ||= Homebrew::Service.new(self, &self.class.service) @@ -25390,12 +25316,12 @@
-1249 -1250 -1251+1247 +1248 +1249
# File 'formula.rb', line 1249 +# File 'formula.rb', line 1247 def service_name service.service_name @@ -25467,12 +25393,12 @@Examples
-1020 -1021 -1022+1018 +1019 +1020
# File 'formula.rb', line 1020 +# File 'formula.rb', line 1018 def share prefix/"share" @@ -25655,15 +25581,15 @@
+1474 +1475 1476 1477 1478 -1479 -1480 -1481+1479
# File 'formula.rb', line 1476 +# File 'formula.rb', line 1474 def skip_clean?(path) return true if path.extname == ".la" && self.class.skip_clean_paths.include?(:la) @@ -25718,12 +25644,12 @@
-1561 -1562 -1563+1559 +1560 +1561
# File 'formula.rb', line 1561 +# File 'formula.rb', line 1559 def skip_cxxstdlib_check? false @@ -25936,6 +25862,8 @@
+1839 +1840 1841 1842 1843 @@ -25944,12 +25872,10 @@+18491846 1847 1848 -1849 -1850 -1851
# File 'formula.rb', line 1841 +# File 'formula.rb', line 1839 def std_cabal_v2_args env = T.cast(ENV, T.any(Stdenv, Superenv)) @@ -26040,12 +25966,12 @@
-1798 -1799 -1800+1796 +1797 +1798
# File 'formula.rb', line 1798 +# File 'formula.rb', line 1796 def std_cargo_args(root: prefix, path: ".") ["--locked", "--root=#{root}", "--path=#{path}"] @@ -26257,13 +26183,13 @@
+1787 +1788 1789 -1790 -1791 -1792+1790
# File 'formula.rb', line 1789 +# File 'formula.rb', line 1787 def std_configure_args(prefix: self.prefix, libdir: "lib") libdir = Pathname(libdir).(prefix) @@ -26347,14 +26273,14 @@
+1831 +1832 1833 1834 -1835 -1836 -1837+1835
# File 'formula.rb', line 1833 +# File 'formula.rb', line 1831 def std_go_args(output: bin/name, ldflags: nil) args = ["-trimpath", "-o=#{output}"] @@ -26409,12 +26335,12 @@
-1855 -1856 -1857+1853 +1854 +1855
# File 'formula.rb', line 1855 +# File 'formula.rb', line 1853 def std_meson_args ["--prefix=#{prefix}", "--libdir=#{lib}", "--buildtype=release", "--wrap-mode=nofallback"] @@ -26497,15 +26423,15 @@
+1862 +1863 1864 1865 1866 -1867 -1868 -1869+1867
# File 'formula.rb', line 1864 +# File 'formula.rb', line 1862 def std_pip_args(prefix: self.prefix, build_isolation: false) args = ["--verbose", "--no-deps", "--no-binary=:all:", "--ignore-installed", "--no-compile"] @@ -26561,12 +26487,12 @@
-1704 -1705 -1706+1702 +1703 +1704
# File 'formula.rb', line 1704 +# File 'formula.rb', line 1702 def supersedes_an_installed_formula? old_installed_formulae.any? @@ -26728,6 +26654,8 @@Examples
+2949 +2950 2951 2952 2953 @@ -26829,12 +26757,10 @@+3052Examples
3049 3050 3051 -3052 -3053 -3054
# File 'formula.rb', line 2951 +# File 'formula.rb', line 2949 def system(cmd, *args) verbose_using_dots = Homebrew::EnvConfig.verbose_using_dots? @@ -26988,12 +26914,12 @@
-1261 -1262 -1263+1259 +1260 +1261
# File 'formula.rb', line 1261 +# File 'formula.rb', line 1259 def systemd_service_path opt_prefix/"#{service_name}.service" @@ -27046,12 +26972,12 @@
-1267 -1268 -1269+1265 +1266 +1267
# File 'formula.rb', line 1267 +# File 'formula.rb', line 1265 def systemd_timer_path opt_prefix/"#{service_name}.timer" @@ -27104,14 +27030,14 @@
+2220 +2221 2222 2223 -2224 -2225 -2226+2224
# File 'formula.rb', line 2222 +# File 'formula.rb', line 2220 def tap? return false unless tap @@ -27152,12 +27078,12 @@
-2242 -2243 -2244+2240 +2241 +2242
# File 'formula.rb', line 2242 +# File 'formula.rb', line 2240 def tap_git_head tap&.git_head @@ -27196,10 +27122,10 @@
-2811+2809
# File 'formula.rb', line 2811 +# File 'formula.rb', line 2809 def test; end
-2807 -2808 -2809+2805 +2806 +2807
# File 'formula.rb', line 2807 +# File 'formula.rb', line 2805 def test_defined? false @@ -27293,12 +27219,12 @@
-2813 -2814 -2815+2811 +2812 +2813
# File 'formula.rb', line 2813 +# File 'formula.rb', line 2811 def test_fixtures(file) HOMEBREW_LIBRARY_PATH/"test/support/fixtures"/file @@ -27358,16 +27284,16 @@
+1926 +1927 1928 1929 1930 1931 -1932 -1933 -1934+1932
# File 'formula.rb', line 1928 +# File 'formula.rb', line 1926 def time if ENV["SOURCE_DATE_EPOCH"].present? @@ -27410,6 +27336,8 @@
+2389 +2390 2391 2392 2393 @@ -27491,12 +27419,10 @@+24722469 2470 2471 -2472 -2473 -2474
# File 'formula.rb', line 2391 +# File 'formula.rb', line 2389 def to_hash hsh = { @@ -27616,6 +27542,8 @@
+2536 +2537 2538 2539 2540 @@ -27665,12 +27593,10 @@+25872584 2585 2586 -2587 -2588 -2589
# File 'formula.rb', line 2538 +# File 'formula.rb', line 2536 def to_hash_with_variations(hash_method: :to_hash) if loaded_from_api? && hash_method == :to_internal_api_hash @@ -27758,6 +27684,8 @@
+2474 +2475 2476 2477 2478 @@ -27816,12 +27744,10 @@+25342531 2532 2533 -2534 -2535 -2536
# File 'formula.rb', line 2476 +# File 'formula.rb', line 2474 def to_internal_api_hash api_hash = { @@ -27918,13 +27844,13 @@
+1625 +1626 1627 -1628 -1629 -1630+1628
# File 'formula.rb', line 1627 +# File 'formula.rb', line 1625 def unlock @lock&.unlock @@ -28126,6 +28052,8 @@
+2618 +2619 2620 2621 2622 @@ -28147,12 +28075,10 @@+26412638 2639 2640 -2641 -2642 -2643
# File 'formula.rb', line 2620 +# File 'formula.rb', line 2618 def urls_hash hash = {} @@ -28215,12 +28141,12 @@
-601 -602 -603+599 +600 +601
# File 'formula.rb', line 601 +# File 'formula.rb', line 599 def uses_from_macos_elements odisabled "`Formula#uses_from_macos_elements`", "`Formula#declared_deps`" @@ -28262,12 +28188,12 @@
-606 -607 -608+604 +605 +606
# File 'formula.rb', line 606 +# File 'formula.rb', line 604 def uses_from_macos_names odisabled "`Formula#uses_from_macos_names`", "`Formula#declared_deps`" @@ -28376,12 +28302,12 @@
-1111 -1112 -1113+1109 +1110 +1111
# File 'formula.rb', line 1111 +# File 'formula.rb', line 1109 def var HOMEBREW_PREFIX/"var" @@ -28420,12 +28346,12 @@
-2765 -2766 -2767+2763 +2764 +2765
# File 'formula.rb', line 2765 +# File 'formula.rb', line 2763 def verify_download_integrity(filename) active_spec.verify_download_integrity(filename) @@ -28773,16 +28699,16 @@
+1193 +1194 1195 1196 1197 1198 -1199 -1200 -1201+1199
# File 'formula.rb', line 1195 +# File 'formula.rb', line 1193 def with_logging(log_type) old_log_type = @active_log_type @@ -28841,18 +28767,18 @@
+3114 +3115 3116 3117 3118 3119 3120 3121 -3122 -3123 -3124+3122
# File 'formula.rb', line 3116 +# File 'formula.rb', line 3114 def xcodebuild(*args) removed = ENV.remove_cc_etc @@ -28909,12 +28835,12 @@
-1155 -1156 -1157+1153 +1154 +1155
# File 'formula.rb', line 1155 +# File 'formula.rb', line 1153 def zsh_completion share/"zsh/site-functions" @@ -28965,12 +28891,12 @@
-1122 -1123 -1124+1120 +1121 +1122
# File 'formula.rb', line 1122 +# File 'formula.rb', line 1120 def zsh_function share/"zsh/site-functions" diff --git a/docs/method_list.html b/docs/method_list.html index 3ef3db3bf..c8f19b83f 100644 --- a/docs/method_list.html +++ b/docs/method_list.html @@ -31365,14 +31365,6 @@Method List