textproc/py-html2text: Update to 2024.2.26

- Switch to DISTVERSION
- Use USE_PYTHON+=pytest
- Cleanup Makefile

ChangeLog:
https://github.com/Alir3z4/html2text/blob/master/ChangeLog.rst

PR:		277471
This commit is contained in:
Nuno Teixeira 2024-03-06 07:55:44 +00:00
parent 374676d029
commit a8d978de0b
2 changed files with 5 additions and 11 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= html2text
PORTVERSION= 2020.1.16
DISTVERSION= 2024.2.26
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,16 +11,10 @@ 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 <bsd.port.mk>

View file

@ -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