-
Notifications
You must be signed in to change notification settings - Fork 2
/
plistprocessor.rb
25 lines (20 loc) · 966 Bytes
/
plistprocessor.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class Plistprocessor < Formula
desc "Tool to process plists by subsituting environment variables"
homepage "https://github.com/samdmarshall/plist-processor"
head "git@github.com:samdmarshall/plist-processor.git", :branch => "develop"
# version "1.0"
# url "https://github.com/samdmarshall/plist-processor/archive/v1.0.tar.gz"
# sha256 "c1731272ba6b46fe7ce719653d7f088c3733aea0566ae69f7e2d415f6fedfd3f"
version "1.1"
url "https://github.com/samdmarshall/plist-processor/archive/v1.1.tar.gz"
sha256 "d479641010a7caa78b579e522573136977b2bddf8f5c664833ebab78b3fa6a91"
depends_on "pbPlist" => :python
depends_on "biplist" => :python
depends_on "python"
def install
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
end