# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-beautifulsoup4 license MIT version 4.4.1 categories-append textproc platforms darwin maintainers nomaintainer supported_archs noarch description Python HTML/XML parser long_description Beautiful Soup is a Python HTML/XML parser designed for \ quick turnaround projects like screen-scraping. homepage http://www.crummy.com/software/BeautifulSoup/ master_sites http://www.crummy.com/software/BeautifulSoup/bs4/download/4.4/ distname beautifulsoup4-${version} checksums rmd160 1ae89b456336edd2a5c4cb9b879984be7622f29c \ sha256 87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4 python.versions 26 27 33 34 35 livecheck.type regex livecheck.regex (4\\.\[0-9.\]+) if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools variant html5lib description {Build with HTML5 support} { depends_lib-append port:py${python.version}-html5lib } variant lxml description {Build with lxml support} { depends_lib-append port:py${python.version}-lxml } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS.txt \ COPYING.txt \ NEWS.txt \ PKG-INFO \ README.txt \ ${destroot}${docdir} } default_variants +html5lib +lxml }