Allow for many run dependencies to be OPTIONs,
as by upstream suggestion PR: 201349 Submitted by: john@saltant.com Approved by: maintainer timeout
This commit is contained in:
parent
a5cf69766d
commit
886e3ad113
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392870
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= networkx
|
PORTNAME= networkx
|
||||||
PORTVERSION= 1.9.1
|
PORTVERSION= 1.9.1
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= math python
|
CATEGORIES= math python
|
||||||
MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \
|
MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \
|
||||||
CHEESESHOP
|
CHEESESHOP
|
||||||
@ -13,14 +14,10 @@ COMMENT= Tools for complex networks
|
|||||||
|
|
||||||
LICENSE= BSD3CLAUSE
|
LICENSE= BSD3CLAUSE
|
||||||
|
|
||||||
RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}graphviz>=1.2:${PORTSDIR}/graphics/py-graphviz \
|
RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:${PORTSDIR}/devel/py-decorator
|
||||||
${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:${PORTSDIR}/devel/py-decorator \
|
|
||||||
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:${PORTSDIR}/math/py-matplotlib \
|
# ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:${PORTSDIR}/textproc/py-sphinx \
|
||||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:${PORTSDIR}/math/py-numpy \
|
# ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:${PORTSDIR}/textproc/py-docutils
|
||||||
${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
|
|
||||||
|
|
||||||
USES= python shebangfix
|
USES= python shebangfix
|
||||||
USE_PYTHON= distutils autoplist
|
USE_PYTHON= distutils autoplist
|
||||||
@ -28,6 +25,24 @@ USE_PYTHON= distutils autoplist
|
|||||||
PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
|
PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
|
||||||
|
|
||||||
OPTIONS_DEFINE= EXAMPLES
|
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}
|
EXAMPLESDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
|
||||||
PORTEXAMPLES= *
|
PORTEXAMPLES= *
|
||||||
|
|
||||||
|
@ -18,4 +18,4 @@ Additional benefits due to Python:
|
|||||||
* Multi-platform
|
* Multi-platform
|
||||||
* Allows easy access to almost any database
|
* Allows easy access to almost any database
|
||||||
|
|
||||||
WWW: http://networkx.lanl.gov
|
WWW: https://networkx.github.io/
|
||||||
|
Loading…
Reference in New Issue
Block a user