diff options
author | yuri <yuri@FreeBSD.org> | 2018-02-24 05:30:50 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-02-24 05:30:50 +0800 |
commit | c2d944ee2273b035566c71340aca686a34242cbc (patch) | |
tree | bba45cd6884b30a911e22feea07f20f648da9a71 | |
parent | be51523197faba168a206ce70b69298103d716c5 (diff) | |
download | freebsd-ports-gnome-c2d944ee2273b035566c71340aca686a34242cbc.tar.gz freebsd-ports-gnome-c2d944ee2273b035566c71340aca686a34242cbc.tar.zst freebsd-ports-gnome-c2d944ee2273b035566c71340aca686a34242cbc.zip |
math/py-networkx: Remove python 2.7 version restriction
py36 works now.
PR: 225777
Submitted by: John W. O'Brien <john@saltant.com>
Approved by: tcberner (mentor, implicit)
-rw-r--r-- | math/py-networkx/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile index ead14654e467..cc092ec3a238 100644 --- a/math/py-networkx/Makefile +++ b/math/py-networkx/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator@${FLAVO # ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils@${FLAVOR} NO_ARCH= yes -USES= python:2.7 shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent distutils SHEBANG_FILES= examples/graph/atlas.py \ examples/multigraph/chess_masters.py \ @@ -50,18 +50,10 @@ GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygraphviz>=1.2:graphics/py-pygraph YAML_DESC= Reading and writing YAML files YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${FLAVOR} -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} >= 3000 -. if ${PORT_OPTIONS:MMPL} || ${PORT_OPTIONS:MGRAPHVIZ} -BROKEN= Neither math/py-matplotlib nor graphics/py-graphviz support Python 3.x yet. Please disable both the MPL and GRAPHVIZ options -. endif -.endif - PORTEXAMPLES= * post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |