# -*- 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.6.0
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  1ca73c52b10ffd96d46967dd7534ed2a8e18e05a \
                    sha256  f776ca7f14663bd9ac14a1380db62c87ed32231d159d2d167ad1cb817dcb9144 \
                    size    33327

# Note: Py3 compatibility is still not "officially" declared. However,
# the modules seems to work decently well with Py3 and its needed for as
# dependency.
python.versions     312

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