git: f69a6bee1e9c - main - net/py-tweepy: Update version 3.10.0=>4.8.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 24 Apr 2022 00:43:29 UTC
The branch main has been updated by bofh:

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

commit f69a6bee1e9c81c5db5eaf9ef20b2958c15fce58
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-04-23 17:03:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-04-24 00:35:52 +0000

    net/py-tweepy: Update version 3.10.0=>4.8.0
    
    Relnotes: https://github.com/tweepy/tweepy/releases/tag/v4.8.0
---
 net/py-tweepy/Makefile | 27 +++++++++------------------
 net/py-tweepy/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 21 deletions(-)

diff --git a/net/py-tweepy/Makefile b/net/py-tweepy/Makefile
index 29c206c3d80d..27e46af815c5 100644
--- a/net/py-tweepy/Makefile
+++ b/net/py-tweepy/Makefile
@@ -1,7 +1,7 @@
 # Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
 
 PORTNAME=	tweepy
-PORTVERSION=	3.10.0
+PORTVERSION=	4.8.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,31 +11,22 @@ COMMENT=	Twitter API library for Python
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:www/py-requests-oauthlib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}vcrpy>=1.10.3:devel/py-vcrpy@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.3:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oauthlib>=3.2.0:security/py-oauthlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=1.2.0:www/py-requests-oauthlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.27.0:www/py-requests@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcrpy>=1.10.3:devel/py-vcrpy@${PY_FLAVOR}
 
 USES=		cpe python
+CPE_VENDOR=	josh_roesslein
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils
 
-CPE_VENDOR=	josh_roesslein
-
-NO_ARCH=	yes
-
 TEST_ENV=	USE_REPLAY=1
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30000
-TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR}
-.endif
+NO_ARCH=	yes
 
 do-test:
 	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v tests.test_cursors tests.test_api tests.test_utils
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/py-tweepy/distinfo b/net/py-tweepy/distinfo
index 1769d39d09ea..5d3d61ba8c3c 100644
--- a/net/py-tweepy/distinfo
+++ b/net/py-tweepy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616815345
-SHA256 (tweepy-tweepy-v3.10.0_GH0.tar.gz) = c29dea6ef56dd433a850b4a54214eeb61c555a81b4454bbba4376bf7a2f11c55
-SIZE (tweepy-tweepy-v3.10.0_GH0.tar.gz) = 459678
+TIMESTAMP = 1650733343
+SHA256 (tweepy-tweepy-v4.8.0_GH0.tar.gz) = 6ca49718d9cd0e73080f780062e050dd8ca777201365fb50b935d727f7c1fc18
+SIZE (tweepy-tweepy-v4.8.0_GH0.tar.gz) = 5799574