Permalink
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (50 sloc) 2.36 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
PortGroup select 1.0
name py-sphinx
version 1.7.8
categories-append textproc devel
license BSD
maintainers {jmr @jmroot} openmaintainer
description Python documentation generator
long_description \
Sphinx is a tool that makes it easy to create intelligent and beautiful \
documentation for Python projects (or other documents consisting of \
multiple reStructuredText sources), written by Georg Brandl. It was \
originally created to translate the new Python documentation, but has now \
been cleaned up in the hope that it will be useful to many other projects.
platforms darwin
supported_archs noarch
homepage http://sphinx-doc.org/
master_sites pypi:S/Sphinx/
distname Sphinx-${version}
checksums rmd160 bd2b8c2f22c97fda1376ebb38a875fd5bc7f6e12 \
sha256 a07050845cc9a2f4026a6035cc8ed795a5ce7be6528bbc82032385c10807dfe7
python.versions 27 34 35 36 37
if {$subport ne $name} {
depends_lib port:py${python.version}-docutils \
port:py${python.version}-setuptools
depends_run port:py${python.version}-alabaster \
port:py${python.version}-babel \
port:py${python.version}-imagesize \
port:py${python.version}-jinja2 \
port:py${python.version}-packaging \
port:py${python.version}-pygments \
port:py${python.version}-requests \
port:py${python.version}-six \
port:py${python.version}-snowballstemmer \
port:py${python.version}-sphinxcontrib-websupport \
port:sphinx_select
if {${python.version} < 35} {
depends_run-append port:py${python.version}-typing
}
select.group sphinx
select.file ${filespath}/py${python.version}-sphinx
notes "
To make the Python ${python.branch} version of Sphinx the one that is run when\
you execute the commands without a version suffix, e.g. 'sphinx-build', run:
port select --set ${select.group} [file tail ${select.file}]
"
livecheck.type none
}