# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-cssutils
version 1.0.2
categories python www
maintainers nomaintainer
license LGPL-3+
supported_archs noarch
description CSS parser and library for Python
long_description A Python package to parse and build \
CSS Cascading Style Sheets.
platforms darwin
python.versions 26 27 34 35 36
homepage http://cthedot.de/cssutils/
master_sites https://bitbucket.org/cthedot/cssutils/downloads/
distname cssutils-${version}
checksums rmd160 ca6af81a4bc73354056a78f0a5644371bd8fa199 \
sha256 a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
post-destroot {
# We should notify upstream not to install tests.
delete ${destroot}${python.pkgd}/tests
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} README.txt \
${destroot}${prefix}/share/doc/${subport}
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex cssutils-(\[0-9.\]+)${extract.suffix}
}