Misty De Meo
2f7721f1b4
Add :expat special dependency
...
This will be expanded to a full expat dependency on Tiger alone.
Fixes mistydemeo/tigerbrew#30 .
2016-04-22 22:37:21 -07:00
Dominyk Tiller
c9097b40f9
dependency_collector: add rbenv
...
Closes Homebrew/homebrew#47897 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-09 15:53:05 +00:00
Misty De Meo
c6f45a9e06
DependencyCollector: add lua51 language module
2016-01-01 20:10:34 -04:00
Misty De Meo
575b75fced
LanguageModuleRequirement: remove jruby support
2016-01-01 20:10:34 -04:00
Misty De Meo
aa1461b7d6
LanguageModuleRequirement: remove ocaml support
2016-01-01 20:10:34 -04:00
Misty De Meo
36cef3c974
LanguageModuleRequirement: remove node support
2016-01-01 20:10:34 -04:00
Misty De Meo
1ad2aeef86
LanguageModuleRequirement: remove chicken support
2016-01-01 20:10:34 -04:00
Misty De Meo
d4db443b19
LanguageModuleRequirement: remove rbx support
...
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.
2016-01-01 20:10:34 -04:00
Misty De Meo
00c51a2480
DependencyCollector: infer dep for .lzh archives
...
Refs Homebrew/homebrew-games#383 .
2015-12-31 19:48:07 -04:00
Xu Cheng
d108bf0a55
move more deprecated methods to compat folder
2015-11-17 18:52:00 +08:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Jack Nagel
7c83e3ffe3
Remove workarounds for destructuring single-element hashes
2015-06-19 22:30:13 -04:00
Mike McQuaid
1e86730289
Rename requirements named *Dependency.
...
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-06-16 08:12:01 +01:00
Alex Dunn
dba9675ed3
add EmacsRequirement
...
Closes Homebrew/homebrew#39326 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-08 14:37:15 +08:00
Mike McQuaid
305ced5360
Add RubyRequirement.
2015-04-21 09:33:41 +01:00
Tim D. Smith
ac16822a16
Prioritize TapDependency in parse_string_spec
...
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-04-09 00:42:51 -07:00
Tanachat Nilanon
e97fac1dd6
add :python3 to LANGUAGE_MODULES
...
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-03-19 23:04:35 -07:00
Xu Cheng
011b47aeff
Add depends_on :gpg
2015-01-22 17:15:28 +01:00
Jack Nagel
8f51541d41
Try to match unused symbol deps last
2014-12-05 01:38:14 -05:00
Dominyk Tiller
97eac8853e
tuntap: recommend upstream signed binary.
...
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 Homebrew/homebrew#33894 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-07 09:12:29 +00:00
Jack Nagel
6eabbed464
Add depend_on :apr
2014-11-05 20:34:02 -06:00
Johnathan Conley
0d154a991d
Add :osxfuse dependency to support binary install.
...
add :osxfuse symbolic dependency
add ConflictsWithFuseForOsx requirement for osxfuse/fuse4x/fuse4x-kext
Closes Homebrew/homebrew#31975 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-09-09 10:17:03 +01:00
Mike McQuaid
31a444ef16
dependency_collector: add :java symbol
2014-07-21 19:14:15 +01:00
Jack Nagel
618b894c3e
Replace ComparableSet with a Requirements collection
2014-07-03 14:50:57 -05:00
Jack Nagel
4cbae37d62
Don't expose the dependency cache data structure
2014-07-02 15:15:59 -05:00
Jack Nagel
fbefa76ce2
Always use class.name to build inspect strings
2014-07-01 18:39:15 -05:00
Jack Nagel
355361fa3f
Remove build flag from ant dep
2014-05-30 15:33:57 -05:00
Jack Nagel
1e638331ad
Try to match unused symbol deps last
2014-05-23 13:13:31 -05:00
Jack Nagel
10bd849bd3
Remove CLTDependency
...
Closes Homebrew/homebrew#29379 .
2014-05-19 10:37:45 -05:00
Jack Nagel
d22ad92a84
Remove special behavior of autotools symbol deps
...
Closes Homebrew/homebrew#28094 .
2014-04-03 09:12:25 -05:00
Jack Nagel
bb5e0812fb
Add fast path for CVS dep
...
The search mechanism in MacOS::Xcode is very slow. It requires shelling
out at least twice, and possibly a third time (in the CLT-only case).
Calling provides_cvs? activates this in order to determine the Xcode
version. But if we know that there isn't an Xcode available for the
current OS that meets the criteria, we can avoid this check entirely.
2014-04-02 19:58:15 -05:00
Mike McQuaid
c34ed98eaf
dependency_collector: use ArgumentError exception.
...
Avoids errors with `brew versions` when bottling.
References Homebrew/homebrew#27615 .
2014-03-22 10:31:00 +00:00
Mike McQuaid
b14ff8d163
dependency_collector: pass second tag as import.
...
Closes Homebrew/homebrew#27346 .
2014-03-09 17:25:26 +00:00
Jack Nagel
8bfcdf0bd8
Remove special X11 proxy deps
2014-03-05 20:45:44 -06:00
Jack Nagel
c6bc01ab58
Add TapDependency
2014-02-28 11:16:55 -06:00
Jack Nagel
74eb25df81
Cache and reuse Dependency objects
2014-02-27 14:22:43 -06:00
Mike McQuaid
28143fb653
PythonDependency: massive refactoring.
...
Closes Homebrew/homebrew#24842 .
2014-01-20 15:42:52 -08:00
Jack Nagel
36d3a2dfa8
Homebrew CVS is required for Xcode 5+
2013-12-04 01:19:17 -06:00
Adam Vandenberg
268feffae4
support .lz archives
...
Closes Homebrew/homebrew#24775 .
2013-11-29 15:18:49 -08:00
Jack Nagel
1f190890fd
Implement inferred CVS dependency
...
Fixes Homebrew/homebrew#24444 .
Closes Homebrew/homebrew#24445 .
Closes Homebrew/homebrew#24458 .
2013-11-18 19:56:15 -06:00
Jack Nagel
6c3ee52d14
Remove special cases in build-time dep audit
...
Closes Homebrew/homebrew#23931 .
2013-11-04 12:10:26 -06:00
Jack Nagel
076df32be3
Add ant dependency
...
Closes Homebrew/homebrew#23484 .
Closes Homebrew/homebrew#23494 .
Closes Homebrew/homebrew#23681 .
2013-10-28 14:44:20 -05:00
Jack Nagel
3df31557c8
Avoid the need to defensively flatten tags array
2013-10-15 13:26:23 -05:00
Jack Nagel
c5289f2503
Infer dependencies from download strategies and URLs
...
Closes Homebrew/homebrew#20849 .
Closes Homebrew/homebrew#22871 .
2013-09-28 16:37:05 -05:00
Mike McQuaid
315c7a1212
Rename PythonInstalled to PythonDependency.
...
Make it more consistent with other requirements.
2013-09-14 12:21:49 +01:00
Jack Nagel
f2ebc0e325
Stop mutating dependency specifications
2013-09-13 09:57:53 -05:00
Samuel John
fb7f16fc94
Allow specifying version in depends_on :python
...
Note, in the explict form:
PythonInstalled.new('2.7') => :recommended
the tag :recommended is ignored (not a limitation
of PythonInstalled itself). One solution was to write
PythonInstalled.new('2.7', [:recommended])
but that is not as beautiful as we like it.
Therefore, now it is possible to:
depends_on :python => ['2.7', :recommended]
Only the first tag is attempted to be parsed as
a version specifyer "x" or "x.y" or "x.y.z"...
2013-07-16 11:04:57 +02:00
Jack Nagel
919aac0b89
Add syntax sugar for MPIDependency
...
Closes Homebrew/homebrew#20797 .
2013-06-26 22:18:13 -05:00
Jack Nagel
249a3f1465
Print inspected values in dependency collector errors
2013-06-26 15:25:09 -05:00
Jack Nagel
3abd9455a3
Rename Fortran requirement to fix option generation
...
So, `depends_on :fortran => :optional` will generate "--with-fortran"
rather than "--with-fortranRequired".
2013-06-25 21:12:15 -05:00