diff options
| author | Misty De Meo | 2013-06-08 12:27:59 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-06-08 12:59:46 -0500 |
| commit | 230fdbe41b10852581265e428aaeeb1221ae3cbe (patch) | |
| tree | a9b5c52f4a2df5a2ec57fd347370e5f4592403e1 /Library/Formula | |
| parent | e660d7bdd84cf2db2e728e806038922de00d5ea8 (diff) | |
| download | homebrew-230fdbe41b10852581265e428aaeeb1221ae3cbe.tar.bz2 | |
youtube-dl: revert Python 2.x and 3.x support
This makes youtube-dl harder to use as just a script, and people who
need it to call it from python can just install via pip.
This reverts commit e83a9bec485e218dd449df93c5564c834fde1a2a.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/youtube-dl.rb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/youtube-dl.rb b/Library/Formula/youtube-dl.rb index 92b45d196..baf5ed5cf 100644 --- a/Library/Formula/youtube-dl.rb +++ b/Library/Formula/youtube-dl.rb @@ -5,16 +5,10 @@ class YoutubeDl < Formula url 'http://youtube-dl.org/downloads/2013.05.23/youtube-dl-2013.05.23.tar.gz' sha1 '68e70bf1f285536e84e4fdf71c3d27fefd830612' - depends_on :python => :recommended - depends_on :python3 => :optional - def install - python do - system python, "setup.py", "install", "--prefix=#{prefix}", - "--record=installed.txt", - "--single-version-externally-managed" - cp bin/'youtube-dl', bin/"youtube-dl#{python.version.major}" - end + system "make", "youtube-dl", "PREFIX=#{prefix}" + bin.install 'youtube-dl' + man1.install 'youtube-dl.1' bash_completion.install 'youtube-dl.bash-completion' end |
