# -*- 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 BSD version 4.3.1 categories-append textproc platforms darwin maintainers lightnin openmaintainer 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.3/ distname beautifulsoup4-${version} checksums md5 508095f2784c64114e06856edc1dafed \ sha1 59db0ac4c38f44111bfd5c2e642753b9dd52b75f \ rmd160 8714f9854161019544e126d6d4aa89eb641d7f3b python.versions 25 26 27 31 32 python.default_version 27 livecheck.type regex livecheck.regex (4\\.\[0-9.\]+) if {${subport} != ${name}} { 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 }