# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $

PortSystem        1.0
PortGroup         python31 1.0

name              py31-lxml
version           2.3
categories        python devel
platforms         darwin
license           BSD
maintainers       nomaintainer
description       Powerful and Pythonic XML processing library
long_description  lxml is a Pythonic binding for the libxml2 and libxslt \
                  libraries. It is unique in that it combines the speed and \
                  feature completeness of these libraries with the \
                  simplicity of a native Python API, mostly compatible but \
                  superior to the well-known ElementTree API.

homepage          http://codespeak.net/lxml/
master_sites      http://pypi.python.org/packages/source/l/lxml/
checksums         md5     a245a015fd59b63e220005f263e1682a \
                  sha1    2384caa37b94b312d97d3e4b773aeccca94f9c76 \
                  rmd160  fb74261101027506a480729dfd5ef303c29d14d5
distname          lxml-${version}
depends_lib-append port:libxml2 port:libxslt

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "lxml-(\\d+(?:\\.\\d+)*)${extract.suffix}"
