diff --git a/math/py-python-igraph/Makefile b/math/py-python-igraph/Makefile index dc3c0bd8ddbb..42db1cbc4964 100644 --- a/math/py-python-igraph/Makefile +++ b/math/py-python-igraph/Makefile @@ -1,7 +1,7 @@ # Created by: Li-Wen Hsu PORTNAME= python-igraph -PORTVERSION= 0.8.3 +PORTVERSION= 0.9.1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,7 @@ 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} @@ -26,6 +26,9 @@ pre-configure: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/igraph/configuration.py +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph.so + do-test: install (cd ${WRKSRC} && py.test) diff --git a/math/py-python-igraph/distinfo b/math/py-python-igraph/distinfo index 5654ef7c39c2..5e2b2da91d56 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 = 1617900174 +SHA256 (python-igraph-0.9.1.tar.gz) = f1895a83c57180f03c50fb77334a4d5029327aefee14f03381e10d34a1794410 +SIZE (python-igraph-0.9.1.tar.gz) = 3572314 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"