Add latest version of Sphinx (#4264)
* Add latest version of Sphinx * Flake8 fix
This commit is contained in:
@@ -28,24 +28,47 @@
|
||||
class PySphinx(PythonPackage):
|
||||
"""Sphinx Documentation Generator."""
|
||||
homepage = "http://sphinx-doc.org"
|
||||
url = "https://pypi.io/packages/source/S/Sphinx/Sphinx-1.5.5.tar.gz"
|
||||
url = "https://pypi.io/packages/source/S/Sphinx/Sphinx-1.6.1.tar.gz"
|
||||
|
||||
import_modules = [
|
||||
'sphinx', 'sphinx.testing', 'sphinx.ext', 'sphinx.pycode',
|
||||
'sphinx.search', 'sphinx.transforms', 'sphinx.builders',
|
||||
'sphinx.directives', 'sphinx.util', 'sphinx.environment',
|
||||
'sphinx.writers', 'sphinx.domains', 'sphinx.locale',
|
||||
'sphinx.ext.napoleon', 'sphinx.ext.autosummary', 'sphinx.pycode.pgen2',
|
||||
'sphinx.transforms.post_transforms', 'sphinx.util.stemmer',
|
||||
'sphinx.environment.collectors', 'sphinx.environment.adapters'
|
||||
]
|
||||
|
||||
version('1.6.1', '26cb1cdca7aa4afc8c925d926b6268e7')
|
||||
version('1.5.5', 'f9581b3556df9722143c47290273bcf8')
|
||||
version('1.4.5', '5c2cd2dac45dfa6123d067e32a89e89a')
|
||||
version('1.3.1', '8786a194acf9673464c5455b11fd4332')
|
||||
|
||||
extends('python', ignore='bin/(pybabel|pygmentize)')
|
||||
|
||||
# Sphinx requires at least Python 2.7 or 3.4 to run
|
||||
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
|
||||
|
||||
# Most Python packages only require py-setuptools as a build dependency.
|
||||
# However, py-sphinx requires py-setuptools during runtime as well.
|
||||
depends_on('py-setuptools', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type=('build', 'run'))
|
||||
|
||||
depends_on('py-six@1.4:', type=('build', 'run'))
|
||||
depends_on('py-jinja2@2.3:', type=('build', 'run'))
|
||||
depends_on('py-pygments@2.0:', type=('build', 'run'))
|
||||
depends_on('py-docutils@0.11:', type=('build', 'run'))
|
||||
depends_on('py-snowballstemmer@1.1:', type=('build', 'run'))
|
||||
depends_on('py-babel@1.3:', type=('build', 'run')) # not 2.0
|
||||
depends_on('py-alabaster@0.7:', type=('build', 'run'))
|
||||
depends_on('py-imagesize', when='@1.4:', type=('build', 'run'))
|
||||
depends_on('py-sphinx-rtd-theme@0.1:', type=('build', 'run')) # optional as of 1.4
|
||||
depends_on('py-six@1.5:', type=('build', 'run'))
|
||||
depends_on('py-jinja2@2.3:', type=('build', 'run'))
|
||||
depends_on('py-pygments@2.0:', type=('build', 'run'))
|
||||
depends_on('py-docutils@0.11:', type=('build', 'run'))
|
||||
depends_on('py-snowballstemmer@1.1:', type=('build', 'run'))
|
||||
depends_on('py-babel@1.3:', type=('build', 'run')) # not 2.0
|
||||
depends_on('py-alabaster@0.7.0:0.7.999', type=('build', 'run'))
|
||||
depends_on('py-imagesize', when='@1.4:', type=('build', 'run'))
|
||||
depends_on('py-requests@2.0.0:', type=('build', 'run'))
|
||||
depends_on('py-typing', type=('build', 'run'))
|
||||
depends_on('py-sphinxcontrib-websupport', type=('build', 'run'))
|
||||
depends_on('py-sphinx-rtd-theme@0.1:', type=('build', 'run')) # optional as of 1.4
|
||||
|
||||
# TODO: Add a 'test' deptype
|
||||
# depends_on('py-pytest', type='test')
|
||||
# depends_on('py-mock', type='test')
|
||||
# depends_on('py-simplejson', type='test')
|
||||
# depends_on('py-html5lib', type='test')
|
||||
|
Reference in New Issue
Block a user