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,32 +1,30 @@ # Created by: Li-Wen Hsu PORTNAME= python-igraph -PORTVERSION= 0.8.3 +DISTVERSION= 0.9.8 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= High performance graph data structures and algorithms LICENSE= GPLv2 LIB_DEPENDS= libigraph.so:math/igraph RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} 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) .include 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