diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-03-27 15:02:03 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-03-27 21:54:45 +0000 |
commit | df6dd49864287f93136614aa967f7df02f5df9fa (patch) | |
tree | 3410924e323f19b07aa9abf6488e0bce53251df8 | |
parent | 40e8f9bf0d5c3b2b67309f85051b86f86d68748c (diff) | |
download | ports-df6dd49864287f93136614aa967f7df02f5df9fa.tar.gz ports-df6dd49864287f93136614aa967f7df02f5df9fa.zip |
math/py-python-igraph: Fix the problem that it didn't install anything
The Python package was renamed into 'igraph', and when the source
tarball is taken for 'igraph' it builds properly.
PR: 269786
Approved by: portmgr (bugfix)
-rw-r--r-- | math/py-python-igraph/Makefile | 11 | ||||
-rw-r--r-- | math/py-python-igraph/distinfo | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/math/py-python-igraph/Makefile b/math/py-python-igraph/Makefile index 83f8cb15dc12..f596b4315e6f 100644 --- a/math/py-python-igraph/Makefile +++ b/math/py-python-igraph/Makefile @@ -1,9 +1,10 @@ -PORTNAME= python-igraph +PORTNAME= python-igraph # it has been renamed to igraph DISTVERSION= 0.9.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= igraph-${PORTVERSION} MAINTAINER= lwhsu@FreeBSD.org COMMENT= High performance graph data structures and algorithms @@ -11,6 +12,7 @@ WWW= https://igraph.org/python/ LICENSE= GPLv2 +BUILD_DEPENDS= cmake:devel/cmake-core 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} @@ -20,9 +22,8 @@ USES= bison gnome pkgconfig python:3.6+ USE_PYTHON= distutils concurrent autoplist USE_GNOME= libxml2 -PYDISTUTILS_INSTALLARGS=${PYDISTUTILS_BUILDARGS} - -NO_ARCH= yes +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph${PYTHON_EXT_SUFFIX}.so do-test: install (cd ${WRKSRC} && py.test) diff --git a/math/py-python-igraph/distinfo b/math/py-python-igraph/distinfo index da521df49f77..b3448762ab41 100644 --- a/math/py-python-igraph/distinfo +++ b/math/py-python-igraph/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643904846 -SHA256 (python-igraph-0.9.9.tar.gz) = 4df0b13038fc384a3d0e4024019e051b9c80d83bed2b3fb00537aee18ee98c56 -SIZE (python-igraph-0.9.9.tar.gz) = 9482 +TIMESTAMP = 1679952829 +SHA256 (igraph-0.9.9.tar.gz) = 3f84b57fbaab37efa965f8dc1e1e28aad181357f1a6aa8204fe7c91ee9615092 +SIZE (igraph-0.9.9.tar.gz) = 3720712 |