# -*- 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.1
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     310 311 312 313 314

checksums           rmd160  fd79f3fc73d2d262c54d674c04d7677a3581da5d \
                    sha256  f14243d7796c588f3521bd423c5dea2ee4cc730e54a3cac9574d78aca1272576 \
                    size    6967

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

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