git: fcbc3ebadc27 - main - devel/py-prospector: Allow build with py-pylint-plugin-utils 0.8+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:23:41 UTC
The branch main has been updated by sunpoet:

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

commit fcbc3ebadc27507174600ada0ed58620ff600ee3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:42:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:07:39 +0000

    devel/py-prospector: Allow build with py-pylint-plugin-utils 0.8+
    
    - Bump PORTREVISION for package change
---
 devel/py-prospector/Makefile                   | 3 ++-
 devel/py-prospector/files/patch-pyproject.toml | 9 +++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/devel/py-prospector/Makefile b/devel/py-prospector/Makefile
index f25fdfad8918..d1a00901ab6e 100644
--- a/devel/py-prospector/Makefile
+++ b/devel/py-prospector/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	prospector
 PORTVERSION=	1.10.3
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,7 +24,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dodgy>=0.2.1<0.3.0:devel/py-dodgy@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}pyflakes>=2.2.0:devel/py-pyflakes@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pylint-django>=2.5<2.6:devel/py-pylint-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pylint-flask>=0.6<0.6_99:devel/py-pylint-flask@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pylint-plugin-utils>=0.7<0.8:devel/py-pylint-plugin-utils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pylint-plugin-utils>=0.7:devel/py-pylint-plugin-utils@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requirements-detector>=1.2.0:devel/py-requirements-detector@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setoptconf>=0.3.0<0.4:devel/py-setoptconf@${PY_FLAVOR} \
diff --git a/devel/py-prospector/files/patch-pyproject.toml b/devel/py-prospector/files/patch-pyproject.toml
index 457c7c31729d..9ffdc7bdf3d5 100644
--- a/devel/py-prospector/files/patch-pyproject.toml
+++ b/devel/py-prospector/files/patch-pyproject.toml
@@ -1,14 +1,15 @@
---- pyproject.toml.orig	2023-05-25 01:28:05 UTC
+--- pyproject.toml.orig	2023-10-18 06:23:10 UTC
 +++ pyproject.toml
-@@ -38,7 +38,6 @@ prospector = 'prospector.run:main'
+@@ -38,21 +38,20 @@ prospector = 'prospector.run:main'
  [tool.poetry.dependencies]
  python = ">=3.7.2,<4.0"
  pylint = ">=2.8.3"
 -pylint-celery = "0.3"
  pylint-django = "~2.5"
- pylint-plugin-utils = "~0.7"
+-pylint-plugin-utils = "~0.7"
++pylint-plugin-utils = ">=0.7"
  pylint-flask = "0.6"
-@@ -46,13 +45,13 @@ requirements-detector = ">=1.2.0"
+ requirements-detector = ">=1.2.0"
  PyYAML = "*"
  mccabe = "^0.7.0"
  flake8 = "<6.0.0"