26835 Commits

Author SHA1 Message Date
Carlo Cabrera
0780d06015
keg: create subdirectories of lib/lua instead of symlinks
Some formulae (e.g. `luv`) have a `lib/lua/5.1` subdirectory inside
their keg. Before this change, the `5.1` subdirectory is symlinked into
`HOMEBREW_PREFIX`.

This can result in `luarocks` installing things into a formula's keg,
which we don't want.

Let's fix that by making sure that `brew link` creates these
subdirectories instead of symlinking them. We already do this for
subdirectories of `share/lua`:

8dd96ae8ba/Library/Homebrew/keg.rb (L430)
2022-07-11 10:10:38 +08:00
Max Eisner
1dcfeb5516
fix style 2022-07-10 15:45:07 +02:00
Max Eisner
3483ee72d5
add DSL to generate completions 2022-07-10 15:35:28 +02:00
Carlo Cabrera
a01715f0ee
resource: support relative paths as targets of #stage
`#stage` takes an optional `target` argument, which specifies the
location in which to unpack the `resource`.

Passing relative paths to `#stage`, as in

    resource("foo").stage "bar"

does not work, because this calls `Pathname("bar").install` inside the
temporary directory that the contents of the resource are unpacked to.
This means that passing a relative path to `#stage` has the unintended
effect of moving files around inside a temporary directory the formula
has no access to.

Let's fix that by keeping track of the original working directory before
`#stage` was called and prepending this to `target` whenever `target` is
a relative path.
2022-07-10 01:27:21 +08:00
Carlo Cabrera
c9af8a632d
language/python: add --install-lib to setup_install_args
About 25 formula in homebrew/core pass `--install-lib` to `python3` in
addition to `*setup_install_args` in order to ensure that all files are
installed into the formula's prefix rather than into a `site-packages`
directory in Python's keg.

