# -*- 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             2.1.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://github.com/dashea/requests-file

supported_archs     noarch
platforms           {darwin any}

python.versions     38 39 310 311 312

checksums           rmd160  daa4e76d86e734a28369505fae3ec5227bb6590c \
                    sha256  0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658 \
                    size    6891

if {${name} ne ${subport}} {
    python.pep517   yes

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

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