Skip to content

Commit

Permalink
textproc/py-html2text: Update to 2024.2.26
Browse files Browse the repository at this point in the history
- Switch to DISTVERSION
- Use USE_PYTHON+=pytest
- Cleanup Makefile

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

PR:		277471
  • Loading branch information
nunotexbsd committed Mar 6, 2024
1 parent 374676d commit a8d978d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
10 changes: 2 additions & 8 deletions textproc/py-html2text/Makefile
@@ -1,5 +1,5 @@
PORTNAME= html2text
PORTVERSION= 2020.1.16
DISTVERSION= 2024.2.26
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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

0 comments on commit a8d978d

Please sign in to comment.