# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-xlwt
version             0.7.5
python.versions     25 26 27
python.default_version 27
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  80735e827ca5814d317d1c111775f872f9027422 \
                    sha256  9478bd70b86590b9ac2697967c8a10a4917d900636349ca73eeb362a3227423c


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