# -*- 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-requirements-parser
version             0.13.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         Parses Pip requirement files
long_description    {*}${description}

distname            requirements_parser-${version}

homepage            https://github.com/davidfischer/requirements-parser

checksums           rmd160  164b952c08c12821d6c2337c5fefb975edb01462 \
                    sha256  0843119ca2cb2331de4eb31b10d70462e39ace698fd660a915c247d2301a4418 \
                    size    22630

python.versions     313
python.pep517_backend poetry

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-packaging

    test.run        yes
}
