yle-dl: remove homebrew/php references.

This commit is contained in:
Mike McQuaid 2018-03-31 12:05:54 +01:00 committed by ilovezfs
parent a64beb753c
commit 3410ce3685

View file

@ -14,11 +14,6 @@ class YleDl < Formula
depends_on "rtmpdump"
depends_on "python@2" if MacOS.version <= :snow_leopard
depends_on "homebrew/php/php70-mcrypt" => :optional
depends_on "homebrew/php/php56-mcrypt" => :optional
depends_on "homebrew/php/php55-mcrypt" => :optional
depends_on "homebrew/php/php54-mcrypt" => :optional
depends_on "homebrew/php/php53-mcrypt" => :optional
resource "AdobeHDS.php" do
# NOTE: yle-dl always installs the HEAD version of AdobeHDS.php. We use a specific commit.
@ -102,17 +97,6 @@ class YleDl < Formula
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
def caveats; <<~EOS
yle-dl requires the mcrypt PHP module which you can either install manually or install
mcrypt from the PHP homebrew tap. You can also install yle-dl with one of optional dependencies
which to automatically tap the php tap and download mcrypt module for you.
brew info yle-dl
for further info.
EOS
end
test do
assert_equal "Traileri: 3 minuuttia-2012-05-30T10:51\n",
shell_output("#{bin}/yle-dl --showtitle https://areena.yle.fi/1-1570236")