cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document. This module used to live inside of lxml as lxml.cssselect before it was extracted as a stand-alone project.
23 lines
451 B
Makefile
23 lines
451 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/11/09 13:57:49 sthen Exp $
|
|
|
|
COMMENT = parse CSS3 Selectors and translates them to XPath 1.0
|
|
|
|
MODPY_EGG_VERSION = 0.9.1
|
|
DISTNAME = cssselect-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = https://pypi.python.org/pypi/cssselect
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=c/cssselect/}
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
.include <bsd.port.mk>
|