git: 43877d46a017 - main - devel/py-parver: Allow build with py-arpeggio 2.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:45:58 UTC
The branch main has been updated by sunpoet:

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

commit 43877d46a01783bedbea06fa1d30129ed9ffeaa5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:30:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:30 +0000

    devel/py-parver: Allow build with py-arpeggio 2.0.0+
    
    - Bump PORTREVISION for package change
---
 devel/py-parver/Makefile             |  3 ++-
 devel/py-parver/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-parver/Makefile b/devel/py-parver/Makefile
index 035ebd002077..962041d0628b 100644
--- a/devel/py-parver/Makefile
+++ b/devel/py-parver/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	parver
 PORTVERSION=	0.3.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ COMMENT=	Parse and manipulate version numbers
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arpeggio>=1.7<2:devel/py-arpeggio@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arpeggio>=1.7:devel/py-arpeggio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.13<2:devel/py-six@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \
diff --git a/devel/py-parver/files/patch-setup.py b/devel/py-parver/files/patch-setup.py
new file mode 100644
index 000000000000..0e94a6c55311
--- /dev/null
+++ b/devel/py-parver/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-09-28 20:11:31 UTC
++++ setup.py
+@@ -49,7 +49,7 @@ setup(
+     packages=find_packages('src'),
+     package_dir={'': 'src'},
+     install_requires=[
+-        'arpeggio ~= 1.7',
++        'arpeggio >= 1.7',
+         'attrs >= 19.2',
+         'six ~= 1.13',
+     ],