# $Id: Portfile 71502 2010-09-15 12:31:50Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                py26-colormath
version             1.0.8
categories-append   math
maintainers         nomaintainer
description         Simplify color math operations in python
long_description \
   The python-colormath is a python module that abstracts common color math \
   operations

platforms           darwin

homepage            http://code.google.com/p/python-colormath/
master_sites        http://pypi.python.org/packages/source/c/colormath/
distname            colormath-${version}

checksums           md5     ab964099bed6de95ea9d1110419cf356 \
                    sha1    de2e2119cbc30b04314e547da8702474749d116f \
                    rmd160  275c658ef867832a6c4f20697ac854f80e7000dd

depends_lib-append  port:py26-numpy

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

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     {colormath-([0-9.]+)\.tar\.gz}

