svn commit: r523698 - in head: textproc/py-html2text www/py-weboob
Danilo G. Baio
dbaio at FreeBSD.org
Tue Jan 21 00:26:39 UTC 2020
Author: dbaio
Date: Tue Jan 21 00:26:38 2020
New Revision: 523698
URL: https://svnweb.freebsd.org/changeset/ports/523698
Log:
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 at netfence.it>
Modified:
head/textproc/py-html2text/Makefile
head/textproc/py-html2text/distinfo
head/www/py-weboob/Makefile
Modified: head/textproc/py-html2text/Makefile
==============================================================================
--- head/textproc/py-html2text/Makefile Tue Jan 21 00:21:27 2020 (r523697)
+++ head/textproc/py-html2text/Makefile Tue Jan 21 00:26:38 2020 (r523698)
@@ -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>
Modified: head/textproc/py-html2text/distinfo
==============================================================================
--- head/textproc/py-html2text/distinfo Tue Jan 21 00:21:27 2020 (r523697)
+++ head/textproc/py-html2text/distinfo Tue Jan 21 00:26:38 2020 (r523698)
@@ -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
Modified: head/www/py-weboob/Makefile
==============================================================================
--- head/www/py-weboob/Makefile Tue Jan 21 00:21:27 2020 (r523697)
+++ head/www/py-weboob/Makefile Tue Jan 21 00:26:38 2020 (r523698)
@@ -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
More information about the svn-ports-head
mailing list