Dependency is another similar, related class and it's super confusing
to have some Requirements that are named *Dependency.
ClosesHomebrew/homebrew#38891.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Per requirements.rb:
> XXX If the satisfy block returns a Pathname, then make sure that it
> remains available on the PATH. This makes requirements like
> satisfy { which("executable") }
> work, even under superenv where "executable" wouldn't normally be on the
> PATH.
> This is undocumented magic and it should be removed, but we need to add
> a way to declare path-based requirements that work with superenv first.
Fixeshomebrew/homebrew-python#170.
ClosesHomebrew/homebrew#38448.
We want the apr requirement to act as a build-time requirement in case
it is satisfied (that is, the CLT is installed), as the resulting
binaries will link to the system libapr which is always present.
When it is *not* satisfied by the CLT, and we need to install the
formula, we have to treat it as a runtime dependency since the resulting
binaries will link to it.
FixesHomebrew/homebrew#36301.
FixesHomebrew/homebrew#36438.
ClosesHomebrew/homebrew#36443.
If apr is installed, we still want to grab it during dependency
resolution in case we need to pass options to the generated dependency.
In other words, it doesn't make sense for the satisfiable condition to
include the default formula, as the default formula is the fallback for
when the requirement is *not* satisfied.
Migrates Apr from Homebrew/Apache to Homebrew/Homebrew, adds a
requirement to allow people to use this Apr instead of requiring
people to download the full CLT package. Tested against subversion
with consistent success.
ClosesHomebrew/homebrew#34987.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Also, tweak the XQuartz requirement to not show 0.0.0 versions being required.
ClosesHomebrew/homebrew#35254.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
We have an upstream signed binary available! Big big love to Mattias
for this.
This PR converts all the existing tuntap dependencies into
binary-friendly tuntap dependencies, and adds a tuntap dependency to
requirements to look for the kexts.
ClosesHomebrew/homebrew#33894.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Creates a new requirement that dictates packages are unable to install due to requiring a signed kext to function.
ClosesHomebrew/homebrew#33404.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
The method signature of Dependency changed in
1fdf69b90382c43493a5f62f0020729289db6c70, however LD64Dependency was
missed in the update. This resulted in failures in merge_repeats(),
which creates many dependency objects using all three arguments.
- PythonDependency now implies Python 2.7
- PythonDependency now uses brewed Python for bottling
- Use double-quotes everywhere
ClosesHomebrew/homebrew#27112.