Skip to content

Commit

Permalink
Fix formula
Browse files Browse the repository at this point in the history
  • Loading branch information
Reflejo committed Nov 22, 2015
1 parent 17b32f6 commit be6616f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
25 changes: 3 additions & 22 deletions Formula/ib-unfuck-git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,11 @@ class IbUnfuckGit < Formula
url "https://github.com/Reflejo/ib-unfuck-git/archive/v0.1.tar.gz"

depends_on :python if MacOS.version <= :snow_leopard

# resource "unidiff" do
# url "https://pypi.python.org/packages/source/u/unidiff/unidiff-0.5.1.tar.gz"
# sha256 "c3d52b3656044c90af6cd01b3424d21d669e99899f1bdde82cc4bbd3fa5fda67"
# end
#
# resource "gitdb" do
# url "https://pypi.python.org/packages/source/g/gitdb/gitdb-0.6.4.tar.gz"
# sha256 "a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658"
# end
#
# resource "smmap" do
# url "https://pypi.python.org/packages/source/s/smmap/smmap-0.9.0.tar.gz"
# sha256 "0e2b62b497bd5f0afebc002eda4d90df9d209c30ef257e8673c90a6b5c119d62"
# end
depends_on "unidiff" => :python
depends_on "gitpython" => :python
depends_on "lxml" => :python

def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
# %w[gitdb smmap unidiff].each do |r|
# resource(r).stage do
# system "python", *Language::Python.setup_install_args(libexec/"vendor")
# end
# end

ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
system "python", *Language::Python.setup_install_args(libexec)

Expand Down
2 changes: 2 additions & 0 deletions scripts/ibunfuck
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/local/bin/python

import git
import sys

from ibunfuck import UnfuckPatch


Expand Down

0 comments on commit be6616f

Please sign in to comment.