# $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $

PortSystem			1.0
PortGroup			python25 1.0

name				py25-nose
version				0.10.4
categories-append		www
maintainers			openmaintainer stechert akitada
description			A Python unittest extension.
long_description		A unittest extension offering automatic test \
				suite discovery, simplified test authoring, \
				and output capture. Nose provides an alternate \
				test discovery and running process for \
				unittest, one that is intended to mimic the \
				behavior of py.test as much as is reasonably \
				possible without resorting to magic.

platforms			darwin

homepage			http://somethingaboutorange.com/mrl/projects/nose/
master_sites			${homepage}
distname			nose-${version}

depends_lib			port:py25-setuptools

checksums           md5     4b4aec226d03f1d8465336a88d7183c4 \
                    sha1    e0235c0d4dad211357c073df2376f1d9775d342c \
                    rmd160  0a855579c2401f7a353d915b5ce21a7aa3dd5197

patch {
	reinplace "s|man/man|share/man/man|" ${worksrcpath}/setup.py
}

livecheck.check     regex
livecheck.regex     {Current version: (\d+(?:\.\d+)*)}
