Skip to content

Commit aa161cd

Browse files
committed
Run brew style --fix on all formulae
Closes cartr#73. Closes cartr#74.
1 parent 39a0baf commit aa161cd

22 files changed

+205
-209
lines changed

automoc4.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ class Automoc4 < Formula
77

88
bottle do
99
root_url "https://homebrew.bintray.com/bottles"
10-
sha256 "3f9efbccd2e54425aefa23beb359a84790a702fbc83e7950a709b3a56c818898" => :el_capitan
11-
sha256 "db251dc1e60d49c6ba011c28cf4d08f82468af379195c66fc5e7777b6e9fc4fd" => :yosemite
12-
sha256 "86fc5bddf7faf6f2897fc626903f0d927c8c9094e41c3d238c4b3e718acf4f47" => :mavericks
10+
sha256 el_capitan: "3f9efbccd2e54425aefa23beb359a84790a702fbc83e7950a709b3a56c818898"
11+
sha256 yosemite: "db251dc1e60d49c6ba011c28cf4d08f82468af379195c66fc5e7777b6e9fc4fd"
12+
sha256 mavericks: "86fc5bddf7faf6f2897fc626903f0d927c8c9094e41c3d238c4b3e718acf4f47"
1313
end
1414

1515
depends_on "cmake" => :build

[email protected]

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ class CoinAT313 < Formula
77

88
bottle do
99
root_url "https://dl.bintray.com/cartr/bottle-qt4"
10-
sha256 "323796851c0d3556b23eaaa1ba6400a49f3235d4c0bb52c356843d03b5352f18" => :sierra
11-
sha256 "91cd3072b9034640aec2ba8058f9dbfb7160802c5a1ed1d4b91b01fa7dae7dda" => :el_capitan
12-
sha256 "67f8f0d490afee4095a23fb36b3334947d25d41c8693d4bd8a612a0ccf6212cc" => :yosemite
10+
sha256 sierra: "323796851c0d3556b23eaaa1ba6400a49f3235d4c0bb52c356843d03b5352f18"
11+
sha256 el_capitan: "91cd3072b9034640aec2ba8058f9dbfb7160802c5a1ed1d4b91b01fa7dae7dda"
12+
sha256 yosemite: "67f8f0d490afee4095a23fb36b3334947d25d41c8693d4bd8a612a0ccf6212cc"
1313
end
1414

1515
option "without-soqt", "Build without SoQt"

ezlupdate.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ class Ezlupdate < Formula
88
head "https://github.com/ezsystems/ezpublish-legacy.git"
99

1010
bottle do
11-
cellar :any
1211
root_url "https://homebrew.bintray.com/bottles"
13-
sha256 "52ee8008a9bc66fe5183a2b6c62960e35e1433f77cf849530cd893b20ed712fb" => :el_capitan
14-
sha256 "68df4f04b7e23877182f848c3626eeb6a7b6ea677042736252e337e91216fa53" => :yosemite
15-
sha256 "c9ba7248ae420ad5b53cabe1a9184bac07894ec86199d024f60eaff7a3f185a6" => :mavericks
16-
sha256 "4c09e545f0e9f011ed6d281a2eb3b53a5dfba04ddd4a5c6df2bc3628a285b8b5" => :mountain_lion
12+
sha256 cellar: :any, el_capitan: "52ee8008a9bc66fe5183a2b6c62960e35e1433f77cf849530cd893b20ed712fb"
13+
sha256 cellar: :any, yosemite: "68df4f04b7e23877182f848c3626eeb6a7b6ea677042736252e337e91216fa53"
14+
sha256 cellar: :any, mavericks: "c9ba7248ae420ad5b53cabe1a9184bac07894ec86199d024f60eaff7a3f185a6"
15+
sha256 cellar: :any, mountain_lion: "4c09e545f0e9f011ed6d281a2eb3b53a5dfba04ddd4a5c6df2bc3628a285b8b5"
1716
end
1817

1918
depends_on "cartr/qt4/qt@4"

