Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2024 07:34:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bfd8c9b9165a - main - www/py-pywikibot: update 8.6.0 =?utf-8?Q?=E2=86=92?= 9.0.0
Message-ID:  <202403090734.4297YYC1025619@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit bfd8c9b9165a75c9b3a67ead6a1f6327aa450967
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-03-09 06:41:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-03-09 07:34:15 +0000

    www/py-pywikibot: update 8.6.0 → 9.0.0
    
    Reported by:    portscout
---
 www/py-pywikibot/Makefile             |  3 ++-
 www/py-pywikibot/distinfo             |  6 +++---
 www/py-pywikibot/files/patch-setup.py | 18 +++++++++---------
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/www/py-pywikibot/Makefile b/www/py-pywikibot/Makefile
index e703f3b36e10..7783a92748fd 100644
--- a/www/py-pywikibot/Makefile
+++ b/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}
@@ -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
diff --git a/www/py-pywikibot/distinfo b/www/py-pywikibot/distinfo
index 35739514c67c..1c0cb20d20e8 100644
--- a/www/py-pywikibot/distinfo
+++ b/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
diff --git a/www/py-pywikibot/files/patch-setup.py b/www/py-pywikibot/files/patch-setup.py
index c5c1529ec580..3baf2bd20e11 100644
--- a/www/py-pywikibot/files/patch-setup.py
+++ b/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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403090734.4297YYC1025619>