treeline: migrate to boneyard
Closes #6213. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
39cdf78845
commit
760dee0244
2 changed files with 1 additions and 28 deletions
|
@ -1,28 +0,0 @@
|
|||
class Treeline < Formula
|
||||
desc "Advanced outliner and personal information manager"
|
||||
homepage "http://treeline.bellz.org/"
|
||||
url "https://downloads.sourceforge.net/project/treeline/2.0.2/treeline-2.0.2.tar.gz"
|
||||
sha256 "80379b6ebb5b825a02f4b8d0bb65d78f9895db5e25065f85353833e9d8ebd4c8"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on :python3
|
||||
depends_on "sip" => "with-python3"
|
||||
depends_on "pyqt" => "with-python3"
|
||||
|
||||
def install
|
||||
pyver = Language::Python.major_minor_version "python3"
|
||||
ENV.delete "PYTHONPATH"
|
||||
%w[sip pyqt].each do |f|
|
||||
ENV.append_path "PYTHONPATH", "#{Formula[f].opt_lib}/python#{pyver}/site-packages"
|
||||
end
|
||||
|
||||
system "./install.py", "-p#{libexec}"
|
||||
bin.install Dir[libexec/"bin/*"]
|
||||
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"treeline", "--help"
|
||||
end
|
||||
end
|
|
@ -312,6 +312,7 @@
|
|||
"tokyo-tyrant": "homebrew/boneyard",
|
||||
"trang": "homebrew/boneyard",
|
||||
"transmission-remote-gtk": "homebrew/gui",
|
||||
"treeline": "homebrew/boneyard",
|
||||
"ttytter": "homebrew/boneyard",
|
||||
"tuntap": "caskroom/cask",
|
||||
"tup": "homebrew/fuse",
|
||||
|
|
Loading…
Reference in a new issue