# -*- 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
description Rolling backport of unittest.mock for all Pythons
long_description ${description}
homepage https://mock.readthedocs.org/en/latest/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums sha256 83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 \
rmd160 45ba6e6c2b53e92b62bcf54be579ddb9f9087177 \
python.versions 27 34 35 36 37 38
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
port:py${python.version}-six
if {${python.version} eq 27} {
port:py${python.version}-funcsigs
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
CHANGELOG.rst ${destroot}${docdir}