Jack Nagel
3df31557c8
Avoid the need to defensively flatten tags array
2013-10-15 13:26:23 -05:00
Jack Nagel
31e0bf61fa
Pathname: removed unused method alias
2013-10-14 22:05:30 -05:00
Jack Nagel
5ae32d5a79
Remove pointless assertion
2013-10-14 21:46:52 -05:00
Jack Nagel
d87f1fb5ec
Assert on state, not something that didn't happen
2013-10-14 21:46:21 -05:00
Misty De Meo
cb18dedce4
superenv: add gcc-4.0 to superenv
2013-10-13 19:00:33 -07:00
Jack Nagel
bf93748c6a
CurlDownloadStrategy: no need to to_s, name should never be nil
2013-10-12 20:19:21 -05:00
Mike McQuaid
cf2a8913c5
git_etc: create etc if it doesn't exist.
2013-10-12 10:54:16 +01:00
Jack Nagel
167017f89a
Resource: do not mutate passed-in specs hash
2013-10-11 20:21:41 -05:00
Jack Nagel
40c0ed8a9a
SubversionDownloadStrategy: don't mutate URL string
2013-10-11 19:26:14 -05:00
Jack Nagel
284a3716ea
CurlDownloadStrategy: dup mirror list before mutating it
2013-10-11 19:14:52 -05:00
Mike McQuaid
28a20b70fc
icu4c: add bottle regex.
2013-10-11 08:40:19 +01:00
Jack Nagel
3f0a409ec5
GitDownloadStrategy: remove redundant use of nostdout
2013-10-11 00:21:25 -05:00
Jack Nagel
9705e922e3
GitDownloadStrategy: remove redundant use of :quiet_flag
2013-10-11 00:21:25 -05:00
Jack Nagel
90b1102f1a
GitDownloadStrategy: @@git is always a string, so inline it
2013-10-11 00:21:24 -05:00
Jack Nagel
069d5d2dce
SubversionDownloadStrategy: @@svn is always a string, so inline it
2013-10-11 00:21:24 -05:00
Jack Nagel
932091f9e0
VCSDownloadStrategy: pull construction of @clone into superclass
2013-10-11 00:21:23 -05:00
Jack Nagel
ed7f8faed2
VCSDownloadStrategy: rename checkout_name to cache_filename
2013-10-11 00:21:23 -05:00
Jack Nagel
dd719e7ca6
Move cached_location up to VCSDownloadStrategy
2013-10-10 11:24:36 -05:00
Jack Nagel
1626282c45
download_strategy: rename @co to @clone for uniformity
2013-10-10 11:24:35 -05:00
Misty De Meo
4a9cf0dd14
CxxStdlib: use f.recursive_dependencies in stdlib check
2013-10-10 09:09:53 -07:00
Misty De Meo
9c84b3799a
formula_installer: pass effective_deps to CxxStdlib
2013-10-10 08:51:38 -07:00
Misty De Meo
c24aca4c58
CxxStdlib: don't check buildtime deps
...
Otherwise it's possible that certain buildtime dependencies, that won't
be linked against, will block a build.
See Homebrew/homebrew#23115 .
2013-10-10 08:51:38 -07:00
Mike McQuaid
a6e2245732
git_etc: update based on bottle etc/var changes.
2013-10-10 16:46:47 +01:00
Mike McQuaid
a9764503b2
formula_installer: handle etc/var in bottles.
...
Copy these files/folders to a .bottle directory under the Cellar for installation
elsewhere at pouring time.
Temporarily disable HOMEBREW_GIT_ETC methods until fixed.
2013-10-10 16:46:47 +01:00
Mike McQuaid
af4247429b
formula: add bottle_prefix method.
2013-10-10 16:46:47 +01:00
Mike McQuaid
19852bc47c
Pathname: add cp_path_sub method.
...
This method allows copying a file to a new location by performing a
substitution on the pathname.
2013-10-10 16:46:47 +01:00
Mike McQuaid
caa2f87728
InstallRenamed: don't overwrite etc files; rename.
...
If an etc file exists on installation instead of overwriting it (or
requiring all the manual checks in formula) simply copy it with the
extension `.default` appended.
2013-10-10 16:46:47 +01:00
Jack Nagel
05a2261877
MercurialDownloadStrategy: avoid creating Formula object just for opt_prefix
2013-10-10 10:31:08 -05:00
Jack Nagel
4a2fc89c46
S3DownloadStrategy: use temporary_path accessor
2013-10-09 21:55:58 -05:00
Jack Nagel
bf1d04f039
Move checkout_name from AbstractDownloadStrategy to VCSDownloadStrategy
2013-10-09 21:41:15 -05:00
Jack Nagel
3cda215881
VCSDownloadStrategy: destructure spec hash more efficiently
2013-10-09 21:41:15 -05:00
Jack Nagel
6c5a9ae0fb
Extract a new superclass for VCS-based download strategies
2013-10-09 21:41:15 -05:00
Jack Nagel
e27574b27b
SubversionDownloadStrategy: stop mutating revisions hash
2013-10-09 21:41:14 -05:00
Jack Nagel
3d7de0065b
download_strategy: style nits
2013-10-09 21:41:14 -05:00
Jack Nagel
c790a4f45e
download_strategy: rename @spec to @ref_type
2013-10-09 21:41:14 -05:00
Jack Nagel
9bd507b7be
Remove unused variable
2013-10-08 23:58:48 -05:00
Jack Nagel
051061827c
Remove outdated comment
2013-10-08 23:47:35 -05:00
Jack Nagel
424187fc15
Prefer interpolation to concatenation
2013-10-08 23:44:23 -05:00
Jack Nagel
b2516f9989
doctor: avoid using MACOS_VERSION
2013-10-08 23:32:22 -05:00
Misty De Meo
a5f68bb874
detect_cxx_stdlibs: Only detect for dylibs
...
Fixes Homebrew/homebrew#23115 .
2013-10-08 09:04:21 -07:00
Mike McQuaid
8ec2d4594e
BuildOptions: detect if building a bottle.
2013-10-08 10:13:03 +01:00
Jack Nagel
fe31e8ddb4
Use MacOS.locate to find otool
...
Fixes Homebrew/homebrew#23111 .
2013-10-07 21:32:18 -05:00
Xiyue Deng
022f1225e6
Fix test failure for C++ stdlib.
2013-10-07 03:40:41 -07:00
Misty De Meo
15963322fd
Tab#cxxstdlib: don't try to convert nil to_sym
2013-10-07 00:25:26 -07:00
Misty De Meo
d5ac2deefb
Tab#cxxstdlib: remove default stdlib
...
Fixes Homebrew/homebrew#23089 .
2013-10-07 00:15:03 -07:00
Misty De Meo
8e7fcaab1e
formula_installer: change default bottle CxxStdlib
2013-10-07 00:02:46 -07:00
Misty De Meo
61ca8721fb
Tab.dummy_tab: don't provide default stdlib value
2013-10-07 00:00:43 -07:00
Misty De Meo
80c77e6113
build: fix typo
2013-10-06 19:34:39 -07:00
Misty De Meo
8427e71368
Track the OS's default C++ stdlib
2013-10-06 19:26:06 -07:00
Misty De Meo
87b0137198
CxxStdlib: allow for nil stdlibs
...
A nil stdlib value represents non-C++ code.
2013-10-06 19:26:06 -07:00