# $OpenBSD: Makefile,v 1.14 2017/06/28 18:02:23 shadchin Exp $ COMMENT= HTML parser/tokeniser based for HTML5 MODPY_EGG_VERSION= 0.999999999 DISTNAME= html5lib-${MODPY_EGG_VERSION} PKGNAME= py-${DISTNAME} CATEGORIES= devel www textproc HOMEPAGE= https://github.com/html5lib/html5lib-python/ MAINTAINER = Sean Levy # MIT PERMIT_PACKAGE_CDROM= Yes MODULES= lang/python MODPY_PI = Yes MODPY_SETUPTOOLS = Yes RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \ textproc/py-webencodings${MODPY_FLAVOR} TEST_DEPENDS = ${RUN_DEPENDS} \ devel/py-test${MODPY_FLAVOR} \ devel/py-test-expect${MODPY_FLAVOR} \ textproc/py-chardet${MODPY_FLAVOR} \ textproc/py-lxml${MODPY_FLAVOR} FLAVORS = python3 FLAVOR ?= do-test: cd ${WRKSRC} && ${MODPY_BIN} -m pytest .include