freebsd-ports/textproc/py-html2text/Makefile
Danilo G. Baio 956a4f4365 textproc/py-html2text: Update to 2020.1.16
This new version only supports Python >= 3.5.

Changelog:	https://raw.githubusercontent.com/Alir3z4/html2text/2020.1.16/ChangeLog.rst

Update www/py-weboob to use Python >= 3.5 (avoid break bulk -a).

Reported by:	Andrea Venturoli <ml@netfence.it>
2020-01-21 00:26:38 +00:00

28 lines
723 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= html2text
PORTVERSION= 2020.1.16
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Convert HTML into clean plain ASCII text
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
CONFLICTS_INSTALL= html2text py*-html2text2018
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest --cov=html2text
.include <bsd.port.mk>