diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-01-21 00:26:38 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-01-21 00:26:38 +0000 |
commit | 956a4f43653060dcf1e1643ef2772517a3e532f5 (patch) | |
tree | 8da52a6805f9e7b266d82248cf15800718fbb4d8 /textproc/py-html2text | |
parent | textproc/py-html2text: Copy to textproc/py-html2text2018 (diff) |
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>
Notes
Notes:
svn path=/head/; revision=523698
Diffstat (limited to 'textproc/py-html2text')
-rw-r--r-- | textproc/py-html2text/Makefile | 12 | ||||
-rw-r--r-- | textproc/py-html2text/distinfo | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile index 9e6e3ba19d61..9009d0d8ccb8 100644 --- a/textproc/py-html2text/Makefile +++ b/textproc/py-html2text/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= html2text -PORTVERSION= 2018.1.9 -PORTREVISION= 2 +PORTVERSION= 2020.1.16 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,15 +13,16 @@ 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} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} -USES= python +USES= python:3.5+ USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes -CONFLICTS= html2text +CONFLICTS_INSTALL= html2text py*-html2text2018 do-test: - @cd ${WRKSRC} && coverage run --source=html2text setup.py test -v + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest --cov=html2text .include <bsd.port.mk> diff --git a/textproc/py-html2text/distinfo b/textproc/py-html2text/distinfo index c86459ac5332..4a6a192b210b 100644 --- a/textproc/py-html2text/distinfo +++ b/textproc/py-html2text/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1515708173 -SHA256 (html2text-2018.1.9.tar.gz) = 627514fb30e7566b37be6900df26c2c78a030cc9e6211bda604d8181233bcdd4 -SIZE (html2text-2018.1.9.tar.gz) = 52211 +TIMESTAMP = 1579470104 +SHA256 (html2text-2020.1.16.tar.gz) = e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb +SIZE (html2text-2020.1.16.tar.gz) = 49464 |