git: 57e2ed0db645 - main - math/py-networkx: Update to 3.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Mon, 20 Feb 2023 13:47:09 UTC
The branch main has been updated by wen:

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

commit 57e2ed0db645eafadd8c289d2091212ea35432b2
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-02-20 13:43:46 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-02-20 13:46:35 +0000

    math/py-networkx: Update to 3.0
---
 math/py-networkx/Makefile             |  2 +-
 math/py-networkx/distinfo             |  6 +++---
 math/py-networkx/files/patch-setup.py | 12 ++++++------
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile
index ba441754a0fa..8da52b089fce 100644
--- a/math/py-networkx/Makefile
+++ b/math/py-networkx/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	networkx
-DISTVERSION=	2.8.8
+DISTVERSION=	3.0
 PORTEPOCH=	1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
diff --git a/math/py-networkx/distinfo b/math/py-networkx/distinfo
index b3d6dce6780a..fcd55f26ca3f 100644
--- a/math/py-networkx/distinfo
+++ b/math/py-networkx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1667943952
-SHA256 (networkx-2.8.8.tar.gz) = 230d388117af870fce5647a3c52401fcf753e94720e6ea6b4197a5355648885e
-SIZE (networkx-2.8.8.tar.gz) = 1960828
+TIMESTAMP = 1676889633
+SHA256 (networkx-3.0.tar.gz) = 9a9992345353618ae98339c2b63d8201c381c2944f38a2ab49cb45a4c667e412
+SIZE (networkx-3.0.tar.gz) = 1987075
diff --git a/math/py-networkx/files/patch-setup.py b/math/py-networkx/files/patch-setup.py
index 0837b32a446a..1d28af3e2856 100644
--- a/math/py-networkx/files/patch-setup.py
+++ b/math/py-networkx/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig	2021-02-15 16:30:03 UTC
+--- setup.py.orig	2023-02-20 13:03:51 UTC
 +++ setup.py
-@@ -64,36 +64,6 @@ packages = [
+@@ -92,36 +92,6 @@ packages = [
      "networkx.utils",
  ]
  
@@ -34,12 +34,12 @@
 -pp = os.path.join("examples", "javascript/force")
 -data.append((dd, glob(os.path.join(pp, "*"))))
 -
- # add the tests
+ # add the tests subpackage(s)
  package_data = {
      "networkx": ["tests/*.py"],
-@@ -169,7 +139,6 @@ if __name__ == "__main__":
-         project_urls=release.project_urls,
-         classifiers=release.classifiers,
+@@ -185,7 +155,6 @@ if __name__ == "__main__":
+         project_urls=project_urls,
+         classifiers=classifiers,
          packages=packages,
 -        data_files=data,
          package_data=package_data,