alot: remove options
This commit is contained in:
parent
4ff74e1a73
commit
2c77aadb62
1 changed files with 8 additions and 12 deletions
|
@ -16,14 +16,12 @@ class Alot < Formula
|
|||
sha256 "ba94977585c50e29025be7e592a31809d2f520d50fdb8f023a445dc78ca1bd9d" => :el_capitan
|
||||
end
|
||||
|
||||
option "without-sphinx-doc", "Don't build documentation"
|
||||
|
||||
depends_on "sphinx-doc" => :build
|
||||
depends_on "swig" => :build
|
||||
depends_on "gpgme"
|
||||
depends_on "libmagic"
|
||||
depends_on "notmuch"
|
||||
depends_on "python@2"
|
||||
depends_on "sphinx-doc" => [:build, :recommended]
|
||||
|
||||
resource "Automat" do
|
||||
url "https://files.pythonhosted.org/packages/de/05/b8e453085cf8a7f27bb1226596f4ccf5cc9e758377d60284f990bbdc592c/Automat-0.6.0.tar.gz"
|
||||
|
@ -95,7 +93,6 @@ class Alot < Formula
|
|||
pkgshare.install Dir["extra/*"] - %w[extra/completion]
|
||||
zsh_completion.install "extra/completion/alot-completion.zsh" => "_alot"
|
||||
|
||||
if build.with? "sphinx-doc"
|
||||
ENV["LC_ALL"] = "en_US.UTF-8"
|
||||
ENV["SPHINXBUILD"] = Formula["sphinx-doc"].opt_bin/"sphinx-build"
|
||||
cd "docs" do
|
||||
|
@ -105,7 +102,6 @@ class Alot < Formula
|
|||
doc.install Dir["build/html/*"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/".notmuch-config").write "[database]\npath=#{testpath}/Mail"
|
||||
|
|
Loading…
Reference in a new issue