# $Id: Portfile 87307 2011-11-16 22:11:39Z mww@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-fpconst
version			0.7.2
revision		1
categories		python
platforms		darwin freebsd
maintainers		nomaintainer
description		IEEE 754 floating point special handling for Python
long_description	This python module implements constants and functions \
				for working with IEEE754 double-precision \
				special values. It provides constants for \
				Not-a-Number (NaN), Positive Infinity (Inf), \
				and Negative Infinity (-Inf), as well as \
				functions to test for these values.

homepage		http://research.warnes.net/projects/rzope/fpconst/
master_sites	http://cheeseshop.python.org/packages/source/f/fpconst/

distname		fpconst-${version}
dist_subdir		${name}/${version}
checksums		md5 10ba9e04129af23108d24c22c3a698b1

post-destroot {
	xinstall -m 644 -W ${worksrcpath} README \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.type	regex
livecheck.url	http://cheeseshop.python.org/pypi/fpconst/
livecheck.regex	fpconst-(\[0-9\.\]+).tar.gz

