15827 Commits

Author SHA1 Message Date
Mike McQuaid
36dadbee47 caveats: remove python caveats.
These instructions are currently incorrect and need to be ported to
`python` 3.x and `python@2` formulae. Until then it's better to not have
them than have them be incorrect.

Closes #3890.
2018-03-08 08:34:20 +00:00
Mike McQuaid
8860402f8f
utils: only try and replace tap or replaced methods. 2018-03-08 08:22:47 +00:00
Mike McQuaid
53a71a79b3
Merge pull request #3875 from MikeMcQuaid/test-deps
Allow :test dependencies.
2018-03-08 08:19:15 +00:00
Mike McQuaid
2ff732d25b
Merge pull request #3893 from ilovezfs/keg-no-remove-opt-links-of-other-formulae
keg: don't delete main opt links of other formulae.
2018-03-08 08:18:57 +00:00
Mike McQuaid
8e928992f5
keg: tweak delete_pyc_files! 2018-03-08 08:17:57 +00:00
ilovezfs
f87a589129 keg: don't delete main opt links of other formulae.
If an old alias, according to the tab, of a formula being upgraded (e.g.
python) has the same name as the main opt link of some other formula
(e.g. python@2), don't remove the main opt link of that other formula.

Specifically,

  brew install python@2
  brew upgrade python

