# -*- 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

name                py-sphinxcontrib-bibtex
version             2.6.1
revision            0

categories-append   textproc devel
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         nomaintainer

description         Sphinx extension for BibTeX style citations
long_description    {*}${description}

homepage            https://github.com/mcmtroffaes/sphinxcontrib-bibtex

checksums           rmd160  a6421deebac3fb19cfde65fbe86ad083b488af79 \
                    sha256  046b49f070ae5276af34c1b8ddb9bc9562ef6de2f7a52d37a91cb8e53f54b863 \
                    size    117150

python.versions     310 311 312

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-sphinx \
                    port:py${python.version}-docutils \
                    port:py${python.version}-pybtex \
                    port:py${python.version}-pybtex-docutils
    if {${python.version} < 310} {
        depends_lib-append  port:py${python.version}-importlib-metadata
    }
}
