git: 2609280018fa - main - devel/pytype: Allow build with py-networkx 3.2+ (9bccc8a106f5f2f618b5adc5eb62ea54edb3486a)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:17:54 UTC
The branch main has been updated by sunpoet:

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

commit 2609280018fae7d8a58622ae496f0ab9a5d5ad2d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:38:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:15:32 +0000

    devel/pytype: Allow build with py-networkx 3.2+ (9bccc8a106f5f2f618b5adc5eb62ea54edb3486a)
    
    Reference:      https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p9218fd8f40f2_s559a218c9b/logs/pytype-py39-2023.5.8.log
                    https://pkg-status.freebsd.org/beefy16/data/132amd64-default/021f5c74a690/logs/pytype-py39-2023.5.8.log
                    https://pkg-status.freebsd.org/beefy6/data/124amd64-default/9218fd8f40f2/logs/pytype-py39-2023.5.8.log
---
 devel/pytype/Makefile              |  2 +-
 devel/pytype/files/patch-setup.cfg | 13 +++++++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/devel/pytype/Makefile b/devel/pytype/Makefile
index faa0a70b3bb1..3f64a57555ed 100644
--- a/devel/pytype/Makefile
+++ b/devel/pytype/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS=	ninja>=1.10.2:devel/ninja \
 		${PYTHON_PKGNAMEPREFIX}importlab>=0.8:devel/py-importlab@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}libcst>=1.0.1:devel/py-libcst@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}networkx>=0,1<3.2,1:math/py-networkx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}networkx>=0,1:math/py-networkx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pycnite>=2023.10.11:devel/py-pycnite@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydot>=1.4.2:graphics/py-pydot@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.9:devel/py-tabulate@${PY_FLAVOR} \
diff --git a/devel/pytype/files/patch-setup.cfg b/devel/pytype/files/patch-setup.cfg
index 11f02eeaca41..3e68a9dfdc9a 100644
--- a/devel/pytype/files/patch-setup.cfg
+++ b/devel/pytype/files/patch-setup.cfg
@@ -1,11 +1,16 @@
---- setup.cfg.orig	2023-04-27 23:35:51 UTC
+--- setup.cfg.orig	2023-10-31 21:05:46 UTC
 +++ setup.cfg
-@@ -37,7 +37,7 @@ install_requires = 
- 	networkx<3.2
+@@ -34,11 +34,11 @@ install_requires = 
+ 	importlab>=0.8
+ 	jinja2>=3.1.2
+ 	libcst>=1.0.1
+-	networkx<3.2
++	networkx
  	ninja>=1.10.0.post2
+ 	pycnite>=2023.10.11
  	pydot>=1.4.2
 -	tabulate>=0.8.10
 +	tabulate>=0.8.9
  	toml>=0.10.2
- 	typed_ast>=1.5.0; python_version < '3.8'
  	typing-extensions>=4.3.0
+