diff --git a/www/py-mwoauth/Makefile b/www/py-mwoauth/Makefile index 5f8dc2aada91..525a65524053 100644 --- a/www/py-mwoauth/Makefile +++ b/www/py-mwoauth/Makefile @@ -1,24 +1,24 @@ PORTNAME= mwoauth DISTVERSION= 0.3.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Generic MediaWiki OAuth handshake helper LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyjwt1>0:www/py-pyjwt1@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.1:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:www/py-requests-oauthlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/www/py-mwoauth/files/patch-setup.py b/www/py-mwoauth/files/patch-setup.py new file mode 100644 index 000000000000..df153e68fd5f --- /dev/null +++ b/www/py-mwoauth/files/patch-setup.py @@ -0,0 +1,17 @@ +Relax version requirements for www/py-pyjwt + +Obtained from: + +https://github.com/mediawiki-utilities/python-mwoauth/commit/4cff1c2165d74010b538c8f061e7488d34417bcb + +--- setup.py.orig 2022-01-09 13:39:26 UTC ++++ setup.py +@@ -22,7 +22,7 @@ setup( + packages=find_packages(), + long_description=read('README.rst'), + install_requires=[ +- 'PyJWT>=1.0.1,<2.0.0', ++ 'PyJWT>=1.0.1', + 'oauthlib', + 'requests', + 'requests-oauthlib',