# -*- 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           github 1.0
PortGroup           python 1.0

set realname        requests-file
github.setup        dashea ${realname} 1.5.1
name                py-${realname}
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}
platforms           darwin

python.versions     27 36 37 38 39

checksums           rmd160  5a18a101969740f5e8b42ddd963c740e76699e8d \
                    sha256  d877270b3b6f9d4847b0a19f24182bc059e2e218686c89259530ef27506ed37c \
                    size    5998

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

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

    livecheck.type  none
}
