Skip to content

Commit

Permalink
www/py-pywikibot: update 8.6.0 → 9.0.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Mar 9, 2024
1 parent 5bbc822 commit bfd8c9b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion www/py-pywikibot/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pywikibot
DISTVERSION= 8.6.0
DISTVERSION= 9.0.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,6 +12,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>=0.5.2:textproc/py-mwparserfromhell@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${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 = 1703796569
SHA256 (pywikibot-8.6.0.tar.gz) = 380454e6b6e53a74f4925d1afaed9b485325fa62f8d475eb3931a5b83a1e0015
SIZE (pywikibot-8.6.0.tar.gz) = 607508
TIMESTAMP = 1709965245
SHA256 (pywikibot-9.0.0.tar.gz) = 82120dd4dd275a48c0eaa2a459faad928211e7b43cf6efe4110ad95e805e7317
SIZE (pywikibot-9.0.0.tar.gz) = 612776
18 changes: 9 additions & 9 deletions www/py-pywikibot/files/patch-setup.py
@@ -1,21 +1,21 @@
--- setup.py.orig 2023-07-06 07:11:10 UTC
--- setup.py.orig 2024-03-09 06:20:55 UTC
+++ setup.py
@@ -141,12 +141,12 @@ def get_validated_version() -> str:
from subprocess import PIPE, run
@@ -160,12 +160,12 @@ def get_validated_version(name: str) -> str: # pragma
from packaging.version import InvalidVersion, Version

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: # pragma: no cover
- text=True).stdout.splitlines()
- except Exception as e:
- 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: # pragma: no cover
+ # text=True).stdout.splitlines()
+ #except Exception as e:
+ # print(e)
+ # sys.exit('Creating source distribution canceled.')

last_tag = None
if tags: # pragma: no cover
if tags:

0 comments on commit bfd8c9b

Please sign in to comment.