# -*- 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                howdoi
version             2.0.20
revision            0

categories          devel python
license             MIT
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer

description         instant coding answers via the command line
long_description    {*}${description}

homepage            https://github.com/gleitz/howdoi

checksums           rmd160  4659f8af52e5146758cbe11de1fe92746b61f33e \
                    sha256  51cd40c53e0c0f8f8da88f480eb7423183be2350ab4f0a4d9d4763ca6ac3e2a9 \
                    size    27595

python.default_version 310

depends_build-append \
                    port:py${python.version}-setuptools

depends_lib-append  port:py${python.version}-appdirs \
                    port:py${python.version}-cachelib \
                    port:py${python.version}-cssselect \
                    port:py${python.version}-keep \
                    port:py${python.version}-lxml \
                    port:py${python.version}-pygments \
                    port:py${python.version}-pyquery \
                    port:py${python.version}-requests

test.run            yes
test.cmd            ${python.bin} test_howdoi.py
test.target
test.env            PYTHONPATH=${worksrcpath}/build/lib
