BSD Ports

textproc/py-cssselect2 0.4.1_1 MidnightBSD

CSS selectors for Python ElementTree

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

Description

cssselect2 is a straightforward implementation of CSS3 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, html5lib, etc.)

Unlike cssselect, it does not translate selectors to XPath and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect.

In the other systems

SystemPortVersion
MidnightBSDtextproc/py-cssselect20.4.1_1
FreeBSDtextproc/py-cssselect20.10.1
OpenBSDtextproc/py-cssselect20.9.0p0
NetBSDtextproc/py-cssselect20.10.1
DragonFlytextproc/py-cssselect20.8.0
HardenedBSDtextproc/py-cssselect20.10.1
GhostBSDtextproc/py-cssselect20.10.1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}cssselect2

From mports:

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

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

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

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

Build dependencies 1
Run dependencies 2

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
cssselect2-0.4.1.tar.gz3275693fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8
Master sites 1
  • PYPI