openbsd-ports/www/py-bleach/Makefile
2022-11-13 15:30:15 +00:00

28 lines
575 B
Makefile

COMMENT = easy whitelist-based HTML-sanitizing tool
MODPY_EGG_VERSION = 5.0.1
DISTNAME = bleach-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = www
REVISION = 0
HOMEPAGE = https://github.com/mozilla/bleach
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
FLAVORS = python3
FLAVOR = python3
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
sysutils/py-packaging${MODPY_FLAVOR} \
textproc/py-webencodings${MODPY_FLAVOR}
BUILD_DEPENDS = devel/py-test-runner${MODPY_FLAVOR}
.include <bsd.port.mk>