Let's simplify these formulae by also adding the appropriate
`--install-lib` flag to `setup_install_args`.
2022-07-09 22:22:10 +08:00
BrewTestBot
df02f17c1c
brew vendor-gems: commit updates. 2022-07-08 18:08:51 +00:00
dependabot[bot]
75e6032cd3
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10145 to 0.5.10148.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 18:03:54 +00:00
BrewTestBot
3cedf8c7bf
Update RBI files for rubocop. 2022-07-08 11:35:20 +00:00
BrewTestBot
f9a7637520
brew vendor-gems: commit updates. 2022-07-08 11:29:43 +00:00
dependabot[bot]
bf3deec7e2
build(deps): bump rubocop from 1.31.1 to 1.31.2 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.31.1 to 1.31.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.31.1...v1.31.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 11:24:14 +00:00
Mike McQuaid
008542588c
Merge pull request #13526 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10145
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10141 to 0.5.10145 in /Library/Homebrew
2022-07-08 11:32:31 +01:00
Mike McQuaid
66bb945a03
Merge pull request #13524 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.15.2
build(deps): bump rubocop-rails from 2.15.1 to 2.15.2 in /Library/Homebrew
2022-07-08 11:32:15 +01:00
Darren Kavanagh
da4bf679de
Add new line after donate message 2022-07-07 14:46:41 -07:00
Darren Kavanagh
b878d9c1ca
Highlight new revision message 2022-07-07 14:46:41 -07:00
Darren Kavanagh
a25f827b8f
Report new_tag even when old_tag blank 2022-07-07 14:46:41 -07:00
Darren Kavanagh
387515e75a
State version number in messages 2022-07-07 14:46:40 -07:00
Darren Kavanagh
bc8103d356
Highlight release notes when version changes
Highlight release notes when the current version is updated to a newer
version (either major or minor) not just when revision version is zero
(e.g. x.x.0).
2022-07-07 14:46:40 -07:00
Darren Kavanagh
700e2f19f1
Expand output excluded by quiet 2022-07-07 14:46:40 -07:00
Darren Kavanagh
a94f6ec50c
Update latesttag in all cases
Set latesttag before it is bypassed by return statement and old_tag
being blank.
2022-07-07 14:46:40 -07:00
Darren Kavanagh
ae2196fa57
Use x_tag instead of x_repository_version 2022-07-07 14:46:39 -07:00
BrewTestBot
2769b953b4
Update RBI files for rubocop-rails. 2022-07-07 18:15:34 +00:00
BrewTestBot
f64f235c1c
brew vendor-gems: commit updates. 2022-07-07 18:10:19 +00:00
BrewTestBot
f88ff0bf7f
brew vendor-gems: commit updates. 2022-07-07 18:10:02 +00:00
dependabot[bot]
9c5bf92eb1
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10141 to 0.5.10145.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 18:04:46 +00:00
dependabot[bot]
b6411a7d41
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.15.1 to 2.15.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.15.1...v2.15.2)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 18:04:01 +00:00
Rylan Polster
a36641195f
Merge pull request #13522 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10141
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10139 to 0.5.10141 in /Library/Homebrew
2022-07-07 11:30:47 -04:00
Eric Knibbe
38ba22c139
Merge pull request #13519 from EricFromCanada/bump-formula-tag-regex
bump-formula-pr: more precise tag/version replacement
2022-07-07 09:22:59 -04:00
Mike McQuaid
b4619fe2db
Merge pull request #13317 from bevanjkay/upgrade-sha-readout
cask: add statements when direct cask upgrades won't be installed
2022-07-07 08:57:34 +01:00
BrewTestBot
cb3707f5cd
brew vendor-gems: commit updates. 2022-07-06 18:11:18 +00:00
dependabot[bot]
ae6b65f655
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10139 to 0.5.10141.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 18:05:11 +00:00
Sean Molenaar
e8f145441b
Merge pull request #13309 from SMillerDev/feature/rb2.7 2022-07-06 18:23:51 +02:00
Alexander Bayandin
cfa63e9b86
bump-formula-pr: more precise tag/version replacement 2022-07-06 11:45:19 -04:00
Sean Molenaar
84b0cbf352
ruby.sh: fix if statement
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-07-06 14:29:29 +02:00
Rylan Polster
39453f87ef
Fix on_{macos_version} blocks on Linux 2022-07-05 19:05:42 -04:00
danielnachun
ed1324c9ca
add pax to allowlist 2022-07-05 09:57:10 -07:00
Rylan Polster
996df132af
Merge pull request #13514 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10139
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10138 to 0.5.10139 in /Library/Homebrew
2022-07-05 09:58:51 -04:00
Mike McQuaid
1816c7d8a3
Merge pull request #13515 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.16.2
build(deps): bump minitest from 5.16.1 to 5.16.2 in /Library/Homebrew
2022-07-05 11:56:56 +01:00
BrewTestBot
0b50be78d9
Update RBI files for minitest. 2022-07-04 18:10:47 +00:00
BrewTestBot
286eee7dc4
Update RBI files for rubocop-rspec. 2022-07-04 18:10:29 +00:00
BrewTestBot
b7aa0fd44e
brew vendor-gems: commit updates. 2022-07-04 18:07:29 +00:00
BrewTestBot
eb0bb67b5f
brew vendor-gems: commit updates. 2022-07-04 18:06:32 +00:00
BrewTestBot
0e0f00f44c
brew vendor-gems: commit updates. 2022-07-04 18:06:06 +00:00
dependabot[bot]
d0d556ba64
build(deps): bump minitest from 5.16.1 to 5.16.2 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.16.1 to 5.16.2.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/compare/v5.16.1...v5.16.2)

---
updated-dependencies:
- dependency-name: minitest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 18:03:42 +00:00
dependabot[bot]
058863a740
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10138 to 0.5.10139.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 18:03:21 +00:00
dependabot[bot]
1dae1c4875
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.11.1 to 2.12.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.11.1...v2.12.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 18:03:02 +00:00
Nanda H Krishna
39c9e2ddbc
Merge pull request #13496 from mohammadzainabbas/mohammad
Extend the `livecheck` DSL to work for resources
2022-07-04 13:35:19 -04:00
Sam Ford
e69345b942
Update livecheck_resource test values 2022-07-04 12:41:58 -04:00
Mohammad Zain Abbas
f4197fc96e
Minor documentation changes 2022-07-04 10:13:01 -04:00
GottemHams
956b457f77 Updated expected plist strings to pass the tests 2022-07-03 16:25:19 +02:00
GottemHams
dec8577d18 Comply with style checks 2022-07-03 16:24:05 +02:00