frescobaldi.rb

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ class Frescobaldi < Formula
55
sha256 "b426bd53d54fdc4dfc16fcfbff957fdccfa319d6ac63614de81f6ada5044d3e6"
66
revision 3
77

8+
depends_on "pkg-config" => :build
9+
depends_on "cartr/qt4/poppler-qt4" => "with-qt@4"
10+
depends_on "cartr/qt4/pyqt@4"
811
depends_on "python@2" if MacOS.version <= :snow_leopard
912
depends_on "portmidi" => :optional
1013

1114
# python-poppler-qt4 dependencies
12-
depends_on "pkg-config" => :build
13-
depends_on "cartr/qt4/poppler-qt4" => "with-qt@4"
14-
depends_on "cartr/qt4/pyqt@4"
1515

1616
resource "python-poppler-qt4" do
1717
url "https://github.com/wbsoft/python-poppler-qt4/archive/v0.24.0.tar.gz"
@@ -28,9 +28,7 @@ def install
2828

2929
%w[python-poppler-qt4 python-ly].each do |r|
3030
resource(r).stage do
31-
if r == "python-poppler-qt4"
32-
inreplace "types.sip", "PyList_SET_ITEM", "PyList_SetItem"
33-
end
31+
inreplace "types.sip", "PyList_SET_ITEM", "PyList_SetItem" if r == "python-poppler-qt4"
3432
system "python", *Language::Python.setup_install_args(libexec/"vendor")
3533
end
3634
end
@@ -40,18 +38,19 @@ def install
4038
system "python", *Language::Python.setup_install_args(libexec)
4139

4240
bin.install Dir[libexec/"bin/*"]
43-
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
41+
bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"])
4442
end
4543

46-
def caveats; <<~EOS
47-
By default, a splash screen is shown on startup; this causes the main
48-
window not to show until the application icon on the dock is clicked
49-
(Cmd-Tab application switching does not appear to work).
44+
def caveats
45+
<<~EOS
46+
By default, a splash screen is shown on startup; this causes the main
47+
window not to show until the application icon on the dock is clicked
48+
(Cmd-Tab application switching does not appear to work).
5049
51-
You may want to disable the splash screen in the preferences to
52-
solve this issue. See:
53-
https://github.com/wbsoft/frescobaldi/issues/428
54-
EOS
50+
You may want to disable the splash screen in the preferences to
51+
solve this issue. See:
52+
https://github.com/wbsoft/frescobaldi/issues/428
53+
EOS
5554
end
5655

5756
test do

libechonest.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ class Libechonest < Formula
66
revision 1
77

88
bottle do
9-
cellar :any
109
root_url "https://homebrew.bintray.com/bottles"
11-
sha256 "51cae76dec59157c29e47d836d94044c75a4e69c05ded3d9fe5d16ed39029eae" => :el_capitan
12-
sha256 "155a7921bd0e807a5702d9cf2f85b0fa2636713c57ee2c355cf27b70bd567c79" => :yosemite
13-
sha256 "0e774fa6901a1d8c7244e8fcbbaefdd2a1b4f1d69d9ab3061c9dd67d468ac57b" => :mavericks
14-
sha256 "093d7b8f68f0ef72da44b8118d96a0e103f37788e91294006fb1fd09fbe04d82" => :mountain_lion
10+
sha256 cellar: :any, el_capitan: "51cae76dec59157c29e47d836d94044c75a4e69c05ded3d9fe5d16ed39029eae"
11+
sha256 cellar: :any, yosemite: "155a7921bd0e807a5702d9cf2f85b0fa2636713c57ee2c355cf27b70bd567c79"
12+
sha256 cellar: :any, mavericks: "0e774fa6901a1d8c7244e8fcbbaefdd2a1b4f1d69d9ab3061c9dd67d468ac57b"
13+
sha256 cellar: :any, mountain_lion: "093d7b8f68f0ef72da44b8118d96a0e103f37788e91294006fb1fd09fbe04d82"
1514
end
1615

