Skip to content

Instantly share code, notes, and snippets.

@loganlinn
Created June 2, 2020 22:46
Show Gist options
  • Save loganlinn/56550d2a956a5e8c375fe26e794c6f6e to your computer and use it in GitHub Desktop.
Save loganlinn/56550d2a956a5e8c375fe26e794c6f6e to your computer and use it in GitHub Desktop.
class Nbconvert < Formula
include Language::Python::Virtualenv
desc "Converts notebooks to various other formats via Jinja templates"
homepage "https://nbconvert.readthedocs.io/"
url "https://files.pythonhosted.org/packages/04/f2/299fa4b15155ecbe2aefe7412249f0dd91f953b7a9b37c336317d564a1ca/nbconvert-5.6.1.tar.gz"
sha256 "21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523"
head "https://github.com/jupyter/nbconvert.git"
depends_on "[email protected]"
def install
virtualenv_install_with_resources
bin.install "nbconvert"
end
def test
assert_equal "5.6.1", shell_output("#{bin}/nbconvert --version")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment