# -*- 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 github 1.0 PortGroup python 1.0 name py-acme github.setup certbot certbot 3.0.0 v revision 0 categories-append security license Apache-2 maintainers {mps @Schamschula} openmaintainer description ACME protocol implementation in Python. long_description {*}${description} homepage https://certbot.eff.org/ supported_archs noarch platforms {darwin any} python.versions 39 310 311 312 checksums rmd160 55507374f58201747e3fc252708d9ed5436ddf49 \ sha256 9e33113b21fc93e21ce03f78e0b7c81fd48eacbe940380580903e4336dbb543c \ size 2324065 if {${name} ne ${subport}} { build.dir ${worksrcpath}/acme depends_build-append \ port:py${python.version}-funcsigs \ port:py${python.version}-mock \ port:py${python.version}-setuptools depends_lib-append \ port:py${python.version}-cryptography \ port:py${python.version}-josepy \ port:py${python.version}-openssl \ port:py${python.version}-requests \ port:py${python.version}-pyrfc3339 \ port:py${python.version}-tz variant docs description {Build man pages} { depends_lib-append \ port:py${python.version}-repoze.sphinx.autointerface \ port:py${python.version}-sphinx \ port:py${python.version}-sphinx_rtd_theme post-build { set env(doc_path) ${worksrcpath}/acme/docs set env(python_branch) ${python.branch} exec sh -c {cd $doc_path && sphinx-build-$python_branch -N -b man . _build/man} >@stdout } post-destroot { xinstall -d ${destroot}${prefix}/share/man/man1 xinstall -d ${destroot}${prefix}/share/man/man7 xinstall -m 640 ${worksrcpath}/acme/docs/_build/man/acme-python.1 \ ${destroot}${prefix}/share/man/man1/ xinstall -m 640 ${worksrcpath}/acme/docs/_build/man/jws.1 \ ${destroot}${prefix}/share/man/man1/ } } }