thefuck 1.29

Closes Homebrew/homebrew#38995.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Alex Dunn 2015-04-23 23:09:35 -07:00 committed by Mike McQuaid
parent 538372cb94
commit 3ef7e56c24

View file

@ -1,7 +1,7 @@
class Thefuck < Formula
homepage "https://github.com/nvbn/thefuck"
url "https://pypi.python.org/packages/source/t/thefuck/thefuck-1.26.tar.gz"
sha256 "b81e0d4ac5eb3e3aec1014d948d26419a60a39cc1e20f20d82f7be652ed3b8c8"
url "https://pypi.python.org/packages/source/t/thefuck/thefuck-1.29.tar.gz"
sha256 "3e51de66ea29a1bbd9f1aadbd3a2398601e7a5e7ab69fef0f75677ca95f00cb1"
bottle do
cellar :any
@ -22,11 +22,21 @@ class Thefuck < Formula
sha256 "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
end
resource "colorama" do
url "https://pypi.python.org/packages/source/c/colorama/colorama-0.3.3.tar.gz"
sha256 "eb21f2ba718fbf357afdfdf6f641ab393901c7ca8d9f37edd0bee4806ffa269c"
end
resource "six" do
url "https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz"
sha256 "e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5"
end
def install
ENV["PYTHONPATH"] = libexec/"vendor/lib/python2.7/site-packages"
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
%w[psutil pathlib].each do |r|
%w[psutil pathlib colorama six].each do |r|
resource(r).stage do
system "python", *Language::Python.setup_install_args(libexec/"vendor")
end