blob: d9a926a5f738d6f549a31ac3c8b5cba309f3d727 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
PORTNAME= html2text
PORTVERSION= 2018.1.9
PORTREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2018
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Convert HTML into clean plain ASCII text
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
CONFLICTS_INSTALL= html2text py*-html2text # bin/html2text
do-test:
@cd ${WRKSRC} && coverage run --source=html2text setup.py test -v
.include <bsd.port.mk>
|