Files
macports-ports/python/py-tinycss2/Portfile
T
2025-11-24 21:37:02 -05:00

45 lines
1.5 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 python 1.0
name py-tinycss2
version 1.5.1
revision 0
categories-append graphics
supported_archs noarch
platforms {darwin any}
license BSD
maintainers {reneeotten @reneeotten} openmaintainer
description tinycss2 is a low-level CSS parser and generator written in Python
long_description {*}${description}: it can parse strings, return objects representing \
tokens and blocks, and generate CSS strings corresponding to these objects.
homepage https://www.courtbouillon.org/tinycss2
checksums rmd160 ef3051c8abf02c446df29ecc314576c210edf629 \
sha256 d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957 \
size 88195
python.versions 39 310 311 312 313 314
python.pep517_backend flit
if {${name} ne ${subport}} {
if {${python.version} == 39} {
version 1.4.0
revision 0
checksums rmd160 2ca381c29faeca92dd356753485f06d244667152 \
sha256 10c0972f6fc0fbee87c3edb76549357415e94548c1ae10ebccdea16fb404a9b7 \
size 87085
}
depends_lib-append \
port:py${python.version}-webencodings
test.run yes
test.env-append PYTHONPATH=${destroot}${python.pkgd}
}