openbsd-ports/devel/py-html5lib/Makefile
2022-11-14 17:16:53 +00:00

30 lines
650 B
Makefile

COMMENT= HTML parser/tokeniser based for HTML5
MODPY_EGG_VERSION= 1.1
DISTNAME= html5lib-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= devel www textproc
REVISION= 2
HOMEPAGE= https://github.com/html5lib/html5lib-python/
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
textproc/py-webencodings${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
devel/py-test-expect${MODPY_FLAVOR} \
textproc/py-chardet${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>