128 Commits

Author SHA1 Message Date
Greg Nisbet
dcc3377aa3 move shell_profile to compat/utils.rb & deprecate 2016-08-10 23:21:30 -07:00
Mike McQuaid
aadd465712 compat/xcode: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
ade09145d9 compat/version: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
f334806eb1 compat/tap: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
aacdaa554c compat/sha1: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
3d36208328 compat/pathname: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
dd3a8d4b2f compat/md5: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
a2347dc997 compat/macos: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
3a0f23239c compat/language/haskell: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
6bd8e1d64e compat/keg: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
b950966bdd compat/hardware: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
e107c86aec compat/formula_specialities: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
b3e423fc7c compat/formula: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
bf13eb9b59 compat/fails_with_llvm: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
369fc93479 compat/dependency_collector: cleanup style. 2016-07-29 21:21:29 -06:00
Mike McQuaid
80b68add13 compat: add Rubocop file. 2016-07-29 21:21:29 -06:00
Mike McQuaid
3a127e405e development_tools: add installed? method. (#455) 2016-07-06 11:07:24 +01:00
Mike McQuaid
375efe0945 Remove LLVM-GCC support. (#252)
At this point it's never a good compiler to use so let's just remove it.
2016-05-22 09:40:08 +01:00
Mike McQuaid
aae447996c formula: deprecate startup_plist.
Closes #228.
2016-05-13 08:45:37 +01:00
Martin Afanasjew
4059d5fc26 compat/macos: fix methods from 'development_tools'
The previous fixes in c6dc50fcf05c8c4956ac86345360fefcb00f664e and
ed9f7308b265944c27c833b9a2aaa0e911ff5667 were incomplete as they
referenced `DeveloperTools`, but the actual name is `DevelopmentTools`.

Also fixes indentation and a broken `MacOS.clang_version` (it was
falsely redirecting to `DeveloperTools.llvm_build_version` ).

References #219.
References #220.
2016-05-08 23:30:06 +02:00
Mike McQuaid
c6dc50fcf0 compat/macos: add missing require.
Closes #220.
2016-05-08 21:12:22 +01:00
Mike McQuaid
ed9f7308b2 compat/macos: add missing developer_tools methods.
Closes #219.
2016-05-08 19:44:00 +01:00
Mike McQuaid
8d995e961f Make hardware code cross-platform. 2016-05-08 16:51:22 +01:00
Misty De Meo
534d6fd527 Move OS::Mac::Xcode.provides_autotools? to compat
Closes #125.

Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-21 09:36:31 -07:00
Xu Cheng
bd7e8543b3 deprecate SHA1 2016-03-20 14:55:58 +08:00
Xu Cheng
a3023c3ce8 add compat/tap
To keep backward compatibility for API name changing.
2016-03-07 19:43:46 +08:00
Mike McQuaid
c2a928eb51 Add Haskell::Cabal#cabal_clean_lib back to compat.
We shouldn't have removed this DSL method without a compat fallback.

Closes Homebrew/homebrew#48479.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-26 11:49:15 +00:00
Xu Cheng
74c0b1c56b fix prepend not available in Ruby 1.8
Closes Homebrew/homebrew#46071.
Closes Homebrew/homebrew#46069.
2015-11-17 20:49:10 +08:00
Xu Cheng
d108bf0a55 move more deprecated methods to compat folder 2015-11-17 18:52:00 +08:00
Xu Cheng
0c774cff50 hardware: temporary disable rubocop method rename rule
Closes Homebrew/homebrew#42540.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-06 17:23:56 +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
Xu Cheng
744de30089 move deprecated codes into compat
Closes Homebrew/homebrew#41974.
2015-07-21 21:58:10 +08:00
Mike McQuaid
3f9a00dd58 compat/requirements: unduplicate JavaRequirement. 2015-06-16 10:20:16 +01: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
Xu Cheng
c9e45b9c26 stop supporting md5 checksum
This prevents a downgrade attack.

Closes Homebrew/homebrew#38433.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-07 22:48:55 +08:00
Xu Cheng
c8835afead move formula_specialties to compat
Closes Homebrew/homebrew#37365.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-04 23:20:13 +08:00
Jack Nagel
95aef55110 Simplify cxxstdlib_check implementation
The cxxstdlib_check method currently only supports one value, so we can
just define the accompanying instance method when necessary. If we ever
add more options we can back it with a data structure.
2014-08-16 02:16:05 -05:00
Jack Nagel
e6498f4dfc Remove the universal accessor from BuildOptions
BuildOptions is now immutable (finally).
2014-08-16 01:39:33 -05:00
Jack Nagel
61e633426a Remove obsolete constant
Formula that use this do not load anymore.
2014-06-22 19:33:21 -05:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Jack Nagel
3b3c03159a Remove compat/brewkit
Formulae from the "brewkit" era are no longer compatible with the
Formula class.

This file was (unintentionally) removed from the $LOAD_PATH quite
a while ago, and nobody has complained, so remove it.
2014-06-16 13:58:54 -05:00
Jack Nagel
86942aeaee Remove an internal method from compat 2014-06-16 13:53:30 -05:00
Mike McQuaid
249aae177f formula: move cxxstdlib methods to the class.
This allows disabling this checks when e.g. pouring bottles.
2014-04-23 08:10:48 +01:00
Jack Nagel
403fdc7523 Implement fails_with_llvm compat method in terms of fails_with 2014-02-24 23:26:11 -05:00
Jack Nagel
f01a38772a Fix md5 compat layer
Fixes Homebrew/homebrew#23653.
2013-10-27 12:43:14 -05:00
Jack Nagel
df824a22a7 Avoid comparing MacOS.version to floats 2013-10-22 20:47:37 -05:00
Jack Nagel
805472946b Rename MacOS to OS::Mac 2013-10-18 12:56:51 -05:00
Jack Nagel
df537528c7 Reimplement SoftwareSpec on top of Resource 2013-09-17 21:29:52 -05:00
Jack Nagel
dd9c269c69 Rename HomebrewEnvExtension to Stdenv 2013-08-19 12:32:59 -05:00
Jack Nagel
3be67f7252 Reorganize compat 2013-05-10 23:27:28 -05:00