Files

47 lines
1.7 KiB
Tcl
Raw Permalink Normal View History

2017-02-27 13:07:27 -07:00
# -*- 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
2019-11-16 15:05:22 -05:00
revision 0
2017-02-27 13:07:27 -07:00
name py-tinycss
categories-append graphics
2017-02-27 13:07:27 -07:00
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.
2019-11-16 15:05:22 -05:00
homepage https://tinycss.readthedocs.io
2017-02-27 13:07:27 -07:00
checksums rmd160 bbfe212d317350f8e877ce898805ae4509f738c5 \
2019-11-16 15:05:22 -05:00
sha256 fd4828775c8711c159c60323bbd8bdbe3c38a1ea95f615c5158294a8923080f4 \
size 45412
2017-02-27 13:07:27 -07:00
2021-04-05 23:02:28 -04:00
python.versions 27 35 36 37 38 39
2017-02-27 13:07:27 -07:00
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-cython \
2019-11-16 15:05:22 -05:00
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}
}
2017-02-27 13:07:27 -07:00
livecheck.type none
}