aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-html2text
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2017-10-08 12:47:38 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2017-10-08 12:47:38 +0000
commit1cf986053332cf9312830e394d1f54e1b4963317 (patch)
tree6ef8693cc64f95bd472e2f6da86e8331a7a13af8 /textproc/py-html2text
parentfc83f4561d2b8f8fb89ce4cd07b8289dd94e8afa (diff)
Notes
Diffstat (limited to 'textproc/py-html2text')
-rw-r--r--textproc/py-html2text/Makefile9
-rw-r--r--textproc/py-html2text/distinfo6
2 files changed, 10 insertions, 5 deletions
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile
index 9c20dcd81be4..3e6361d257cb 100644
--- a/textproc/py-html2text/Makefile
+++ b/textproc/py-html2text/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= html2text
-PORTVERSION= 2016.9.19
+PORTVERSION= 2017.10.4
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +13,15 @@ COMMENT= Convert HTML into clean plain ASCII text
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage
+
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
-CONFLICTS= html2text-[0-9]*
+CONFLICTS= html2text
+
+do-test:
+ @cd ${WRKSRC} && coverage run --source=html2text setup.py test -v
.include <bsd.port.mk>
diff --git a/textproc/py-html2text/distinfo b/textproc/py-html2text/distinfo
index 400f0c11e853..bedd6bf86d67 100644
--- a/textproc/py-html2text/distinfo
+++ b/textproc/py-html2text/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474334265
-SHA256 (html2text-2016.9.19.tar.gz) = 554ef5fd6c6cf6e3e4f725a62a3e9ec86a0e4d33cd0928136d1c79dbeb7b2d55
-SIZE (html2text-2016.9.19.tar.gz) = 47899
+TIMESTAMP = 1507463324
+SHA256 (html2text-2017.10.4.tar.gz) = 02ab8df206e90a395b7e188e26eb1906680439ce4a636a00217851cef58c1fad
+SIZE (html2text-2017.10.4.tar.gz) = 50621