diff --git a/devel/py-urwidgets/Makefile b/devel/py-urwidgets/Makefile index d8dd71a4cf92..d741971f2018 100644 --- a/devel/py-urwidgets/Makefile +++ b/devel/py-urwidgets/Makefile @@ -1,25 +1,26 @@ PORTNAME= urwidgets PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/AnonymouX47/urwidgets/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of widgets for urwid WWW= https://urwidgets.readthedocs.io/en/stable/ \ https://github.com/AnonymouX47/urwidgets LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid>=2.1<3.0:devel/py-urwid@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid>=2.1:devel/py-urwid@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-urwidgets/files/patch-setup.py b/devel/py-urwidgets/files/patch-setup.py new file mode 100644 index 000000000000..fb031632db11 --- /dev/null +++ b/devel/py-urwidgets/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-08-31 11:00:43 UTC ++++ setup.py +@@ -33,7 +33,7 @@ setup( + license="MIT", + classifiers=classifiers, + python_requires=">=3.7", +- install_requires=["urwid>=2.1,<3.0"], ++ install_requires=["urwid>=2.1"], + project_urls={ + "Changelog": "https://github.com/AnonymouX47/urwidgets/blob/main/CHANGELOG.md", + "Documentation": "https://urwidgets.readthedocs.io/",