aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/keepassc.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-27 14:43:54 +0100
committerMike McQuaid2015-01-28 15:42:32 +0000
commitda852c67862d32ceea1f15b8c4d4b468f6cbd9a0 (patch)
tree57351a8426e1d26282d4f97d09341f3b148d31f3 /Library/Formula/keepassc.rb
parent25a4f9879595d7f928b6f92f0156ba46d3803d65 (diff)
downloadhomebrew-da852c67862d32ceea1f15b8c4d4b468f6cbd9a0.tar.bz2
keepassc 1.7.0
Closes #36274. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/keepassc.rb')
-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