freebsd-ports/www/py-bleach/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

33 lines
783 B
Makefile

PORTNAME= bleach
PORTVERSION= 5.0.1
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Easy safelist-based HTML-sanitizing tool
WWW= https://github.com/mozilla/bleach
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}webencodings>=0:converters/py-webencodings@${PY_FLAVOR}
USES= cpe python:3.7+ shebangfix
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
CPE_VENDOR= mozilla
SHEBANG_FILES= bleach/_vendor/vendor_install.sh
OPTIONS_DEFINE= CSS
OPTIONS_DEFAULT=CSS
CSS_DESC= CSS support
CSS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=1.1.0<1.3:textproc/py-tinycss2@${PY_FLAVOR}
.include <bsd.port.mk>