20420 Commits

Author SHA1 Message Date
Mike McQuaid
e12da9491d
Merge pull request #7285 from MikeMcQuaid/env_consolidation
Homebrew::EnvConfig: unify environment variables.
2020-04-07 10:35:36 +01:00
Mike McQuaid
6cfd8065fc
Remove old pkgconfig files.
Homebrew no longer runs on these macOS versions.
2020-04-07 10:17:50 +01:00
Bo Anderson
56dc568fef os/mac/pkgconfig: supply default homebrew_sdkroot 2020-04-07 10:14:38 +01:00
Mike McQuaid
33816131a8
Homebrew::EnvConfig: add tests. 2020-04-07 10:00:32 +01:00
Mike McQuaid
ad75e40ce7
man: generate from Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Mike McQuaid
fb0052068f
env_config: unify environment variables.
cli/parser but for environment variables. This makes it easier to set,
check, document and set defaults for environment variables in a single
location that can be used for query and documentation generation.
2020-04-07 09:42:18 +01:00
Mike McQuaid
fca9b4aeb2
Merge pull request #7286 from vladimyr/cask-mdimport
Add `mdimporter` stanza to homebrew cask DSL
2020-04-06 19:24:23 +01:00
Dario Vladovic
d12784533b
Update options spec 2020-04-06 15:24:15 +02:00
Dario Vladovic
3a21ca8956
Implement mdimporter cask stanza 2020-04-06 15:24:14 +02:00
Issy Long
857393ccfb
Audit correct uses_from_macos usage with RuboCop
- This builds on @jonchang's work that started in #6265.
- We now use `uses_from_macos` to declare dependencies that are implicit
  on macOS because they ship with macOS, but they're needed on Linux. We
  have to be sure that the dependencies people specify as
  `uses_from_macos` are actually shipped with macOS. So, we maintain a
  safelist of those dependencies and check against it.
- Also add more legitimate `uses_from_macos` dependencies to the list.
- This is runnable with `brew audit --only-cops=FormulaAudit/UsesFromMacos`.
- It produces different number of failures on macOS vs. Linux, because
  apparently we've not synced Homebrew/linuxbrew-core upstream thoroughly
  enough yet.
- Originally this was designed as a `--strict` audit, but we flipped it
  to be a normal audit because - to quote Mike - this is "sufficiently
  robust" now.
2020-04-06 13:42:27 +01:00
Dawid Dziurla
842d92a6c5
Merge pull request #7293 from dawidd6/unlink-lock-file
download_strategy: unlink the lock file after unlocking it
2020-04-06 10:29:25 +02:00
Dawid Dziurla
37dcbbaf65
download_strategy: unlink the lock file after unlocking it 2020-04-06 09:56:56 +02:00
Bo Anderson
8fe74f9b67
Merge pull request #7291 from Bo98/pkg-config-10.13
shims/mac/super/pkg-config: fix macOS <=10.13 compatibility
2020-04-05 22:43:55 +01:00
Bo Anderson
692b3e5a7b shims/mac/super/pkg-config: fix macOS <=10.13 compatibility
Fixes #7290.
2020-04-05 22:11:31 +01:00
Gautham Goli
64fd839c95
Merge pull request #7289 from Homebrew/revert-7279-argv-cleanup-18
Revert "ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?"
2020-04-05 23:19:21 +05:30
Gautham Goli
ad7e1d48a5
Revert "ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?" 2020-04-05 23:01:57 +05:30
Mike McQuaid
6f50801b37
Merge pull request #7287 from rwhogg/system_command_spec-more-specific-error-message
system_command_spec: Make part of bash error regex optional
2020-04-05 16:39:44 +01:00
Mike McQuaid
2573bf0461
Merge pull request #7288 from Moisan/pr_pull_zsh_completions
completions/zsh: add 'pr-pull' options
2020-04-05 16:39:14 +01:00
Mike McQuaid
e2cfc2b50f
Merge pull request #7278 from Bo98/libxml2-10.15.4
ENV: don't help include libxml2 on macOS SDK 10.15.4 and later
2020-04-05 16:28:58 +01:00
Mike McQuaid
e1c7d9971f
Merge pull request #7282 from GauthamGoli/argv-cleanup-20
Initialize Homebrew.args with CLI::Args instance
2020-04-05 16:28:36 +01:00
Mike McQuaid
91d506bd01
Merge pull request #7284 from Bo98/gems-path
utils/gems: prioritise Homebrew's chosen Ruby
2020-04-05 16:27:58 +01:00
Thierry Moisan
0a95b18044
completions/zsh: add 'pr-pull' options 2020-04-05 11:20:24 -04:00
Bob Wombat Hogg
1a32ba3d2b system_command_spec: Make part of bash error regex optional 2020-04-05 11:05:30 -04:00
Gautham G
96e1d7e1b2 Initialize Homebrew.args with CLI::Args instance
If we initialize it with OpenStruct, then methods defined in CLI::Args
cannot be called and they would always return nil leading to bugs
2020-04-05 20:12:13 +05:30
Bo Anderson
846166c62f utils/gems: prioritise Homebrew's chosen Ruby 2020-04-05 15:38:10 +01:00
Bo Anderson
aac3337c64
Merge pull request #7277 from Bo98/sdkroot-pkgconfig
shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
2020-04-05 15:35:54 +01:00
Bo Anderson
32497bd511 ENV: don't help include libxml2 on macOS SDK 10.15.4 and later 2020-04-05 15:30:39 +01:00
Mike McQuaid
b9fc765e56
Merge pull request #7276 from Bo98/std-pkgconfig
ENV/std: withdraw support for Homebrew supplied *.pc files
2020-04-05 13:10:25 +01:00
Mike McQuaid
aea4c8a745
Merge pull request #7279 from GauthamGoli/argv-cleanup-18
ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?
2020-04-05 13:06:45 +01:00
Gautham G
602cb7e636 ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source? 2020-04-05 16:47:47 +05:30
Bo Anderson
9294bee866 shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
Fixes #5068.
2020-04-04 23:44:29 +01:00
Bo Anderson
fa35916818 ENV/std: withdraw support for Homebrew supplied *.pc files 2020-04-04 15:21:35 +01:00
Mike McQuaid
28a1497c2b
Merge pull request #7271 from Homebrew/dependabot/bundler/Library/Homebrew/parser-2.7.1.0
build: bump parser from 2.7.0.5 to 2.7.1.0 in /Library/Homebrew
2020-04-04 13:33:07 +01:00
Bo Anderson
24adf6af47
Merge pull request #7273 from jonchang/python-cellar-build-deps
formula_cellar_checks: skip unless Python libs
2020-04-04 11:21:56 +01:00
Jonathan Chang
2c85f26b0b formula_cellar_checks: skip unless Python libs
This avoids an unusual error message when Python is needed for building
(e.g., code generation) but is not used at runtime.

