diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile
index 0ea6947a919b..384f05ddaef2 100644
--- a/textproc/py-html2text/Makefile
+++ b/textproc/py-html2text/Makefile
@@ -1,26 +1,20 @@
PORTNAME= html2text
-PORTVERSION= 2020.1.16
+DISTVERSION= 2024.2.26
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Convert HTML into clean plain ASCII text
WWW= https://github.com/Alir3z4/html2text/
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
-USE_PYTHON= distutils concurrent autoplist
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
CONFLICTS_INSTALL= html2text py*-html2text2018 # bin/html2text
-do-test:
- @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest --cov=html2text
-
.include
diff --git a/textproc/py-html2text/distinfo b/textproc/py-html2text/distinfo
index 4a6a192b210b..815c14105640 100644
--- a/textproc/py-html2text/distinfo
+++ b/textproc/py-html2text/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1579470104
-SHA256 (html2text-2020.1.16.tar.gz) = e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb
-SIZE (html2text-2020.1.16.tar.gz) = 49464
+TIMESTAMP = 1709550685
+SHA256 (html2text-2024.2.26.tar.gz) = 05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32
+SIZE (html2text-2024.2.26.tar.gz) = 56527