2015-10-06 07:05:29 +00:00
|
|
|
class Docutils < Formula
|
|
|
|
desc "Text processing system for reStructuredText"
|
|
|
|
homepage "http://docutils.sourceforge.net"
|
2016-12-10 07:42:23 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/docutils/docutils/0.13.1/docutils-0.13.1.tar.gz"
|
|
|
|
sha256 "718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be"
|
2015-10-06 07:05:29 +00:00
|
|
|
|
2016-05-06 17:28:24 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-12-10 08:24:18 +00:00
|
|
|
sha256 "cae7b82e3555eacdd6156c67af59a71d03274b006857ddbc84fe639136b21902" => :sierra
|
|
|
|
sha256 "1a7d2c671cbd6f88c81de7c2abf2cc099794313b082c81ae8079b86d40ad3cd2" => :el_capitan
|
|
|
|
sha256 "1a7d2c671cbd6f88c81de7c2abf2cc099794313b082c81ae8079b86d40ad3cd2" => :yosemite
|
2016-05-06 17:28:24 +00:00
|
|
|
end
|
|
|
|
|
2015-10-06 07:05:29 +00:00
|
|
|
def install
|
|
|
|
system "python", *Language::Python.setup_install_args(prefix)
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/rst2man.py", "#{prefix}/HISTORY.txt"
|
|
|
|
end
|
|
|
|
end
|