# -*- 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: Portfile 91957 2012-04-14 02:26:36Z snc@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-xlwt
version             0.7.4
python.versions     25 26 27
python.default_version 27
categories          python
platforms           darwin
maintainers         snc openmaintainer
license             BSD
description         python module for writing Excel spreadsheets
long_description    xlwt is a library for generating spreadsheet \
                    files that are compatible with Excel 97/2000/XP/2003, \
                    OpenOffice.org Calc, and Gnumeric. xlwt has full support \
                    for Unicode. Excel spreadsheets can be generated on any \
                    platform without needing Excel or a COM server. The only \
                    requirement is Python 2.3 to 2.6. \
                    xlwt is a fork of pyExcelerator.

homepage            http://www.python-excel.org
master_sites        http://pypi.python.org/packages/source/x/xlwt/
distname            xlwt-${version}
checksums           rmd160  bc49427b05bbc800f21d43dc9bc7a894b1cc188b \
                    sha256  06b990a55337fc62fb86d9115b8054808323ea66c707f1fcf1c1cf55ca39308f


if {$name != $subport} {
    livecheck.type  none
} else {
    livecheck.type  regex
    livecheck.url   http://pypi.python.org/pypi/xlwt
    livecheck.regex xlwt (\\d+\\.\\d+\\.\\d+)
}