1716
depends_on "cmake" => :build
1817
depends_on "cartr/qt4/qt@4"
1918
depends_on "qjson"
2019

21-
conflicts_with "doxygen", :because => "cmake fails to configure build."
20+
conflicts_with "doxygen", because: "cmake fails to configure build"
2221

2322
def install
2423
system "cmake", ".", *std_cmake_args

[email protected]

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ class OpensslAT10 < Formula
88

99
bottle do
1010
root_url "https://dl.bintray.com/cartr/autobottle-qt4"
11-
sha256 "faa8d3dc06601237a6f42a93ec6d8b0229426f01ea109e3fab691ac1cf9fd681" => :mojave
12-
sha256 "6d2269e690b2ddc182fa1148bb44e25b1172b6516caefad709158e736da94b46" => :high_sierra
11+
sha256 mojave: "faa8d3dc06601237a6f42a93ec6d8b0229426f01ea109e3fab691ac1cf9fd681"
12+
sha256 high_sierra: "6d2269e690b2ddc182fa1148bb44e25b1172b6516caefad709158e736da94b46"
1313
end
1414

1515
keg_only :provided_by_macos,
@@ -68,14 +68,15 @@ def post_install
6868
(openssldir/"cert.pem").atomic_write(valid_certs.join("\n") << "\n")
6969
end
7070

71-
def caveats; <<~EOS
72-
A CA file has been bootstrapped using certificates from the SystemRoots
73-
keychain. To add additional certificates (e.g. the certificates added in
74-
the System keychain), place .pem files in
75-
#{openssldir}/certs
76-
and run
77-
#{opt_bin}/c_rehash
78-
EOS
71+
def caveats
72+
<<~EOS
73+
A CA file has been bootstrapped using certificates from the SystemRoots
74+
keychain. To add additional certificates (e.g. the certificates added in
75+
the System keychain), place .pem files in
76+
#{openssldir}/certs
77+
and run
78+
#{opt_bin}/c_rehash
79+
EOS
7980
end
8081

8182
test do

poppler-qt4.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PopplerQt4 < Formula
2424
depends_on "little-cms2" => :optional
2525

2626
conflicts_with "pdftohtml", "pdf2image", "xpdf",
27-
:because => "poppler, pdftohtml, pdf2image, and xpdf install conflicting executables"
27+
because: "poppler, pdftohtml, pdf2image, and xpdf install conflicting executables"
2828

2929
resource "font-data" do
3030
url "https://poppler.freedesktop.org/poppler-data-0.4.8.tar.gz"
@@ -44,16 +44,16 @@ def install
4444
-DENABLE_QT5=OFF
4545
]
4646

47-
if build.with? "qt@4"
48-
args << "-DENABLE_QT4=ON"
47+
args << if build.with? "qt@4"
48+
"-DENABLE_QT4=ON"
4949
else
50-
args << "-DENABLE_QT4=OFF"
50+
"-DENABLE_QT4=OFF"
5151
end
5252

53-
if build.with? "little-cms2"
54-
args << "-DENABLE_CMS=lcms2"
53+
args << if build.with? "little-cms2"
54+
"-DENABLE_CMS=lcms2"
5555
else
56-
args << "-DENABLE_CMS=OFF"
56+
"-DENABLE_CMS=OFF"
5757
end
5858

5959
system "cmake", ".", *args

puddletag.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
class Puddletag < Formula
2-
desc "Powerful, simple, audio tag editor."
3-
homepage "http://puddletag.sf.net"
2+
desc "Powerful, simple, audio tag editor"
3+
homepage "https://puddletag.sourceforge.io/"
44
url "https://github.com/keithgg/puddletag/archive/1.1.1.tar.gz"
55
sha256 "550680abf9c2cf082861dfb3b61fd308f87f9ed304065582cddadcc8bdd947cc"
66
revision 4
77

88
head "https://github.com/keithgg/puddletag.git"
99

