git: e40f3289bbe7 - main - math/py-python-igraph: Update 0.8.3 -> 0.9.8

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 24 Dec 2021 16:44:25 UTC
The branch main has been updated by yuri:

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

commit e40f3289bbe7a2aa915575776ab97a1ccac1640e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-24 16:42:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-24 16:44:20 +0000

    math/py-python-igraph: Update 0.8.3 -> 0.9.8
    
    PR:             254889
    Approved by:    lwhsu (maintainer)
---
 math/py-python-igraph/Makefile                     | 10 ++--
 math/py-python-igraph/distinfo                     |  6 +--
 .../files/patch-src_igraph_configuration.py        | 21 --------
 math/py-python-igraph/pkg-plist                    | 61 ----------------------
 4 files changed, 7 insertions(+), 91 deletions(-)

diff --git a/math/py-python-igraph/Makefile b/math/py-python-igraph/Makefile
index dc3c0bd8ddbb..97b4669bf684 100644
--- a/math/py-python-igraph/Makefile
+++ b/math/py-python-igraph/Makefile
@@ -1,7 +1,7 @@
 # Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
 
 PORTNAME=	python-igraph
-PORTVERSION=	0.8.3
+DISTVERSION=	0.9.8
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,14 +17,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_
 TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}
 
 USES=		bison gnome pkgconfig python:3.6+
-USE_PYTHON=	distutils
+USE_PYTHON=	distutils concurrent autoplist
 USE_GNOME=	libxml2
-PYDISTUTILS_BUILDARGS=	--use-pkg-config
+
 PYDISTUTILS_INSTALLARGS=${PYDISTUTILS_BUILDARGS}
 
-pre-configure:
-	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'	\
-		${WRKSRC}/src/igraph/configuration.py
+NO_ARCH=	yes
 
 do-test: install
 	(cd ${WRKSRC} && py.test)
diff --git a/math/py-python-igraph/distinfo b/math/py-python-igraph/distinfo
index 5654ef7c39c2..382cb919fdce 100644
--- a/math/py-python-igraph/distinfo
+++ b/math/py-python-igraph/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609586406
-SHA256 (python-igraph-0.8.3.tar.gz) = e1f27622eddeb2bd5fdcbadb41ef048e884790bb050f9627c086dc609d0f1236
-SIZE (python-igraph-0.8.3.tar.gz) = 4059460
+TIMESTAMP = 1640363550
+SHA256 (python-igraph-0.9.8.tar.gz) = 85ace50475c3881414af086e6517f5b89fe3462edac5ec5cf8d266ab77d71eb4
+SIZE (python-igraph-0.9.8.tar.gz) = 9484
diff --git a/math/py-python-igraph/files/patch-src_igraph_configuration.py b/math/py-python-igraph/files/patch-src_igraph_configuration.py
deleted file mode 100644
index d165d46dbf32..000000000000
--- a/math/py-python-igraph/files/patch-src_igraph_configuration.py
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/igraph/configuration.py.orig	2020-10-08 10:13:28 UTC
-+++ src/igraph/configuration.py
-@@ -56,6 +56,18 @@ def get_platform_image_viewer():
-                 if os.path.isfile(full_path):
-                     return full_path
-         return ""
-+    elif plat == "FreeBSD":
-+        # FreeBSD also has a whole lot of choices, try to find one
-+        choices = ["eog", "gthumb", "geeqie", "display",
-+                   "gpicview", "gwenview", "qiv", "gimv", "ristretto",
-+                   "geeqie", "eom"]
-+        paths = ["%%LOCALBASE%%/bin"]
-+        for path in paths:
-+            for choice in choices:
-+                full_path = os.path.join(path, choice)
-+                if os.path.isfile(full_path):
-+                    return full_path
-+        return ""
-     elif plat == "Windows" or plat == "Microsoft":    # Thanks to Dale Hunscher
-         # Use the built-in Windows image viewer, if available
-         return "start"
diff --git a/math/py-python-igraph/pkg-plist b/math/py-python-igraph/pkg-plist
deleted file mode 100644
index 711314fb8e1c..000000000000
--- a/math/py-python-igraph/pkg-plist
+++ /dev/null
@@ -1,61 +0,0 @@
-bin/igraph
-%%PYTHON_INCLUDEDIR%%/python-igraph/igraphmodule_api.h
-%%PYTHON_SITELIBDIR%%/igraph/__init__.py
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/clustering.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/compat.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/configuration.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/cut.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/datatypes.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/formula.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/layout.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/matching.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/operators.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/statistics.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/summary.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/__pycache__/version.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/_igraph%%PYTHON_EXT_SUFFIX%%.so
-%%PYTHON_SITELIBDIR%%/igraph/app/__init__.py
-%%PYTHON_SITELIBDIR%%/igraph/app/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/app/__pycache__/shell.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/app/shell.py
-%%PYTHON_SITELIBDIR%%/igraph/clustering.py
-%%PYTHON_SITELIBDIR%%/igraph/compat.py
-%%PYTHON_SITELIBDIR%%/igraph/configuration.py
-%%PYTHON_SITELIBDIR%%/igraph/cut.py
-%%PYTHON_SITELIBDIR%%/igraph/datatypes.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__init__.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/baseclasses.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/colors.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/coord.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/edge.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/graph.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/metamagic.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/shapes.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/text.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/__pycache__/vertex.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/drawing/baseclasses.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/colors.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/coord.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/edge.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/graph.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/metamagic.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/shapes.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/text.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/utils.py
-%%PYTHON_SITELIBDIR%%/igraph/drawing/vertex.py
-%%PYTHON_SITELIBDIR%%/igraph/formula.py
-%%PYTHON_SITELIBDIR%%/igraph/layout.py
-%%PYTHON_SITELIBDIR%%/igraph/matching.py
-%%PYTHON_SITELIBDIR%%/igraph/operators.py
-%%PYTHON_SITELIBDIR%%/igraph/remote/__init__.py
-%%PYTHON_SITELIBDIR%%/igraph/remote/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/remote/__pycache__/gephi.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/igraph/remote/gephi.py
-%%PYTHON_SITELIBDIR%%/igraph/statistics.py
-%%PYTHON_SITELIBDIR%%/igraph/summary.py
-%%PYTHON_SITELIBDIR%%/igraph/utils.py
-%%PYTHON_SITELIBDIR%%/igraph/version.py