aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements
AgeCommit message (Collapse)Author
2015-04-21Add RubyRequirement.Mike McQuaid
2015-04-08FortranDependency: make sure gfortran ends up in PATHTim D. Smith
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. Fixes homebrew/homebrew-python#170. Closes #38448.
2015-03-05Remove unnecessary nil checkJack Nagel
The backticks will either return a string or raise an exception, so `executable` cannot be nil.
2015-03-05Use env DSLJack Nagel
2015-02-28java: move java_dependency into a separate file and add ↵Xu Cheng
Language::Java.java_home_env Also update activemq to test against it Closes #37218. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-24add inspect to Requirement subclassXu Cheng
Closes #37116. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-02AprRequirement should not generate a build-time dependencyJack Nagel
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. Fixes #36301. Fixes #36438. Closes #36443.
2015-02-02AprRequirement should not short-circuit if apr is installedJack Nagel
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.
2015-02-02Remove message that is never displayedJack Nagel
Requirements with default formulae cannot fail the build.
2015-02-02AprRequirement's default formula should be apr-utilJack Nagel
This matches the recommendation in the message.
2015-01-06apr 1.5.1 (new formula)Dominyk Tiller
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. Closes #34987. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes #35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-28Set cask and download DSL values on requirements.Mike McQuaid
Closes #35257. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-28unsigned_kext_req: use new cask/download DSL.Mike McQuaid
2014-12-25requirements: recommend casks where available.Mike McQuaid
Also, tweak the XQuartz requirement to not show 0.0.0 versions being required. Closes #35254. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-23language_module_dependency: fix finding opam.Jaime Marquínez Ferrándiz
`opam list <package>` only checks if the package is available Closes #35209. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-12unsigned_kext: use binary and cask options now.Mike McQuaid
2014-11-10MaximumMacOSRequirementDominyk Tiller
Slightly loosens up the wording to make it less narrow and more tolerant of wider usage. Relates to #34041 and #34039. Closes #34042. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-11-07tuntap: recommend upstream signed binary.Dominyk Tiller
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. Closes #33894. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-23Add unsigned kext requirement.Dominyk Tiller
Creates a new requirement that dictates packages are unable to install due to requiring a signed kext to function. Closes #33404. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-06phantomjs: Yosemite fixes.Dominyk Tiller
Closes #32953. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-09-09Add :osxfuse dependency to support binary install.Johnathan Conley
add :osxfuse symbolic dependency add ConflictsWithFuseForOsx requirement for osxfuse/fuse4x/fuse4x-kext Closes #31975. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-03Replace ComparableSet with a Requirements collectionJack Nagel
2014-07-02Add min_version to X11Dependency inspect stringJack Nagel
2014-07-01Fix typoJack Nagel
2014-07-01Use predicate methods instead of inspecting the tags arrayJack Nagel
2014-07-01X11Dependency objects: fix hash equalityJack Nagel
2014-07-01X11Dependency: use Version objectsJack Nagel
2014-05-16fortran_dependency: use gcc instead of gfortran.Mike McQuaid
2014-04-04python_dependency: don't block pour when :build.Mike McQuaid
2014-04-03python_dependency: only pour with system python.Mike McQuaid
This is as Python bindings are not build in a way that can have system or Homebrew Python used interchangeably.
2014-03-23LD64Dependency: super before setting env procMisty De Meo
Otherwise super will overwrite @env_proc with the default value.
2014-03-22LD64Dependency: adjust initializer signatureMisty De Meo
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.
2014-03-18python_dependency: no brewed python for bottlesMike McQuaid
2014-03-14python_dependency: move bottle check into method.Mike McQuaid
2014-03-13python_dependency: always bottle with brew Python.Mike McQuaid
2014-03-12python_dependency: fixes, features, cleanup.Mike McQuaid
- PythonDependency now implies Python 2.7 - PythonDependency now uses brewed Python for bottling - Use double-quotes everywhere Closes #27112.
2014-03-09language_module_dependency: handle nil import_nameMike McQuaid
2014-03-05Remove special X11 proxy depsJack Nagel
2014-02-10python_dependency: only set PYTHONPATH for system.Mike McQuaid
2014-02-09X11Dependency: styleJack Nagel
2014-02-09X11Dependency: return nil instead of raising in #<=>Jack Nagel
Returning nil is in the contract of the Comparable module, and a future version of Ruby will no longer hide this error.
2014-01-30language_module_dependency: don't use build_env.Mike McQuaid
This is so a e.g. brewed Python's modules can be found by superenv. References #26229. Closes #26197.
2014-01-29python_dependency: cleanup and fix build env.Mike McQuaid
* Only set PYTHONPATH for Python 2. * Set the Python binary for superenv. References #24842. Closes #26197. Closes #26216. Closes #26218. Closes #26228.
2014-01-20python_dependency: cleanup, fix satisfy.Mike McQuaid
Closes #26067.
2014-01-20PythonDependency: massive refactoring.Mike McQuaid
Closes #24842.
2014-01-11LanguageModuleDependency: remove code that only worked by accidentJack Nagel
The array elements here are individual arguments to exec, not a string to pass to the shell; this only appeared to work. In reality, `opam list` accepts "|" as valid argument, and the command works fine without grepping the output.
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-11-25safer check for sys.executable in sitecustomize.pyMinRK
make sure it doesn't actually point to something else since sitecustomize.py is put in a location found by pypy, it breaks pypy by setting sys.executable to a path that is definitely wrong, and may not even exist. Closes #24581. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-18Python might not be up-to-date, so use opt_prefixJack Nagel
Fixes #24456.