# -*- 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-pretend
version             1.0.9
platforms           darwin
license             BSD
maintainers         {yan12125 @yan12125} openmaintainer

description         A library for stubbing in Python
long_description    ${description}

homepage            https://github.com/alex/pretend
master_sites        pypi:p/pretend
distname            pretend-${version}

checksums           rmd160  17ecfbafe6544976b66a42654d0913b050ef1675 \
                    sha256  c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10 \
                    size    4848

python.versions     27 36

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

    livecheck.type      none
} else {
    livecheck.type      pypi
}
