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

github.setup        lionheart bottlenose 1.1.10
name                py-bottlenose
revision            1

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2

maintainers         nomaintainer

description         A Python wrapper for the Amazon Product Advertising API.
long_description    {*}${description}

github.tarball_from archive

checksums           rmd160  a63666b30af5051546576052616836e4a0b9e9ee \
                    sha256  a4e356eac8c7998091f82f70c30239a99de83729b199e4e053ce3c9acb592df3 \
                    size    116538

python.versions     39 310 311

if {${name} ne ${subport}} {
    patchfiles      patch-setup.py.diff

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md \
            LICENSE ${destroot}${docdir}
    }
}