git: cf42dea49ac3 - main - www/py-pywikibot: Update 6.6.3 -> 7.2.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 29 Apr 2022 17:46:47 UTC
The branch main has been updated by yuri:

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

commit cf42dea49ac30dac20f4ef8684e08a0b0a02d393
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-29 17:46:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-29 17:46:43 +0000

    www/py-pywikibot: Update 6.6.3 -> 7.2.0
    
    Reported by:    portscout
---
 www/py-pywikibot/Makefile             | 2 +-
 www/py-pywikibot/distinfo             | 6 +++---
 www/py-pywikibot/files/patch-setup.py | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/www/py-pywikibot/Makefile b/www/py-pywikibot/Makefile
index 37c80423595f..46e2930804ae 100644
--- a/www/py-pywikibot/Makefile
+++ b/www/py-pywikibot/Makefile
@@ -1,7 +1,7 @@
 # Created by: Yuri Victorovich <yuri@rawbw.com>
 
 PORTNAME=	pywikibot
-DISTVERSION=	6.6.3
+DISTVERSION=	7.2.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-pywikibot/distinfo b/www/py-pywikibot/distinfo
index a7dbd9b43bce..22283acdea99 100644
--- a/www/py-pywikibot/distinfo
+++ b/www/py-pywikibot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638477553
-SHA256 (pywikibot-6.6.3.tar.gz) = 27cdae8eb8d28f72ef5ffbecb5f136fb7c4b4c07847b85b5094821e9e285466f
-SIZE (pywikibot-6.6.3.tar.gz) = 506724
+TIMESTAMP = 1651252235
+SHA256 (pywikibot-7.2.0.tar.gz) = e7cd0bd9ea26c40eb45169b37e3f2845d075f3e171b77da1731bca788719699a
+SIZE (pywikibot-7.2.0.tar.gz) = 566749
diff --git a/www/py-pywikibot/files/patch-setup.py b/www/py-pywikibot/files/patch-setup.py
index 415a85253f14..ed7ae39409fb 100644
--- a/www/py-pywikibot/files/patch-setup.py
+++ b/www/py-pywikibot/files/patch-setup.py
@@ -1,9 +1,9 @@
---- setup.py.orig	2021-06-01 06:43:44 UTC
+--- setup.py.orig	2022-04-29 17:10:37 UTC
 +++ setup.py
-@@ -158,12 +158,12 @@ def get_validated_version():  # pragma: no cover
-     # validate version for sdist
-     from contextlib import suppress
+@@ -171,12 +171,12 @@ def get_validated_version():  # pragma: no cover
      from subprocess import PIPE, run
+ 
+     from pkg_resources import parse_version, safe_version
 -    try:
 -        tags = run(['git', 'tag'], check=True, stdout=PIPE,
 -                   universal_newlines=True).stdout.splitlines()