Files
2026-03-14 02:52:27 +11:00

38 lines
1.2 KiB
Tcl

# -*- 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 2.11.1
revision 0
categories python www
maintainers nomaintainer
license LGPL-3+
supported_archs noarch
platforms {darwin any}
description A CSS Cascading Style Sheets library for Python
long_description {*}${description}
python.versions 310 311 312 313 314
homepage https://github.com/jaraco/cssutils
checksums rmd160 80342700ce8dfe871ee02442190884602b8fb2f1 \
sha256 0563a76513b6af6eebbe788c3bf3d01c920e46b3f90c8416738c5cfc773ff8e2 \
size 711657
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst \
${destroot}${docdir}
}
}