source: trunk/dports/python/py-beautifulsoup4/Portfile

Last change on this file was 153851, checked in by mf2k@…, 10 months ago

py-beautifulsoup py-beautifulsoup4 py-flup py-html5lib py-pybtex py-pyrex py-soaplib py-vobject py-yaml: Ports abandoned. (#52195)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 153851 2016-10-13 16:31:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-beautifulsoup4
8license             MIT
9version             4.4.1
10categories-append   textproc
11platforms           darwin
12maintainers         nomaintainer
13supported_archs     noarch
14
15description         Python HTML/XML parser
16long_description    Beautiful Soup is a Python HTML/XML parser designed for \
17                    quick turnaround projects like screen-scraping.
18
19homepage            http://www.crummy.com/software/BeautifulSoup/
20master_sites        http://www.crummy.com/software/BeautifulSoup/bs4/download/4.4/
21distname            beautifulsoup4-${version}
22checksums           rmd160  1ae89b456336edd2a5c4cb9b879984be7622f29c \
23                    sha256  87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4
24
25python.versions     26 27 33 34 35
26
27livecheck.type      regex
28livecheck.regex     (4\\.\[0-9.\]+)
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:py${python.version}-setuptools
32
33    variant html5lib description {Build with HTML5 support} {
34        depends_lib-append  port:py${python.version}-html5lib
35    }
36
37    variant lxml description {Build with lxml support} {
38        depends_lib-append  port:py${python.version}-lxml
39    }
40
41    post-destroot   {
42        set docdir ${prefix}/share/doc/${subport}
43        xinstall -d ${destroot}${docdir}
44        xinstall -m 644 -W ${worksrcpath} \
45            AUTHORS.txt \
46            COPYING.txt \
47            NEWS.txt \
48            PKG-INFO \
49            README.txt \
50            ${destroot}${docdir}
51    }
52
53    default_variants    +html5lib +lxml
54}
Note: See TracBrowser for help on using the repository browser.