```
==> brew audit recode --online
Error: 1 problem in 1 formula detected
recode:
  * Packages have been installed for:

    but this formula depends on:
      Python 3.7
```
2020-04-04 15:54:42 +11:00
dependabot-preview[bot]
dfb14bca54
build: bump parser from 2.7.0.5 to 2.7.1.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.7.0.5 to 2.7.1.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.7.0.5...v2.7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 20:33:34 +00:00
Mike McQuaid
0859115a24
Merge pull request #7270 from Bo98/xcode
ENV/super: prioritise Xcode if Xcode is a build req
2020-04-03 16:27:50 +01:00
Bo Anderson
cb6128fc7c ENV/super: prioritise Xcode if Xcode is a build req 2020-04-03 15:49:04 +01:00
Mike McQuaid
e94fff8943
Merge pull request #7269 from MikeMcQuaid/rubocop-enable
rubocop.yml: enable non-default checks.
2020-04-03 15:43:40 +01:00
Mike McQuaid
93e323ff5d
Merge pull request #7265 from MikeMcQuaid/git-quiet-again
update: make git rebase quiet on Mojave system Git.
2020-04-03 14:58:18 +01:00
Mike McQuaid
845c71270e
rubocop.yml: enable non-default checks.
Closes https://github.com/Homebrew/brew/pull/7258
2020-04-03 14:54:50 +01:00
Mike McQuaid
72f7ef3d02
Merge pull request #7268 from MikeMcQuaid/cspice-not-binary-url
rubocops/urls: whitelist cspice.
2020-04-03 14:32:48 +01:00
Mike McQuaid
37a79498a0
rubocops/urls: whitelist cspice.
As explained in https://github.com/Homebrew/brew/pull/7256#issuecomment-607787949
2020-04-03 13:53:03 +01:00
Mike McQuaid
ddaf467741
rubocops/urls: reorder for quicker scanning. 2020-04-03 13:52:44 +01:00
Bo Anderson
4f85398dea
Merge pull request #7266 from Bo98/xcrun
shims/mac/super/xcrun: set DEVELOPER_DIR less often
2020-04-03 10:43:14 +01:00
Mike McQuaid
69fbfaa1ae
Merge pull request #7261 from Bo98/python-linkage
formula_cellar_checks: check Python site packages
2020-04-03 10:10:30 +01:00
Mike McQuaid
6b35af09f5
Merge pull request #7263 from Homebrew/dependabot/bundler/Library/Homebrew/tzinfo-1.2.7
build: bump tzinfo from 1.2.6 to 1.2.7 in /Library/Homebrew
2020-04-03 10:10:12 +01:00
Bo Anderson
1a277de494 shims/mac/super/xcrun: set DEVELOPER_DIR less often 2020-04-03 09:47:24 +01:00
Bo Anderson
a298d7d8fe formula_cellar_checks: check Python site packages 2020-04-03 09:32:01 +01:00