aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements
AgeCommit message (Collapse)Author
2016-09-27Merge pull request #1004 from apjanke/print-requirementsMike McQuaid
info: print requirements
2016-09-24info: include versions and other details in Requirements displayAndrew Janke
2016-09-23Style/Alias: Prefer `alias`.Markus Reiter
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-11requirements/x11_requirement: fix Rubocop warnings.Mike McQuaid
2016-09-11requirements/ruby_requirement: fix Rubocop warnings.Mike McQuaid
2016-09-11requirements/perl_requirement: fix Rubocop warnings.Mike McQuaid
2016-09-11requirements/java_requirement: fix Rubocop warnings.Mike McQuaid
2016-09-11requirements/emacs_requirement: fix Rubocop warnings.Mike McQuaid
2016-08-13gpg_requirement: rename to gpg2_requirementDominyk Tiller
2016-08-13gpg_requirement: centralise logic in Gpg classDominyk Tiller
Removes the detection logic from the Requirement in favour of it living inside the Gpg class & us calling it from there. It's a bit nicer & avoids us calling Requirement code from outside of direct requirement handling & fulfillment.
2016-08-13gpg_requirement: add standalone requirementDominyk Tiller
GPG 1.x has stopped receiving new features, some of which we may well want to take advantage of sooner or later in Homebrew. Upstream has also been attempting to work out for a while how well used it still is which suggests it may "go away" at some point in the future. Debian is also in the process of migrating GnuPG 1.x to a `gpg1` executable whilst GnuPG 2.1.x assumes the `gpg` executable. There's a detailed video discussion of this from DebConf 2015 at: http://meetings-archive.debian.net/pub/debian-meetings/2015/debconf15/GnuPG_in_Debian_report.webm It's unsafe to assume every `gpg` executable is going to forever equal 1.x and every `gpg2` executable is going to forever equal 2.x. MacGPG2 has been symlinking 2.x as a vanilla `gpg` for a while, for example, and we will be soon as well. You'll still be able to plonk the `libexec/bin` path of `gpg` in your PATH to access a vanilla `gpg` 1.x executable if you want to, but we're not going to actively keep adding gpg1 support to formulae going forwards. There's really no reason why 99.9% of projects should not or cannot use `gpg2` these days. This uses detection methods to determine regardless of what the executable is called we're always hitting a 2.0 GnuPG or nothing.
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-15osxfuse_requirement: update PKG_CONFIG_PATHDominyk Tiller
2016-07-11osxfuse_requirement: remove formula reference.Mike McQuaid
We’re just supporting the Cask now.
2016-07-11tuntap_requirement: remove formula reference.Mike McQuaid
We’re just supporting the Cask now.
2016-07-11osxfuse_requirement: tweak formatting.Mike McQuaid
Nicer to split this onto two lines.
2016-07-11tuntap_requirement: fix binary logic.Mike McQuaid
Previously this was only using the last line.
2016-06-30osxfuse_requirement: fix website linkDominyk Tiller
2016-05-07languages: flag missing dependency requirement (#194)Dominyk Tiller
This is in part designed to handle situations described in https://github.com/Homebrew/legacy-homebrew/issues/42273 where we tell someone to install a special dependency, but because we (rightly, IMO) resolve special dependencies first users can end up being told to execute a command on a tool that isn't yet installed and isn't immediately obvious how to install it. In the situation raised there, with the `sile` formula people are being told to `luarocks install xyz` but we hadn't installed Lua for them first, so they just get a `command not found: luarocks` message. Perhaps it should be obvious enough how to install said tools by looking at the formula's dependencies, but it's not a huge burden on us to make life easier than that. Shuffled over from https://github.com/Homebrew/legacy-homebrew/pull/42576.
2016-05-03perl_requirement: addDominyk Tiller
2016-05-01JavaRequirement: use next instead of return in code blockXu Cheng
2016-04-22JavaRequirement: return false if no java_homeMisty De Meo
Closes #118. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-04-22subversion: don't use system APR on TigerMisty De Meo
2016-01-03RubyRequirement: check all available rubyXu Cheng
Closes Homebrew/homebrew#47605. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-01LanguageModuleRequirement: remove jruby 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-11-04maximum_macos_requirement: reword messageDominyk Tiller
Closes Homebrew/homebrew#45658. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-31JavaRequirement: check satisfaction directlyXu Cheng
It made less sense to call a method `java_version` when it returns boolean value. Closes Homebrew/homebrew#45501. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-30emacs_requirement: set $EMACSAlex Dunn
The Emacs shell sets $EMACS to "t" for detection purposes, but it causes builds to fail when they attempt to call Emacs using the variable. Fixes Homebrew/homebrew-emacs#30. Closes Homebrew/homebrew#45495. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-10-28emacs_requirement: allow no versionAlex Dunn
see Homebrew/homebrew-emacs#29 Closes Homebrew/homebrew#45426. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-09-10env block is not inheritedTim D. Smith
2015-09-10Revert "python_requirement: fix ENV for python3"Tim D. Smith
This reverts commit 85271644b0083cbc0fd6fea71120d1ad859fbc2a. Alex noticed that setting PYTHONPATH causes weirdness if we depend_on something which may be optionally built --with-python3; PYTHONPATH unexpectedly contains python3 modules in the depending formula if the formula upon which it depends was built --with-python3 even though the depending formula may only use python2. Closes Homebrew/homebrew#43724. Closes Homebrew/homebrew#43744.
2015-09-01python_requirement: fix ENV for python3Alex Dunn
Closes Homebrew/homebrew#43453.
2015-09-01remove Requirement#pour_bottle?Xu Cheng
It's never used since a0a93f1b3b7b2be9b8a319be91086ffe220f8e32. Closes Homebrew/homebrew#43462. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-21cctools_requirement: quotes nitDominyk Tiller
2015-08-21Merge bottle install without Xcode branchMisty De Meo
Merge branch 'bottle_hooks'
2015-08-21Add no-Xcode documentation for all classes, methodsWilliam Woodruff
2015-08-21Requirements: add CctoolsRequirementWilliam Woodruff
Install it as a dependency unless already satisfied by Xcode. require cctools_requirement cctools_requirement should be satisfied by cctools present in opt add build_env => false to the satify block options in CctoolsRequirement
2015-08-21add cctools requirementWilliam Woodruff
2015-08-10PythonRequirement: fix variable in PYTHONPATHMisty De Meo
2015-08-10PythonRequirement: don't blindly use first Python in PATHMisty De Meo
Fixes Homebrew/homebrew#42461.
2015-08-06languages: support both luasDominyk Tiller
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-26Mark some requirements that don't need the build environmentJack 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-08RubyRequirement: clean upXu Cheng
1. Remove dead code (RubyRequirement always has a version) 2. Perfer `Utils.popen_read` instead of backticks.