# -*- 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-imgur
python.rootname     pyimgur
version             0.8.1
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             GPL-3
maintainers         {petr @petrrr} openmaintainer

description         The simple way of using Imgur
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/${python.rootname}}

checksums           rmd160  76a7503c9fac4d00cb5657662fdbf67128153817 \
                    sha256  c316b8e126e36006d31656abe138669db54dd736afe2ac8e6465584c6287dd36 \
                    size    47332

python.pep517_backend hatch
python.versions     312 313

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-requests
}
