# -*- 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 64607 2010-03-10 21:47:08Z blb@macports.org $

PortSystem        1.0
PortGroup         python31 1.0

name              py31-lxml
version           2.2.6
categories        python devel
platforms         darwin
maintainers       blb openmaintainer
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     b1f700fb22d7ee9b977ee3eceb65b20c \
                  sha1    340d8cee8b787e9b2d2ab8ba2ab268460efa9232 \
                  rmd160  6f8cded975cf10b1dd79db22a9f912eaea86363c
distname          lxml-${version}
depends_lib-append port:libxml2 port:libxslt

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