Skip to content

Commit bb052b4

Browse files
authored
Merge pull request #251477 from branchvincent/pypi-mappings
misc: remove references to pypi_formula_mappings.json
2 parents 90a1a24 + efc1e93 commit bb052b4

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

Formula/a/alot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Alot < Formula
33

44
desc "Text mode MUA using notmuch mail"
55
homepage "https://github.com/pazz/alot"
6-
# TODO: check if we can remove `standard-mailcap` from pypi_formula_mappings.json
6+
# TODO: check if we can remove `standard-mailcap` from `pypi_packages`
77
# https://github.com/pazz/alot/issues/1632
88
url "https://github.com/pazz/alot.git",
99
tag: "0.11",

Formula/g/gimme-aws-creds.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,20 @@ class GimmeAwsCreds < Formula
3030
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1699
3131
end
3232

33-
pypi_packages exclude_packages: %w[certifi cryptography],
34-
extra_packages: "pyobjc-framework-localauthentication"
35-
36-
# Extra package resources are set for platform-specific dependencies in
37-
# pypi_formula_mappings.json, since the output of `bump-formula-pr` and
38-
# `update-python-resources` is impacted by whether command is run on macOS
39-
# or Linux. Remove if Homebrew logic is enhanced to handle this. Also,
40-
# occasionally check if any of these Python dependencies are no longer used.
33+
# Extra package resources are set here for platform-specific dependencies
34+
# since the output of `bump-formula-pr` and `update-python-resources` is
35+
# impacted by whether command is run on macOS or Linux. Remove if Homebrew
36+
# logic is enhanced to handle this. Also, occasionally check if any of these
37+
# Python dependencies are no longer used.
4138
#
4239
# macOS: `pyobjc-framework-localauthentication`, ...
4340
# - gimme-aws-creds
4441
# ├── ctap-keyring-device
4542
# └── pyobjc-framework-localauthentication
4643
# ├── pyobjc-core
4744
# ├── ...
45+
pypi_packages exclude_packages: %w[certifi cryptography],
46+
extra_packages: "pyobjc-framework-localauthentication"
4847

4948
resource "aenum" do
5049
url "https://files.pythonhosted.org/packages/e3/52/6ad8f63ec8da1bf40f96996d25d5b650fdd38f5975f8c813732c47388f18/aenum-3.1.16-py3-none-any.whl"

Formula/g/gyb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Gyb < Formula
44

55
desc "CLI for backing up and restoring Gmail messages"
66
homepage "https://github.com/GAM-team/got-your-back/"
7-
# Check gyb.py imports for any changes. Update pypi_formula_mappings.json (if necessary)
7+
# Check gyb.py imports for any changes. Update `pypi_packages` (if necessary)
88
# and then run `brew update-python-resources gyb`.
99
url "https://github.com/GAM-team/got-your-back/archive/refs/tags/v1.95.tar.gz"
1010
sha256 "96d8ec7c63bb33e5484f5ad6ac28c5762e9f2a2296d55955e0f48527ebcde45c"

Formula/i/iconsur.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Iconsur < Formula
33

44
desc "macOS Big Sur Adaptive Icon Generator"
55
homepage "https://github.com/rikumi/iconsur"
6-
# Keep extra_packages in pypi_formula_mappings.json aligned with
6+
# Keep extra `pypi_packages` aligned with
77
# https://github.com/rikumi/iconsur/blob/#{version}/src/fileicon.sh#L230
88
url "https://registry.npmjs.org/iconsur/-/iconsur-1.7.0.tgz"
99
sha256 "d732df6bbcaf1418c6f46f9148002cbc1243814692c1c0e5c0cebfcff001c4a1"

Formula/r/recon-ng.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ReconNg < Formula
66
homepage "https://github.com/lanmaster53/recon-ng"
77
# See the REQUIREMENTS file in the archive for the top level of dependencies.
88
# Please check for changes that may have been made since the last update.
9-
# Update pypi_formula_mappings.json if necessary and run `brew update-python-resources recon-ng`.
9+
# Update `pypi_packages` if necessary and run `brew update-python-resources recon-ng`.
1010
url "https://github.com/lanmaster53/recon-ng/archive/refs/tags/v5.1.2.tar.gz"
1111
sha256 "18d05030b994c9b37f624628251d3376d590f3d1eec155f67aca88fa5f3490cc"
1212
license "GPL-3.0-only"

Formula/s/streamrip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Streamrip < Formula
33

44
desc "Scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer"
55
homepage "https://github.com/nathom/streamrip"
6-
# Test dependencies should be removed, so they are added to `pypi_formula_mappings`
6+
# Test dependencies should be removed, so they are added to `pypi_packages`
77
# `pygments` should be added manually, it is removed with test dependencies
88
# PR ref: https://github.com/nathom/streamrip/pull/886
99
url "https://files.pythonhosted.org/packages/b8/c9/6997772e0217f3081e4e692c7b8b104aaa564c008f2593341e81bbbd2396/streamrip-2.1.0.tar.gz"

0 commit comments

Comments
 (0)