# -*- 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 27 35 36 37 homepage http://cthedot.de/cssutils/ master_sites https://bitbucket.org/cthedot/cssutils/downloads/ distname cssutils-${version} checksums rmd160 ca6af81a4bc73354056a78f0a5644371bd8fa199 \ sha256 a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf \ size 367038 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools pre-test { reinplace "s|pbr < 1.7.0|pbr|g" ${worksrcpath}/setup.py } depends_test-append \ port:py${python.version}-mock \ port:py${python.version}-nose \ port:py${python.version}-pbr test.run yes test.cmd nosetests-${python.branch} test.target test.env PYTHONPATH=${worksrcpath}/build/lib 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} }