aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dependency_collector.rb
AgeCommit message (Collapse)Author
2018-02-21Make 'xz' and 'cvs' dependencies conditionalMaxim Belkin
2018-02-19Code refactoring v2.0Maxim Belkin
2018-02-19Code refactoringMaxim Belkin
2018-02-19Making zip and bzip2 dependecies conditionalMaxim Belkin
Here, we are adding `unless which("zip")` and `unless which("bzip2")` and, thus, make `zip` and `bzip2` dependencies conditional.
2018-02-19Refactoring based on suggestionsMaxim Belkin
Defaulting zip_dep_if_needed(tags) and bzip2_dep_if_needed(tags) methods to those on Linux and overriding them on macOS.
2018-02-16Fixing brew-style offensesMaxim Belkin
2018-02-16zip and bzip2 dependencies when neededMaxim Belkin
On some systems identified as Linux, zip and bzip2 might not be available. Therefore, on such platforms we add them unconditionally as dependencies when required. On Mac, these dependencies are always satisfied.
2018-01-10Deprecate Git, Subversion requirements.Mike McQuaid
These rely on `default_formula` to be useful and are better following the `*_dep_if_needed` pattern.
2018-01-03LD64Dependency is needed on macOS onlyShaun Jackman
Move ld64_dependency.rb to os/mac/.
2017-12-30requirements: move more to compat.Mike McQuaid
2017-12-29dependency_collector: don't use hg alias.Mike McQuaid
2017-12-23Deprecate more requirements.Mike McQuaid
These are ones that were either already deprecated due to audit rules or are just a simple `which` with a `default_formula` so should just be a dependency.
2017-12-23dependency_collector: cleanup optional system depsMike McQuaid
2017-11-25Add CVSRequirement and SubversionRequirementShaun Jackman
Use these two requirements in DependencyCollector. Remove the unused function MacOS::Xcode.provides_cvs?
2017-10-17Rename MinimumMacOSRequirement to MacOSRequirementShaun Jackman
Move MinimumMacOSRequirement to compat.
2017-10-17Add depends_on :linux and :macosShaun Jackman
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2016-11-28dependency_collector: Make ant_dep and xz_dep publicBob W. Hogg
They were already public on macOS, but they were made private by mistake on all other platforms. DependencyCollector.tar_needs_xz_dependency? depends on xz_dep being public, so there's no turning back now :(
2016-10-15Use BSD tar's libarchive LZMA support if availableMike McQuaid
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-12Deprecate apr requirement.Mike McQuaid
It's not used on enough configurations now that there's little point in keeping it around. See e.g. `:autoconf` for prior art.
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23Fix Lint/EndAlignment.Markus Reiter
2016-09-23Fix RuboCop CaseEquality.Markus Reiter
2016-09-22make linux behaviour the default. override only for macosBob W. Hogg
2016-09-22move os checks to extend/osBob W. Hogg
2016-09-22Oops, forgot to rename it in-codeBob W. Hogg
2016-09-22switch to using extend patternBob W. Hogg
2016-09-22dependency_collector: Fix ant_dep for Linux.Bob W. Hogg
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-08-13gpg_requirement: rename to gpg2_requirementDominyk Tiller
2016-05-03dependency_collector: add perlDominyk Tiller
Closes #184. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-04-22Add :expat special dependencyMisty De Meo
This will be expanded to a full expat dependency on Tiger alone. Fixes mistydemeo/tigerbrew#30.
2016-01-09dependency_collector: add rbenvDominyk Tiller
Closes Homebrew/homebrew#47897. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-01DependencyCollector: add lua51 language moduleMisty De Meo
2016-01-01LanguageModuleRequirement: remove jruby supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove ocaml supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove node supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove chicken supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove rbx supportMisty De Meo
This test wasn't running by default, so we missed that it wasn't actually being executed - or that it was failing when running in the testing environment. As far as I can tell this is not, and has not, been used either in core or in any tap, third party or otherwise, so just remove the feature and its test.
2015-12-31DependencyCollector: infer dep for .lzh archivesMisty De Meo
Refs Homebrew/homebrew-games#383.
2015-11-17move more deprecated methods to compat folderXu Cheng
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-19Remove workarounds for destructuring single-element hashesJack Nagel
2015-06-16Rename requirements named *Dependency.Mike McQuaid
Dependency is another similar, related class and it's super confusing to have some Requirements that are named *Dependency. Closes Homebrew/homebrew#38891. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-08add EmacsRequirementAlex Dunn
Closes Homebrew/homebrew#39326. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-21Add RubyRequirement.Mike McQuaid
2015-04-09Prioritize TapDependency in parse_string_specTim D. Smith
test-bot expects the dependencies returned from SoftwareSpec#deps to satisfy is_a?(TapDependency) if they come from a tap which might need to be tapped.
2015-03-19add :python3 to LANGUAGE_MODULESTanachat Nilanon
Add special :python3 dependency tag to LANGUAGE_MODULES in dependency_collector. Closes Homebrew/homebrew#37898. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-01-22Add `depends_on :gpg`Xu Cheng
2014-12-05Try to match unused symbol deps lastJack Nagel