sshuttle 0.73
Closes Homebrew/homebrew#47550. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
7e8226ab25
commit
f34b143024
1 changed files with 13 additions and 4 deletions
|
@ -1,17 +1,26 @@
|
|||
class Sshuttle < Formula
|
||||
desc "Proxy server that works as a poor man's VPN"
|
||||
homepage "https://github.com/sshuttle/sshuttle"
|
||||
url "https://github.com/sshuttle/sshuttle/archive/sshuttle-0.72.tar.gz"
|
||||
sha256 "3ea217fa98e3887b0fb2229eb65b9548a4beea1947ed5949501e5ceec360ba19"
|
||||
url "https://github.com/sshuttle/sshuttle/archive/v0.73.tar.gz"
|
||||
sha256 "d78a6aa76f93ab69fd9685ce11b428a9b549c049a6c0104740c06c9b354a5ae3"
|
||||
head "https://github.com/sshuttle/sshuttle.git"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on :python if MacOS.version <= :snow_leopard
|
||||
|
||||
def install
|
||||
# Building the docs requires installing
|
||||
# markdown & BeautifulSoup Python modules
|
||||
# so we don't.
|
||||
libexec.install Dir["*"]
|
||||
bin.write_exec_script libexec/"src/sshuttle"
|
||||
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
|
||||
system "python", *Language::Python.setup_install_args(libexec)
|
||||
|
||||
bin.install Dir["#{libexec}/bin/*"]
|
||||
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
|
||||
end
|
||||
|
||||
test do
|
||||
shell_output("#{bin}/sshuttle -h", 97)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue