mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
38 lines
1.1 KiB
Ruby
38 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Sphinx < Package
|
|
description 'Sphinx is a tool that makes it easy to create intelligent and beautiful documentation.'
|
|
homepage 'https://www.sphinx-doc.org/'
|
|
@_ver = '3.5.4'
|
|
version @_ver
|
|
license 'BSD'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/sphinx-doc/sphinx.git'
|
|
git_hashtag 'v' + @_ver
|
|
|
|
depends_on 'py3_jinja2'
|
|
depends_on 'py3_sphinxcontrib_devhelp'
|
|
depends_on 'py3_sphinxcontrib_applehelp'
|
|
depends_on 'py3_sphinxcontrib_jsmath'
|
|
depends_on 'py3_sphinxcontrib_serializinghtml'
|
|
depends_on 'py3_sphinxcontrib_qthelp'
|
|
depends_on 'py3_sphinxcontrib_htmlhelp'
|
|
depends_on 'py3_docutils'
|
|
depends_on 'py3_imagesize'
|
|
depends_on 'py3_requests'
|
|
depends_on 'py3_babel'
|
|
depends_on 'py3_alabaster'
|
|
depends_on 'py3_pygments'
|
|
depends_on 'py3_packaging'
|
|
depends_on 'py3_snowballstemmer'
|
|
depends_on 'py3_setuptools' => :build
|
|
|
|
def self.build
|
|
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
|
end
|
|
|
|
def self.install
|
|
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
|
end
|
|
end
|