# -*- 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-protego
version                 0.5.0
maintainers             {khindenburg @kurthindenburg} openmaintainer
platforms               {darwin any}
supported_archs         noarch

description             Protego is a pure-Python `robots.txt` parser with support \
                        for modern conventions.
long_description        {*}${description}
license                 BSD
homepage                https://pypi.python.org/pypi/Protego

checksums               rmd160  d7cd64df345a882ce538a754130c91a851d8caaf \
                        sha256  225dee0acfcc71de8c6f7cef9c618e5a9d3e7baa7ae1470b8d076a064033c463 \
                        size    3137494

python.versions         39 310 311 312 313

python.pep517_backend   hatch

if {${name} ne ${subport}} {
    depends_test-append port:py${python.version}-pytest

    test.run            yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}

}
