homebrew-core/Formula/you-get.rb
2019-09-10 13:43:53 +10:00

31 lines
980 B
Ruby

class YouGet < Formula
include Language::Python::Virtualenv
desc "Dumb downloader that scrapes the web"
homepage "https://you-get.org/"
url "https://github.com/soimort/you-get/archive/v0.4.1347.tar.gz"
sha256 "8a96786fb77a5e2ba15ad7e399fec858c7621a6313150bd05a54bd7b4a37d043"
head "https://github.com/soimort/you-get.git", :branch => "develop"
bottle do
cellar :any_skip_relocation
sha256 "0528d4f83be9cc6decfab0ec71949c5585ebec0e865b3430d859702e15e73ad1" => :mojave
sha256 "13ac1687ac8f74bf16b33a765a94f77bc52cac5b315b80bdcdf0fba2aaac5fa8" => :high_sierra
sha256 "2738173ee189075104a6dfff126fe7aec963ab7648247abbf72213c174076a61" => :sierra
end
depends_on "python"
depends_on "rtmpdump"
def install
virtualenv_install_with_resources
end
def caveats
"To use post-processing options, `brew install ffmpeg` or `brew install libav`."
end
test do
system bin/"you-get", "--info", "https://youtu.be/he2a4xK8ctk"
end
end