Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeprecate formulae with dependents #106848

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Formula/bazaar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class Bazaar < Formula
sha256 cellar: :any_skip_relocation, high_sierra: "cb1c0c8b5f19abef4043195d8cbd19f363a78581596de1ddcc763621964335b3"
end

deprecate! date: "2021-08-19", because: "is not supported. Check out `breezy` instead"
# This formula is currently needed when downloading with `using: :bzr`.
# deprecate! date: "2021-08-19", because: "is not supported. Check out `breezy` instead"

depends_on :macos # Due to Python 2

Expand Down Expand Up @@ -47,6 +48,13 @@ def install
(bin/"bzr").write_env_script(libexec/"bzr", BZR_PLUGIN_PATH: "+user:#{HOMEBREW_PREFIX}/share/bazaar/plugins")
end

def caveats
<<~EOS
This software is no longer maintained. Try `breezy` instead:
brew install breezy
EOS
end

test do
bzr = "#{bin}/bzr"
whoami = "Homebrew"
Expand Down
3 changes: 2 additions & 1 deletion Formula/cmu-sphinxbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class CmuSphinxbase < Formula
depends_on "swig" => :build
end

deprecate! date: "2022-06-12", because: :repo_archived
# Commented out while this formula still has dependents.
# deprecate! date: "2022-06-12", because: :repo_archived

depends_on "pkg-config" => :build
# If these are found, they will be linked against and there is no configure
Expand Down
3 changes: 2 additions & 1 deletion Formula/dep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Dep < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "d7917c664bc0a540e065deb1e14671a5a818823672ec7a5a5caee34eb8feb664"
end

deprecate! date: "2020-11-25", because: :repo_archived
# Commented out while this formula still has dependents.
# deprecate! date: "2020-11-25", because: :repo_archived

depends_on "go"

Expand Down
3 changes: 2 additions & 1 deletion Formula/docker-machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class DockerMachine < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "f08e7ba29eb793a79b8126631485ee4100cf07b9e1e5654a7c4db8c2d229d5af"
end

deprecate! date: "2021-09-30", because: :repo_archived
# Commented out while this formula still has dependents.
# deprecate! date: "2021-09-30", because: :repo_archived

depends_on "automake" => :build
depends_on "go" => :build
Expand Down
3 changes: 2 additions & 1 deletion Formula/glide.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Glide < Formula
end

# See: https://github.com/Masterminds/glide/commit/c64b14592409a83052f7735a01d203ff1bab0983
deprecate! date: "2021-01-02", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2021-01-02", because: :deprecated_upstream

depends_on "go"

Expand Down
4 changes: 3 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class GoAT116 < Formula

keg_only :versioned_formula

deprecate! date: "2022-03-15", because: :unsupported
# Original date: 2022-03-15
# The date below was adjusted to match `[email protected]`.
deprecate! date: "2022-08-28", because: :unsupported

depends_on "go" => :build

Expand Down
3 changes: 2 additions & 1 deletion Formula/govendor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Govendor < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "24497503629e520a1fe718029ab520b05c012677df065c9fd104afe4d898b8b8"
end

deprecate! date: "2020-03-02", because: :repo_archived
# Commented out while this formula still has dependents.
# deprecate! date: "2020-03-02", because: :repo_archived

depends_on "go"

Expand Down
3 changes: 2 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class GuileAT2 < Formula

keg_only :versioned_formula

deprecate! date: "2020-04-07", because: :versioned_formula
# Commented out while this formula still has dependents.
# deprecate! date: "2020-04-07", because: :versioned_formula

depends_on "gnu-sed" => :build
depends_on "bdw-gc"
Expand Down
3 changes: 2 additions & 1 deletion Formula/ilmbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Ilmbase < Formula
keg_only "ilmbase conflicts with `openexr` and `imath`"

# https://github.com/AcademySoftwareFoundation/openexr/pull/929
deprecate! date: "2021-04-05", because: :unsupported
# Commented out while this formula still has dependents.
# deprecate! date: "2021-04-05", because: :unsupported

depends_on "cmake" => :build

Expand Down
3 changes: 2 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class IslAT018 < Formula

keg_only :versioned_formula

deprecate! date: "2020-11-05", because: :versioned_formula
# Commented out while this formula still has dependents.
# deprecate! date: "2020-11-05", because: :versioned_formula

depends_on "gmp"

