Skip to content
Permalink
Browse files

py-sphinx-[gallery|-bootstrap-theme]: New ports.

  • Loading branch information
eborisch committed Apr 23, 2019
1 parent fb9261c commit 40c53e43d0fdd8bbf8e661bb1e8b9207315d0056
Showing with 69 additions and 0 deletions.
  1. +34 −0 python/py-sphinx-bootstrap-theme/Portfile
  2. +35 −0 python/py-sphinx-gallery/Portfile
@@ -0,0 +1,34 @@
# -*- 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 github 1.0

github.setup ryan-roemer sphinx-bootstrap-theme v0.7.1
name py-sphinx-bootstrap-theme
platforms darwin
supported_archs noarch
license MIT
maintainers nomaintainer

description Sphinx bootstrap theme.
long_description ${description}

checksums \
rmd160 b57d6742d215223f9b4e995b3456ff00ae0c32ec \
sha256 df0cafc62db5768f2b595a0709099d2ff65bf19b1c19855bdfd9e1d6a1af6bfb \
size 1253883

python.versions 27 36 37

if {${subport} ne ${name}} {
depends_build port:py${python.version}-setuptools
livecheck.type none

post-destroot {
set DOCDIR "${destroot}${prefix}/share/doc/${subport}"
xinstall -d ${DOCDIR}
xinstall -m 0644 -W ${worksrcpath} LICENSE.txt ${DOCDIR}
}
}

@@ -0,0 +1,35 @@
# -*- 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 github 1.0

github.setup sphinx-gallery sphinx-gallery 0.3.1 v
name py-sphinx-gallery
platforms darwin
supported_archs noarch
license BSD
maintainers nomaintainer

description Extension for automatic generation of an example gallery
long_description ${description}

checksums \
rmd160 e1171e7d9d86f8c3c104574edcde8bbdfeef1cb8 \
sha256 bd8dea86dacf48091229c2d7737bbf6efa5a9dd5b49060f232d0c232cfbcc563 \
size 383518

python.versions 27 36 37

if {${subport} ne ${name}} {
depends_build port:py${python.version}-setuptools \
port:py${python.version}-pytest-runner
livecheck.type none

post-destroot {
set DOCDIR "${destroot}${prefix}/share/doc/${subport}"
xinstall -d ${DOCDIR}
xinstall -m 0644 -W ${worksrcpath} LICENSE ${DOCDIR}
}
}

0 comments on commit 40c53e4

Please sign in to comment.
You can’t perform that action at this time.