# -*- 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 5.3.0 v github.tarball_from archive 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/ distname acme-${version} supported_archs noarch platforms {darwin any} checksums rmd160 e71322cf02ea5339f21a8e85d6fe3be3c5e2156d \ sha256 70d68579a820be72b25f419540ebd7e1bea24f198460ea6a811c127311c679d0 \ size 2333954 python.versions 310 311 312 313 314 if {${name} ne ${subport}} { 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 configure.dir ${worksrcpath}/acme build.dir ${configure.dir} 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 -m 640 ${configure.dir}/docs/_build/man/acme-python.1 \ ${destroot}${prefix}/share/man/man1/ xinstall -m 640 ${configure.dir}/docs/_build/man/jws.1 \ ${destroot}${prefix}/share/man/man1/ } } }