# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-unittest2 version 0.5.1 revision 1 license PSF maintainers aronnax openmaintainer python.versions 26 27 33 34 description New features in the unittest library long_description \ unittest2 is a backport of the new features added to the unittest testing \ framework in Python 2.7. It is tested to run on Python 2.4 - 2.7. To use \ unittest2 instead of unittest simply replace import unittest with \ import unittest2. platforms darwin supported_archs noarch homepage http://pypi.python.org/pypi/unittest2 if {${name} eq ${subport}} { livecheck.type regex livecheck.url {http://pypi.python.org/pypi?:action=doap&name=unittest2} livecheck.regex {([^<]+)} } else { livecheck.type none if {${python.version} < 30} { master_sites pypi:u/unittest2/ distname unittest2-${version} checksums md5 a0af5cac92bbbfa0c3b0e99571390e0f \ rmd160 aa83b1d6dedaa71a9e6d3bed4028e855bef04821 \ sha256 aa5de8cdf654d843379c97bd1ee240e86356d3355a97b147a6f3f4d149247a71 } else { master_sites pypi:u/unittest2py3k/ distname unittest2py3k-${version} checksums md5 8824ff92044310d9365f90d892bf0f09 \ rmd160 119f837e7af015fc83e8967fa1388f8745d9895f \ sha256 78249c5f1ac508a34d9d131d43a89d77bf154186f3ea5f7a6b993d3f3535d403 } }