Expand Down
3 changes: 2 additions & 1 deletion Formula/jam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class Jam < Formula
# The last Perforce release of Jam was version 2.6 in August of 2014. We will
# keep the Perforce-controlled links and information posted here available
# until further notice."
deprecate! date: "2021-07-10", because: :unmaintained
# Commented out while this formula still has dependents.
# deprecate! date: "2021-07-10", because: :unmaintained

conflicts_with "ftjam", because: "both install a `jam` binary"

Expand Down
3 changes: 2 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class LuaAT51 < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "4b5ebc378db8f01127fdec3922b58252ede872cd6b70cbbde2adde311f1f699a"
end

deprecate! date: "2012-02-17", because: :unsupported
# Commented out while this formula still has dependents.
# deprecate! date: "2012-02-17", because: :unsupported

uses_from_macos "unzip"

Expand Down
3 changes: 2 additions & 1 deletion Formula/mpfi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Mpfi < Formula

# Formula does not build, https://gforge.inria.fr/tracker/index.php?func=detail&aid=21721&group_id=157&atid=709
# and upstream is not actively maintaining (last commit was on 2019-08-01)
deprecate! date: "2021-08-15", because: :unmaintained
# Commented out while this formula still has dependents.
# deprecate! date: "2021-08-15", because: :unmaintained

depends_on "gmp"
depends_on "mpfr"
Expand Down
3 changes: 2 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class OpenexrAT2 < Formula

keg_only :versioned_formula

deprecate! date: "2021-04-01", because: :unsupported
# Commented out while this formula still has dependents.
# deprecate! date: "2021-04-01", because: :unsupported

depends_on "cmake" => :build
depends_on "pkg-config" => :build
Expand Down
3 changes: 2 additions & 1 deletion Formula/sdl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ class Sdl < Formula
end

# SDL 1.2 is deprecated, unsupported, and not recommended for new projects.
deprecate! date: "2013-08-17", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2013-08-17", because: :deprecated_upstream

conflicts_with "sdl12-compat", because: "sdl12-compat is a drop-in replacement for sdl"

Expand Down
3 changes: 2 additions & 1 deletion Formula/sdl_image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ class SdlImage < Formula
end

# SDL 1.2 is deprecated, unsupported, and not recommended for new projects.
deprecate! date: "2013-08-17", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2013-08-17", because: :deprecated_upstream

depends_on "pkg-config" => :build
depends_on "jpeg"
Expand Down
3 changes: 2 additions & 1 deletion Formula/sdl_mixer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class SdlMixer < Formula
end

# SDL 1.2 is deprecated, unsupported, and not recommended for new projects.
deprecate! date: "2013-08-17", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2013-08-17", because: :deprecated_upstream

depends_on "pkg-config" => :build
depends_on "flac"
Expand Down
3 changes: 2 additions & 1 deletion Formula/sdl_net.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class SdlNet < Formula
end

# SDL 1.2 is deprecated, unsupported, and not recommended for new projects.
deprecate! date: "2013-08-17", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2013-08-17", because: :deprecated_upstream

depends_on "pkg-config" => :build
depends_on "sdl"
Expand Down
3 changes: 2 additions & 1 deletion Formula/sdl_sound.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class SdlSound < Formula
end

# SDL 1.2 is deprecated, unsupported, and not recommended for new projects.
deprecate! date: "2013-08-17", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2013-08-17", because: :deprecated_upstream

depends_on "pkg-config" => :build
depends_on "libogg"
Expand Down
3 changes: 2 additions & 1 deletion Formula/sdl_ttf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class SdlTtf < Formula
end

# SDL 1.2 is deprecated, unsupported, and not recommended for new projects.
deprecate! date: "2013-08-17", because: :deprecated_upstream
# Commented out while this formula still has dependents.
# deprecate! date: "2013-08-17", because: :deprecated_upstream

depends_on "pkg-config" => :build
depends_on "freetype"
Expand Down
3 changes: 2 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class TbbAT2020 < Formula

keg_only :versioned_formula

deprecate! date: "2020-04-02", because: :unsupported
# Commented out while this formula still has dependents.
# deprecate! date: "2020-04-02", because: :unsupported

depends_on "cmake" => :build
depends_on "swig" => :build
Expand Down
3 changes: 2 additions & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class VtkAT82 < Formula

keg_only :versioned_formula

deprecate! date: "2020-05-14", because: :versioned_formula
# Commented out while this formula still has dependents.
# deprecate! date: "2020-05-14", because: :versioned_formula

depends_on "cmake" => [:build, :test]
depends_on "boost"
Expand Down