SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
37
www/py-html5-parser/Makefile
Normal file
37
www/py-html5-parser/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
|||
COMMENT = fast C based HTML 5 parsing for python
|
||||
|
||||
MODPY_EGG_VERSION = 0.4.10
|
||||
|
||||
DISTNAME = html5-parser-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 2
|
||||
|
||||
CATEGORIES = www
|
||||
|
||||
HOMEPAGE = https://html5-parser.readthedocs.io
|
||||
|
||||
# Apache 2.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
WANTLIB += pthread xml2
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
MODPY_PYTEST = Yes
|
||||
MODPY_PYTEST_ARGS = test/*py
|
||||
|
||||
TEST_ENV += PYTHONPATH=${WRKSRC}/lib.openbsd-${OSREV}-${ARCH}-${MODPY_VERSION}/
|
||||
|
||||
LIB_DEPENDS = textproc/libxml
|
||||
|
||||
RUN_DEPENDS = textproc/py-chardet${MODPY_FLAVOR} \
|
||||
textproc/py-lxml${MODPY_FLAVOR}
|
||||
|
||||
TEST_DEPENDS = www/py-beautifulsoup4${MODPY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue