mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
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>
This commit is contained in:
parent
fd2ddfa604
commit
956a4f4365
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523698
@ -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>
|
||||
|
@ -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
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= weboob
|
||||
PORTVERSION= 1.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -30,10 +31,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} \
|
||||
wget:ftp/wget \
|
||||
gpg2:security/gnupg
|
||||
|
||||
py27_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mechanize>0:www/py-mechanize@${PY_FLAVOR}
|
||||
py27_RUN_DEPENDS:= ${py27_BUILD_DEPENDS}
|
||||
|
||||
USES= python
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
Loading…
Reference in New Issue
Block a user