31 lines
651 B
Makefile

# $OpenBSD: Makefile,v 1.12 2021/11/02 00:02:52 sthen Exp $
COMMENT = easy whitelist-based HTML-sanitizing tool
MODPY_EGG_VERSION = 4.1.0
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_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
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>