1010
bottle do
11-
cellar :any_skip_relocation
1211
root_url "https://homebrew.bintray.com/bottles"
13-
sha256 "2f97b0687f8eacab3188d6e2ec595f267f862efed2701e51b39a2bf81bf508bb" => :el_capitan
14-
sha256 "80ad92bbf1cdaaed786063b7fc2ef78e1b652a70efbc882e1fd2c5828e3d302d" => :yosemite
15-
sha256 "52b3b94916fe4943df8962f63534093a7f9a9b7f6c5e0ed4869d23b51ccd908f" => :mavericks
12+
sha256 cellar: :any_skip_relocation, el_capitan: "2f97b0687f8eacab3188d6e2ec595f267f862efed2701e51b39a2bf81bf508bb"
13+
sha256 cellar: :any_skip_relocation, yosemite: "80ad92bbf1cdaaed786063b7fc2ef78e1b652a70efbc882e1fd2c5828e3d302d"
14+
sha256 cellar: :any_skip_relocation, mavericks: "52b3b94916fe4943df8962f63534093a7f9a9b7f6c5e0ed4869d23b51ccd908f"
1615
end
1716

18-
depends_on "python@2" if MacOS.version <= :snow_leopard
1917
depends_on "cartr/qt4/pyqt@4"
18+
depends_on "python@2" if MacOS.version <= :snow_leopard
2019
depends_on "chromaprint" => :recommended
2120

2221
resource "pyparsing" do
@@ -50,7 +49,7 @@ def install
5049
ENV.prepend_create_path "PYTHONPATH", HOMEBREW_PREFIX/"lib/python2.7/site-packages"
5150

5251
bin.install Dir[libexec/"bin/*"]
53-
bin.env_script_all_files(libexec/"bin", :PATH => "#{HOMEBREW_PREFIX}/bin", :PYTHONPATH => ENV["PYTHONPATH"])
52+
bin.env_script_all_files(libexec/"bin", PATH: "#{HOMEBREW_PREFIX}/bin", PYTHONPATH: ENV["PYTHONPATH"])
5453

5554
system "sh", "create_macos_app_bundle.sh", "--name", "Puddletag",
5655
"--icon", "puddletag.png", "--script", "#{bin}/puddletag"

[email protected]

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,25 @@ class PyqtAT4 < Formula
55
sha256 "3224ab2c4d392891eb0abbc2bf076fef2ead3a5bb36ceae2383df4dda00ccce5"
66
revision 1
77

8+
bottle do
9+
rebuild 1
10+
root_url "https://dl.bintray.com/cartr/autobottle-qt4"
11+
sha256 mojave: "e44d7923a06753626ffc9bf6736b9641eb2b653bbd6ea34c841e1aaf2b9aadae"
12+
sha256 high_sierra: "5c6d1faf80702fbf842192da0823615a933b4e6198824cf923c2ad52da5c598c"
13+
sha256 sierra: "60e060eea471ae89cad6c16c14f4c7d3ad300840de3a4694259166ce91b377f2"
14+
sha256 el_capitan: "73742cd1d51d3cf121e36a15fdde6ebe0d4c55abb5ca45a219a1776cec3f5b6d"
15+
sha256 yosemite: "ea4bcda9e317579d71969c231cb3dcf3dd84b1aeb5d8cecd50ca128645e38838"
16+
end
17+
818
option "without-python@2", "Build without python 2 support"
19+
depends_on "cartr/qt4/qt@4"
20+
depends_on "cartr/qt4/[email protected]" => :recommended
921
depends_on "python" => :optional
1022

1123
if build.without?("python") && build.without?("python@2")
1224
odie "pyqt: --with-python must be specified when using --without-python@2"
1325
end
1426

15-
depends_on "cartr/qt4/qt@4"
16-
depends_on "cartr/qt4/[email protected]" => :recommended
17-
1827
if build.with? "python"
1928
depends_on "sip" => "with-python"
2029
else
@@ -23,9 +32,7 @@ class PyqtAT4 < Formula
2332

