source: trunk/dports/python/py-sphinx/Portfile

Last change on this file was 153480, checked in by jmr@…, 12 months ago

py-sphinx: update to 1.4.8

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- 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
2# $Id: Portfile 153480 2016-10-02 06:05:09Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7
8name                py-sphinx
9version             1.4.8
10categories-append   textproc devel
11license             BSD
12maintainers         jmr gmail.com:michel.sylvan openmaintainer
13description         Python documentation generator
14long_description \
15    Sphinx is a tool that makes it easy to create intelligent and beautiful \
16    documentation for Python projects (or other documents consisting of \
17    multiple reStructuredText sources), written by Georg Brandl. It was \
18    originally created to translate the new Python documentation, but has now \
19    been cleaned up in the hope that it will be useful to many other projects.
20
21platforms           darwin
22supported_archs     noarch
23
24homepage            http://sphinx-doc.org/
25master_sites        pypi:S/Sphinx/
26distname            Sphinx-${version}
27
28checksums           md5 5ec718a4855917e149498bba91b74e67 \
29                    rmd160 8feaf5394620fbb1063707288809f1ef59db4de8 \
30                    sha256 41af978f653ef862eb4bb3776dabd8ff13afed17e431907310fe990a3947707f
31
32python.versions     26 27 33 34 35
33
34if {$subport ne $name} {
35    depends_lib     port:py${python.version}-docutils \
36                    port:py${python.version}-setuptools
37    depends_run     port:py${python.version}-alabaster \
38                    port:py${python.version}-babel \
39                    port:py${python.version}-imagesize \
40                    port:py${python.version}-jinja2 \
41                    port:py${python.version}-pygments \
42                    port:py${python.version}-six \
43                    port:py${python.version}-snowballstemmer \
44                    port:sphinx_select
45
46    select.group    sphinx
47    select.file     ${filespath}/py${python.version}-sphinx
48
49    notes "
50To make the Python ${python.branch} version of Sphinx the one that is run when\
51you execute the commands without a version suffix, e.g. 'sphinx-build', run:
52
53port select --set ${select.group} [file tail ${select.file}]
54"
55
56    livecheck.type  none
57} else {
58    livecheck.type  regex
59    livecheck.regex {<p>Current version: <b>([0-9.]+).?</b></p>}
60}
Note: See TracBrowser for help on using the repository browser.