diff options
author | riggs <riggs@FreeBSD.org> | 2015-07-25 18:44:35 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-07-25 18:44:35 +0800 |
commit | e0a0aed78becfd991af8408b2934feb1028569c0 (patch) | |
tree | fd63dc34dc2416f7508ebec420b52d7d2ce9766b | |
parent | 0212bec2305a99d8f37b0616a28f745d17c0eb4e (diff) | |
download | freebsd-ports-gnome-e0a0aed78becfd991af8408b2934feb1028569c0.tar.gz freebsd-ports-gnome-e0a0aed78becfd991af8408b2934feb1028569c0.tar.zst freebsd-ports-gnome-e0a0aed78becfd991af8408b2934feb1028569c0.zip |
Allow for many run dependencies to be OPTIONs,
as by upstream suggestion
PR: 201349
Submitted by: john@saltant.com
Approved by: maintainer timeout
-rw-r--r-- | math/py-networkx/Makefile | 31 | ||||
-rw-r--r-- | math/py-networkx/pkg-descr | 2 |
2 files changed, 24 insertions, 9 deletions
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile index 4674c40e2961..9678c78d605c 100644 --- a/math/py-networkx/Makefile +++ b/math/py-networkx/Makefile @@ -3,6 +3,7 @@ PORTNAME= networkx PORTVERSION= 1.9.1 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \ CHEESESHOP @@ -13,14 +14,10 @@ COMMENT= Tools for complex networks LICENSE= BSD3CLAUSE -RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}graphviz>=1.2:${PORTSDIR}/graphics/py-graphviz \ - ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:${PORTSDIR}/devel/py-decorator \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:${PORTSDIR}/math/py-matplotlib \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:${PORTSDIR}/math/py-numpy \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.15.1:${PORTSDIR}/science/py-scipy \ - ${PYTHON_PKGNAMEPREFIX}scikit-sparse>=0.2:${PORTSDIR}/science/py-scikit-sparse \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:${PORTSDIR}/textproc/py-sphinx \ - ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:${PORTSDIR}/textproc/py-docutils +RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:${PORTSDIR}/devel/py-decorator + +# ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:${PORTSDIR}/textproc/py-sphinx \ +# ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:${PORTSDIR}/textproc/py-docutils USES= python shebangfix USE_PYTHON= distutils autoplist @@ -28,6 +25,24 @@ USE_PYTHON= distutils autoplist PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} OPTIONS_DEFINE= EXAMPLES +OPTIONS_GROUP= MATRIX RENDER +OPTIONS_GROUP_MATRIX= NUMPY SCIPY +OPTIONS_GROUP_RENDER= MPL GRAPHVIZ +OPTIONS_DEFAULT= NUMPY SCIPY MPL GRAPHVIZ + +NUMPY_DESC= Support matrix representation of graphs +NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:${PORTSDIR}/math/py-numpy + +SCIPY_DESC= Support sparse matrix representation of graphs +SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.15.1:${PORTSDIR}/science/py-scipy \ + ${PYTHON_PKGNAMEPREFIX}scikit-sparse>=0.2:${PORTSDIR}/science/py-scikit-sparse + +MPL_DESC= Support flexible graph rendering +MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:${PORTSDIR}/math/py-matplotlib + +GRAPHVIZ_DESC= Support additional graph layout and rendering algorithms +GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphviz>=1.2:${PORTSDIR}/graphics/py-graphviz + EXAMPLESDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTEXAMPLES= * diff --git a/math/py-networkx/pkg-descr b/math/py-networkx/pkg-descr index 1fc64a6ee313..8b19bac1c5a5 100644 --- a/math/py-networkx/pkg-descr +++ b/math/py-networkx/pkg-descr @@ -18,4 +18,4 @@ Additional benefits due to Python: * Multi-platform * Allows easy access to almost any database -WWW: http://networkx.lanl.gov +WWW: https://networkx.github.io/ |