termtosvg 0.7.0 (new formula)
Closes #34577. Signed-off-by: Igor Kapkov <igasgeek@me.com>
This commit is contained in:
parent
f36a9902b5
commit
66e6b72997
1 changed files with 21 additions and 0 deletions
21
Formula/termtosvg.rb
Normal file
21
Formula/termtosvg.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Termtosvg < Formula
|
||||
include Language::Python::Virtualenv
|
||||
|
||||
desc "Record terminal sessions as SVG animations"
|
||||
homepage "https://nbedos.github.io/termtosvg"
|
||||
url "https://github.com/nbedos/termtosvg/archive/0.7.0.tar.gz"
|
||||
sha256 "a90cbd2ea29e1bdf4059aa8feb8f19e9f32da5620b447289ac78cde38682c7c2"
|
||||
|
||||
depends_on "python"
|
||||
|
||||
def install
|
||||
venv = virtualenv_create(libexec, "python3")
|
||||
system libexec/"bin/pip", "install", "-U", "-e", "."
|
||||
venv.pip_install_and_link buildpath
|
||||
bin.install_symlink libexec/"bin/termtosvg"
|
||||
end
|
||||
|
||||
test do
|
||||
system libexec/"bin/python", "-m", "unittest", "termtosvg.tests.suite"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue