# -*- 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 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 set _name lxml set _n [string index ${_name} 0] name py-${_name} version 3.6.0 categories-append devel platforms darwin license BSD python.versions 26 27 33 34 35 maintainers petr 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://lxml.de/ master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 5957cc384bd6e83934be35c057ec03b6 \ rmd160 c9b12725206623b6c052a86641fe920b6d7bd56c \ sha256 9c74ca28a7f0c30dca8872281b3c47705e21217c8bc63912d95c9e2a7cac6bdf if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools depends_lib-append port:zlib \ port:libxml2 \ port:libxslt livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }