git: d35a222edd93 - main - www/py-WebTest: Update to 3.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 05 Jun 2023 18:53:46 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d35a222edd9345ca5962e8471232a2cee2a4d6d7

commit d35a222edd9345ca5962e8471232a2cee2a4d6d7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-05 18:40:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-05 18:47:24 +0000

    www/py-WebTest: Update to 3.0.0
    
    - Change MASTER_SITES from GitHub to PYPI
    - Update WWW
    - Take maintainership
    
    Changes:        https://github.com/Pylons/webtest/blob/main/CHANGELOG.rst
                    https://docs.pylonsproject.org/projects/webtest/en/latest/changelog.html
---
 www/py-WebTest/Makefile | 27 +++++++++++----------------
 www/py-WebTest/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/www/py-WebTest/Makefile b/www/py-WebTest/Makefile
index f7ec87bc27d3..05227ca3179d 100644
--- a/www/py-WebTest/Makefile
+++ b/www/py-WebTest/Makefile
@@ -1,29 +1,24 @@
-PORTNAME=	WebTest
-PORTVERSION=	2.0.32
+PORTNAME=	webtest
+PORTVERSION=	3.0.0
 CATEGORIES=	www python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	WebTest-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Helper to test WSGI applications
-WWW=		https://pythonpaste.org/webtest/
+WWW=		https://docs.pylonsproject.org/projects/webtest/en/latest/ \
+		https://github.com/Pylons/webtest
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/license.rst
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}waitress>0:www/py-waitress@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}waitress>=0.8.5:www/py-waitress@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}webob>=1.2:www/py-webob@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}waitress>0:www/py-waitress@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}webob>=1.2:www/py-webob@${PY_FLAVOR}
-
-USE_GITHUB=	yes
 
-GH_ACCOUNT=	Pylons
-GH_PROJECT=	webtest
 USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
diff --git a/www/py-WebTest/distinfo b/www/py-WebTest/distinfo
index d3ec33ca8a14..eb648e84301a 100644
--- a/www/py-WebTest/distinfo
+++ b/www/py-WebTest/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539119140
-SHA256 (Pylons-webtest-2.0.32_GH0.tar.gz) = b4fe05b6f0bb63f3fddd7e287e678eab26a23f4362b1acc79869e5185dbe48c7
-SIZE (Pylons-webtest-2.0.32_GH0.tar.gz) = 68401
+TIMESTAMP = 1685829922
+SHA256 (WebTest-3.0.0.tar.gz) = 54bd969725838d9861a9fa27f8d971f79d275d94ae255f5c501f53bb6d9929eb
+SIZE (WebTest-3.0.0.tar.gz) = 75871