BSD Ports

textproc/py-tinycss2 1.4.0_1 MidnightBSD

Low-level CSS parser for Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
textproc, python

Description

tinycss2 is a low-level CSS parser and generator: it can parse strings, return Python objects representing tokens and blocks, and generate CSS strings corresponding to these objects.

Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS but doesn't know specific rules, properties or values supported in various CSS modules.

In the other systems

SystemPortVersion
MidnightBSDtextproc/py-tinycss21.4.0_1
FreeBSDtextproc/py-tinycss21.5.1
OpenBSDtextproc/py-tinycss21.5.1p0
NetBSDtextproc/py-tinycss21.5.1
DragonFlytextproc/py-tinycss21.4.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}tinycss2

From mports:

cd /usr/mports/textproc/py-tinycss2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tinycss2>0:textproc/py-tinycss2

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
tinycss2-1.4.0.tar.gz8708510c0972f6fc0fbee87c3edb76549357415e94548c1ae10ebccdea16fb404a9b7
Master sites 1
  • PYPI