Skip to content

Commit

Permalink
www/py-pywikibot: Update 8.1.2 → 8.2.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Jul 6, 2023
1 parent c6b9eb0 commit 6f1f0ae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions 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}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
12 changes: 6 additions & 6 deletions 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

0 comments on commit 6f1f0ae

Please sign in to comment.