# -*- 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
python.versions 26 27 33 34 35 36
maintainers {petr @petrrr} 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.
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 9dd038937c8579c0bfa6bf95b845e4945f31c5d0 \
sha256 e2629cdbcad82b83922a3488937632a4983ecc0fed3e5cfbf430d069382eeb9b \
# https://trac.macports.org/ticket/56666
patchfiles-append patch-setupinfo-remove-xcrun-call.diff
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
depends_lib-append port:zlib \
test.cmd ${python.bin} src/lxml/tests/selftest.py
test.env PYTHONPATH=${worksrcpath}/build/lib