Files
2021-04-09 21:04:33 -04:00

47 lines
1.7 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
github.setup Kozea tinycss 0.4 v
revision 0
name py-tinycss
categories-append graphics
platforms darwin
license BSD
maintainers nomaintainer
description CSS parser for Python
long_description tinycss is a complete yet simple CSS parser for Python. It supports the full syntax and error handling \
for CSS 2.1 as well as some CSS 3 modules: CSS Color 3, CSS Fonts 3, CSS Paged Media 3. It is designed \
to be easy to extend for new CSS modules and syntax, and integrates well with cssselect for Selectors 3 \
support.
homepage https://tinycss.readthedocs.io
checksums rmd160 bbfe212d317350f8e877ce898805ae4509f738c5 \
sha256 fd4828775c8711c159c60323bbd8bdbe3c38a1ea95f615c5158294a8923080f4 \
size 45412
python.versions 27 35 36 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-cython \
port:py${python.version}-setuptools \
port:py${python.version}-pytest-runner
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst CHANGES \
LICENSE ${destroot}${docdir}
}
livecheck.type none
}