aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/keepassc.rb18
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/keepassc.rb b/Library/Formula/keepassc.rb
index ec948e6c9..919d56975 100644
--- a/Library/Formula/keepassc.rb
+++ b/Library/Formula/keepassc.rb
@@ -1,9 +1,7 @@
-require "formula"
-
class Keepassc < Formula
homepage "http://raymontag.github.com/keepassc/"
- url "https://github.com/raymontag/keepassc/archive/1.6.2.tar.gz"
- sha1 "3366fc811b312ef2e64eb48a8b84380bc1a962b1"
+ url "https://github.com/raymontag/keepassc/archive/1.7.0.tar.gz"
+ sha1 "edc39b0aaaeaca101ab722cba7b19804b4b8f9b7"
head "https://github.com/raymontag/keepassc.git", :branch => "development"
depends_on :python3
@@ -21,8 +19,8 @@ class Keepassc < Formula
end
def install
- ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python3.4/site-packages'
- install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
+ ENV.prepend_create_path "PYTHONPATH", libexec+"lib/python3.4/site-packages"
+ install_args = %W[setup.py install --prefix=#{libexec}]
resource("pycrypto").stage { system "python3", *install_args }
resource("kppy").stage { system "python3", *install_args }
@@ -31,13 +29,13 @@ class Keepassc < Formula
man1.install Dir["*.1"]
- bin.install Dir[libexec/'bin/*']
- bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
+ bin.install Dir[libexec/"bin/*"]
+ bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
test do
- # Fetching help is the only non-interactive action we can perform,
- # and since interactive actions are un-scriptable, there nothing more we can do.
+ # Fetching help is the only non-interactive action we can perform, and since
+ # interactive actions are un-scriptable, there nothing more we can do.
system "#{bin}/keepassc", "--help"
end
end