2433
def install
2534
# On Mavericks we want to target libc++, this requires a non default qt makespec
26-
if ENV.compiler == :clang && MacOS.version >= :mavericks
27-
ENV.append "QMAKESPEC", "unsupported/macx-clang-libc++"
28-
end
35+
ENV.append "QMAKESPEC", "unsupported/macx-clang-libc++" if ENV.compiler == :clang && MacOS.version >= :mavericks
2936

3037
Language::Python.each_python(build) do |python, version|
3138
ENV.append_path "PYTHONPATH", "#{Formula["sip"].opt_lib}/python#{version}/site-packages"
@@ -64,9 +71,7 @@ def install
6471
end
6572

6673
# On Mavericks we want to target libc++, this requires a non default qt makespec
67-
if ENV.compiler == :clang && MacOS.version >= :mavericks
68-
args << "--spec" << "unsupported/macx-clang-libc++"
69-
end
74+
args << "--spec" << "unsupported/macx-clang-libc++" if ENV.compiler == :clang && MacOS.version >= :mavericks
7075

7176
args << "--no-stubs"
7277

@@ -91,14 +96,4 @@ def caveats
9196
system python, "test.py"
9297
end
9398
end
94-
95-
bottle do
96-
rebuild 1
97-
root_url "https://dl.bintray.com/cartr/autobottle-qt4"
98-
sha256 "e44d7923a06753626ffc9bf6736b9641eb2b653bbd6ea34c841e1aaf2b9aadae" => :mojave
99-
sha256 "5c6d1faf80702fbf842192da0823615a933b4e6198824cf923c2ad52da5c598c" => :high_sierra
100-
sha256 "60e060eea471ae89cad6c16c14f4c7d3ad300840de3a4694259166ce91b377f2" => :sierra
101-
sha256 "73742cd1d51d3cf121e36a15fdde6ebe0d4c55abb5ca45a219a1776cec3f5b6d" => :el_capitan
102-
sha256 "ea4bcda9e317579d71969c231cb3dcf3dd84b1aeb5d8cecd50ca128645e38838" => :yosemite
103-
end
10499
end

[email protected]

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ class PysideToolsAT12 < Formula
88
head "https://github.com/PySide/Tools.git"
99

1010
bottle do
11-
cellar :any
1211
rebuild 2
1312
root_url "https://dl.bintray.com/cartr/autobottle-qt4"
14-
sha256 "6eda5d9dc88477e751efb4d0985074e1163bfe42e48805f1f4a689b01fb230cf" => :mojave
15-
sha256 "ce1705c26ff37f14d9e2c8d89de2a1cd8d1285434fc762bc5f3473152d2b5664" => :high_sierra
16-
sha256 "08e3186ed7c36de766daf475ca60146098a0858d66bedab77cd88c18ff07b80b" => :sierra
17-
sha256 "96d0547e36fa48ddcc2f743909f0905b5aec03bd93bbde5409806aecc4a6c846" => :el_capitan
18-
sha256 "0d1c0c79a35dd143732af7998a94bb57b8ffa871fef11c05ffbd54c72ff6ec82" => :yosemite
13+
sha256 cellar: :any, mojave: "6eda5d9dc88477e751efb4d0985074e1163bfe42e48805f1f4a689b01fb230cf"
14+
sha256 cellar: :any, high_sierra: "ce1705c26ff37f14d9e2c8d89de2a1cd8d1285434fc762bc5f3473152d2b5664"
15+
sha256 cellar: :any, sierra: "08e3186ed7c36de766daf475ca60146098a0858d66bedab77cd88c18ff07b80b"
16+
sha256 cellar: :any, el_capitan: "96d0547e36fa48ddcc2f743909f0905b5aec03bd93bbde5409806aecc4a6c846"
17+
sha256 cellar: :any, yosemite: "0d1c0c79a35dd143732af7998a94bb57b8ffa871fef11c05ffbd54c72ff6ec82"
1918
end
2019

2120
depends_on "cmake" => :build

0 commit comments

Comments
 (0)