diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2013-12-23 15:09:56 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2013-12-23 15:09:56 +0000 |
commit | 2b0bf6ce11af5e5a4bcf2f8c4e960815a9039a5d (patch) | |
tree | 25661a71ae451fbeeb92c2795779fd3883d2dc62 | |
parent | a2ce6f14e14409edb6be04663823c7ded3cc1ec6 (diff) |
Fix plist when port is used with python-3.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=337257
-rw-r--r-- | math/py-networkx/Makefile | 2 | ||||
-rw-r--r-- | math/py-networkx/pkg-plist | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile index a2348c4adc97..46d6e252a275 100644 --- a/math/py-networkx/Makefile +++ b/math/py-networkx/Makefile @@ -13,7 +13,9 @@ COMMENT= Tools for complex network USE_PYTHON= yes USE_PYDISTUTILS=easy_install +PYTHON_PY3K_PLIST_HACK=yes PYSETUP= setup_egg.py +PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} NO_STAGE= yes post-install: diff --git a/math/py-networkx/pkg-plist b/math/py-networkx/pkg-plist index e00dd375e679..90565eac4349 100644 --- a/math/py-networkx/pkg-plist +++ b/math/py-networkx/pkg-plist @@ -602,12 +602,12 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/__init__.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/__init__.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2/__init__.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2/__init__.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2/_decorator2.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2/_decorator2.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2/_decorator2.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%%/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%%/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%%/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%%/_decorator%%PYTHON_MAJOR_VER%%.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%%/_decorator%%PYTHON_MAJOR_VER%%.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%%/_decorator%%PYTHON_MAJOR_VER%%.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/generators/__init__.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/generators/__init__.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/generators/__init__.pyo @@ -984,7 +984,7 @@ @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/linalg @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/generators/tests @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/generators -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator2 +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator/decorator%%PYTHON_MAJOR_VER%% @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external/decorator @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/external @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/networkx/drawing/tests |