git: 6f1f0ae37101 - main - www/py-pywikibot: Update 8.1.2 → 8.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jul 2023 19:20:33 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f1f0ae3710191ea8180014d2ec87a1fa80eca15 commit 6f1f0ae3710191ea8180014d2ec87a1fa80eca15 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-06 07:13:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-06 19:20:26 +0000 www/py-pywikibot: Update 8.1.2 → 8.2.0 Reported by: portscout --- www/py-pywikibot/Makefile | 4 ++-- www/py-pywikibot/distinfo | 6 +++--- www/py-pywikibot/files/patch-setup.py | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/www/py-pywikibot/Makefile b/www/py-pywikibot/Makefile index a586ed6677b2..004aa1aada6b 100644 --- a/www/py-pywikibot/Makefile +++ b/www/py-pywikibot/Makefile @@ -1,5 +1,5 @@ PORTNAME= pywikibot -DISTVERSION= 8.1.2 +DISTVERSION= 8.2.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +11,7 @@ WWW= https://www.mediawiki.org/wiki/Pywikibot LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>=0.6.3:textproc/py-mwparserfromhell@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>=0.5.2:textproc/py-mwparserfromhell@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} USES= dos2unix python diff --git a/www/py-pywikibot/distinfo b/www/py-pywikibot/distinfo index 2e1998814f5d..2cd827277d0b 100644 --- a/www/py-pywikibot/distinfo +++ b/www/py-pywikibot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686634244 -SHA256 (pywikibot-8.1.2.tar.gz) = 0ba3b07cc3417d7d0c0ffb4d4901e2e27070bad4f0215b7728c2ba7e9315f7c2 -SIZE (pywikibot-8.1.2.tar.gz) = 601556 +TIMESTAMP = 1688627461 +SHA256 (pywikibot-8.2.0.tar.gz) = d6d0cd748ee5534ffecf8ebdd831949b795935cf31127f313b1a115e44de87f2 +SIZE (pywikibot-8.2.0.tar.gz) = 604054 diff --git a/www/py-pywikibot/files/patch-setup.py b/www/py-pywikibot/files/patch-setup.py index ed7ae39409fb..c5c1529ec580 100644 --- a/www/py-pywikibot/files/patch-setup.py +++ b/www/py-pywikibot/files/patch-setup.py @@ -1,21 +1,21 @@ ---- setup.py.orig 2022-04-29 17:10:37 UTC +--- setup.py.orig 2023-07-06 07:11:10 UTC +++ setup.py -@@ -171,12 +171,12 @@ def get_validated_version(): # pragma: no cover +@@ -141,12 +141,12 @@ def get_validated_version() -> str: 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() -- except Exception as e: +- except Exception as e: # pragma: no cover - print(e) - sys.exit('Creating source distribution canceled.') + #try: + # tags = run(['git', 'tag'], check=True, stdout=PIPE, + # universal_newlines=True).stdout.splitlines() -+ #except Exception as e: ++ #except Exception as e: # pragma: no cover + # print(e) + # sys.exit('Creating source distribution canceled.') - for tag in ('stable', 'python2'): - with suppress(ValueError): + last_tag = None + if tags: # pragma: no cover