should not accidentally delete /usr/local/opt/python@2 even though
python@2 used to be an alias of python.
2018-03-07 22:35:23 -08:00
Chongyu Zhu
3db033ca89
keg: delete_pyc_files! should also remove __pycache__ 2018-03-08 13:02:03 +08:00
Mike McQuaid
eee6e98d90
Merge pull request #3840 from aw1621107/prefer-xcode-libcxx
Add macOS libs ahead of brewed llvm libs in lib search path
2018-03-07 16:03:26 +00:00
Mike McQuaid
78ab2a9cb2
Merge pull request #3889 from MikeMcQuaid/travis-no-filtering
brew: pass through `TRAVIS_` variables.
2018-03-07 16:02:03 +00:00
Mike McQuaid
1f46c8edb5 brew: pass through TRAVIS_ variables. 2018-03-07 15:09:08 +00:00
Mike McQuaid
740e89d2f3
super: tweak LLVM refactoring. 2018-03-07 15:00:08 +00:00
commitay
8ac3f23b27 java_requirement comment 2018-03-07 19:55:23 +10:00
commitay
032efdebda java_requirement 2018-03-07 08:20:24 +10:00
commitay
7603d05d05 cask dsl caveats 2018-03-07 08:20:05 +10:00
AndrewMcBurney
2c7ae2544b Updated documentation for cache_store. 2018-03-06 13:39:34 -05:00
AndrewMcBurney
8bd38d08cb Move linkage_cache_store.rb to ~/Library/Homebrew. 2018-03-06 12:07:57 -05:00
AndrewMcBurney
831fcfa5dd Merge remote-tracking branch 'origin/master' into cache-optimization 2018-03-06 11:46:23 -05:00
AndrewMcBurney
c5a6724c5c WIP 2018-03-06 11:42:45 -05:00
Vítor Galvão
6c203f9372
Merge pull request #3865 from commitay/systemcommand
Fix SystemCommand escaping
2018-03-06 09:34:56 +00:00
Mike McQuaid
7cb6ebf3fb
super: refactor LLVM path addition. 2018-03-06 08:44:47 +00:00
Mike McQuaid
067b9c9e88
Merge pull request #3833 from GauthamGoli/depends_on_order_master
rubocop: Add cop to check `depends_on` order and tests
2018-03-06 08:35:10 +00:00
Mike McQuaid
ba4ac75543
Merge pull request #3836 from alyssais/info_sort
info: sort HEAD keys by install date
2018-03-06 08:35:00 +00:00
Mike McQuaid
dedda60bdd
Merge pull request #3879 from sjackman/unzip_dep_if_needed
unzip_dep_if_needed: Needs unzip not zip [Linux] (#632)
2018-03-06 08:34:48 +00:00
Mike McQuaid
0a8244f187
Merge pull request #3881 from ndryden/patch-1
Generalize Xcode version regex
2018-03-06 08:24:43 +00:00
Nikoli Dryden
11817fe1f7
Generalize the regex determining the Xcode version.
The current regex only matches a single digit for each component of the version (e.g. 9.2). This modifies it to match multiple digits in each component, so that e.g. 10.42 will be matched.
2018-03-05 19:44:11 -06:00
Mike McQuaid
1ca2ee6104
Merge pull request #3878 from sjackman/check_undeclared_deps
check_undeclared_deps: Fix for taps
2018-03-05 20:04:32 +00:00
Shaun Jackman
5500c3b25e unzip_dep_if_needed: Needs unzip not zip [Linux] (#632) 2018-03-05 11:51:08 -08:00
Shaun Jackman
4af8950f8b check_undeclared_deps: Fix for taps
undeclared_deps reported all dependencies in taps as undeclared.
2018-03-05 09:51:27 -08:00
Mike McQuaid
02682d3bc9
Merge pull request #3877 from lboogaard/patch-1
Update Homebrew-and-Python to describe install
2018-03-05 15:54:09 +00:00
lboogaard
7764798453
Update Homebrew-and-Python.md 2018-03-05 16:51:51 +01:00
lboogaard
e08695028c
Update Homebrew-and-Python.md 2018-03-05 16:47:17 +01:00
lboogaard
4f1a3ee8dc
Update Homebrew-and-Python to describe install
I believe the Homebrew-and-Python page could use a description on how to exactly install Python 2.X and 3.X with Homebrew. 

The syntax is written to my best knowledge (but likely wrong), please update this so that it is correct. Finding out the correct syntax is what actually motivated me to update this page in the first place. I'm hoping that this will clarify to the community (or at least me) on how to exactly install Python 2.X and 3.X with Homebrew.

Keep up the amazing work!
2018-03-05 13:31:13 +01:00
Mike McQuaid
fea9bc1e42 Allow :test dependencies.
These specify that they are needed by the test block. This can be
combined with `:build` to ensure that this formula isn't uninstalled
by `brew test-bot` when running `test do` blocks on our CI.
2018-03-05 10:36:39 +00:00
Mike McQuaid
3184d087b9
Merge pull request #3867 from MikeMcQuaid/migrator-messaging-tweaks
migrator: tweak more messaging.
2018-03-05 10:26:37 +00:00
Mike McQuaid
1a51d7fb44 migrator: tweak more messaging.
- Make it clearer what the migrator is doing and why
- Recommend an unconditional brew upgrade
2018-03-05 10:14:39 +00:00
Mike McQuaid
e362aae422
Merge pull request #3874 from teddywing/cmd-upgrade--change-build_bottle-method-call-to-bottle
cmd/upgrade: Change `build.build_bottle?` to `build.bottle?`
2018-03-04 13:51:01 +00:00
Teddy Wing
ee004cb9c7 cmd/upgrade: Change build.build_bottle? to build.bottle?
I received the following error when attempting to use the `upgrade`
command on a tap:

    $ brew tap teddywing/passextract https://github.com/teddywing/Passextract.git
    $ brew upgrade --verbose teddywing/passextract/passextract
    Updating Homebrew...

    ==> Upgrading 1 outdated package, with result:
    teddywing/passextract/passextract 0.4.0
    Error: Calling build.build_bottle? is disabled!
    Use build.bottle? instead.
    /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:121:in `upgrade_formula'
    Or, even better, submit a PR to fix it!

Change the method call to use the (presumably) newer version.
2018-03-04 12:38:33 +01:00
Mike McQuaid
bc3389bdae
Merge pull request #3863 from MikeMcQuaid/python3-changes
Adjust docs and more internal code for Python 3.
2018-03-03 18:17:04 +00:00
Mike McQuaid
5e3003688f
Merge pull request #3868 from MikeMcQuaid/update-gems
Gemfile.lock: update testing gems.
2018-03-03 18:16:44 +00:00
Mike McQuaid
83fae62b4f Gemfile.lock: update testing gems. 2018-03-03 10:22:37 +00:00
Mike McQuaid
8d6aa70f9c
Merge pull request #3861 from scpeters/patch-3
language/python: version 3.6 in site_packages
2018-03-03 09:43:41 +00:00
Mike McQuaid
70253f0009 Adjust docs and more internal code for Python 3.
Now we have `python` for Python 3 and `python@2` for Python 2 some more
adjustments need to be made.
2018-03-03 09:42:25 +00:00
ilovezfs
08f7e8c588
Merge pull request #3864 from MikeMcQuaid/migrator-upgrade
migrator: recommend upgrade.
1.5.8
2018-03-02 21:18:22 -08:00
commitay
2404279d63 Fix SystemCommand escaping 2018-03-03 14:45:12 +10:00
Mike McQuaid
2f776ed523 migrator: recommend brew upgrade.
You’re in a weird middle state if you run `brew update` but haven’t
upgraded a migrated formula.
2018-03-02 21:23:07 +00:00
Mike McQuaid
84d718cbef
Merge pull request #3860 from MikeMcQuaid/remove-acceptable-bindings
docs/Acceptable-Formulae: remove bindings mention.
1.5.7
2018-03-02 18:07:32 +00:00
ilovezfs
0ebb5b2857
Merge pull request #3862 from MikeMcQuaid/migrator-overwrite
migrator: overwrite by default.
2018-03-02 09:53:02 -08:00
Mike McQuaid
b4c268e3c5 migrator: overwrite by default.
This avoids getting into an invalid state which will and does break
for users.
2018-03-02 17:21:17 +00:00
Steven Peters
0d5ae6cf0b
language/python: version 3.6 in site_packages 2018-03-02 09:05:41 -08:00
Mike McQuaid
84363f8a3a docs/Acceptable-Formulae: remove bindings mention.
We do accept these e.g. `boost-python`.
2018-03-02 16:21:29 +00:00