From 74e4e1d7fbed872f64f0f1dd39401a85961fff61 Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Tue, 6 Oct 2015 11:05:29 +0400 Subject: [PATCH] docutils 0.12 (new formula) Closes #910. Signed-off-by: Andrew Janke --- Formula/docutils.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Formula/docutils.rb diff --git a/Formula/docutils.rb b/Formula/docutils.rb new file mode 100644 index 0000000000..098d146e3b --- /dev/null +++ b/Formula/docutils.rb @@ -0,0 +1,14 @@ +class Docutils < Formula + desc "Text processing system for reStructuredText" + homepage "http://docutils.sourceforge.net" + url "https://downloads.sourceforge.net/project/docutils/docutils/0.12/docutils-0.12.tar.gz" + sha256 "c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa" + + def install + system "python", *Language::Python.setup_install_args(prefix) + end + + test do + system "#{bin}/rst2man.py", "#{prefix}/HISTORY.txt" + end +end