# -*- 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-requests-file
python.rootname     requests_file
version             3.0.0
revision            0
license             Apache-2
maintainers         {mps @Schamschula} openmaintainer
description         Requests-File is a transport adapter for use with the Requests \
                    Python library to allow local filesystem access via file:// URLs.
long_description    {*}${description}
homepage            https://codeberg.org/dashea/requests-file

supported_archs     noarch
platforms           {darwin any}

python.versions     39 310 311 312 313 314

checksums           rmd160  2329118f231aee61cae0cdbd4ac3b0c3df88581f \
                    sha256  68789589cfde7098e8933fe3e69bbd864f7f0c22f118937b424d94d0e1b7760f \
                    size    6897

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

    depends_lib-append  \
                    port:py${python.version}-requests
}
