aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2017-10-08 20:47:38 +0800
committerdbaio <dbaio@FreeBSD.org>2017-10-08 20:47:38 +0800
commit3b41f8b055622d5fb22ef66a1b490a86548b1d06 (patch)
tree6ef8693cc64f95bd472e2f6da86e8331a7a13af8
parentc9e7e9e97a95fa791054bf1061e2eb080c8b7a55 (diff)
downloadfreebsd-ports-gnome-3b41f8b055622d5fb22ef66a1b490a86548b1d06.tar.gz
freebsd-ports-gnome-3b41f8b055622d5fb22ef66a1b490a86548b1d06.tar.zst
freebsd-ports-gnome-3b41f8b055622d5fb22ef66a1b490a86548b1d06.zip
textproc/py-html2text: Update to 2017.10.4
Add test target. Remove unnecessary wildcard '-[0-9]*' from conflicts. Changes: https://github.com/Alir3z4/html2text/releases/tag/2017.10.4
-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