freebsd-ports/textproc/py-cssselect2/Makefile
Sunpoet Po-Chuan Hsieh 839c82b7ec Add py-cssselect2 0.2.2
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.

WWW: https://github.com/Kozea/cssselect2
2019-12-13 06:40:17 +00:00

23 lines
501 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= cssselect2
PORTVERSION= 0.2.2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= CSS selectors for Python ElementTree
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>