Lines 2-25
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= networkx |
4 |
PORTNAME= networkx |
5 |
PORTVERSION= 1.10 |
5 |
PORTVERSION= 1.11 |
6 |
PORTREVISION= 4 |
|
|
7 |
CATEGORIES= math python |
6 |
CATEGORIES= math python |
8 |
MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \ |
7 |
MASTER_SITES= CHEESESHOP |
9 |
CHEESESHOP |
|
|
10 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
|
9 |
PKGNAMESUFFIX= 1 |
11 |
|
10 |
|
12 |
MAINTAINER= dikshie@sfc.wide.ad.jp |
11 |
MAINTAINER= freebsd_ports@k-worx.org |
13 |
COMMENT= Tools for complex networks |
12 |
COMMENT= Tools for complex networks |
14 |
|
13 |
|
15 |
LICENSE= BSD3CLAUSE |
14 |
LICENSE= BSD3CLAUSE |
16 |
|
15 |
|
17 |
RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator@${PY_FLAVOR} |
16 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator@${PY_FLAVOR} |
18 |
|
17 |
|
19 |
# ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:textproc/py-sphinx@${PY_FLAVOR} \ |
|
|
20 |
# ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils@${PY_FLAVOR} |
21 |
|
22 |
NO_ARCH= yes |
23 |
USES= python shebangfix |
18 |
USES= python shebangfix |
24 |
USE_PYTHON= autoplist concurrent distutils |
19 |
USE_PYTHON= autoplist concurrent distutils |
25 |
SHEBANG_FILES= examples/graph/atlas.py \ |
20 |
SHEBANG_FILES= examples/graph/atlas.py \ |
Lines 26-57
Link Here
|
26 |
examples/multigraph/chess_masters.py \ |
21 |
examples/multigraph/chess_masters.py \ |
27 |
networkx/generators/tests/test_random_graphs.py |
22 |
networkx/generators/tests/test_random_graphs.py |
28 |
|
23 |
|
29 |
PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} |
|
|
30 |
|
31 |
OPTIONS_DEFINE= EXAMPLES YAML |
24 |
OPTIONS_DEFINE= EXAMPLES YAML |
32 |
OPTIONS_GROUP= MATRIX RENDER |
25 |
OPTIONS_GROUP= MATRIX RENDER |
33 |
OPTIONS_GROUP_MATRIX= NUMPY SCIPY |
26 |
OPTIONS_GROUP_MATRIX= NUMPY SCIPY |
34 |
OPTIONS_GROUP_RENDER= MPL GRAPHVIZ |
27 |
OPTIONS_GROUP_RENDER= GRAPHVIZ MPL |
35 |
OPTIONS_DEFAULT= NUMPY SCIPY MPL GRAPHVIZ YAML |
28 |
OPTIONS_DEFAULT= GRAPHVIZ MPL NUMPY SCIPY YAML |
36 |
|
29 |
|
37 |
NUMPY_DESC= Matrix representation of graphs |
30 |
GRAPHVIZ_DESC= Additional graph layout and rendering algorithms |
|
|
31 |
GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygraphviz>=1.2:graphics/py-pygraphviz@${PY_FLAVOR} |
32 |
|
33 |
MPL_DESC= Flexible graph rendering |
34 |
MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:math/py-matplotlib@${PY_FLAVOR} |
35 |
|
36 |
NUMPY_DESC= Matrix representation of graphs |
38 |
NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2,1:math/py-numpy@${PY_FLAVOR} |
37 |
NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2,1:math/py-numpy@${PY_FLAVOR} |
39 |
|
38 |
|
40 |
SCIPY_DESC= Sparse matrix representation of graphs |
39 |
SCIPY_DESC= Sparse matrix representation of graphs |
41 |
SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.15.1:science/py-scipy@${PY_FLAVOR} \ |
40 |
SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.15.1:science/py-scipy@${PY_FLAVOR} \ |
42 |
${PYTHON_PKGNAMEPREFIX}scikit-sparse>=0.2:science/py-scikit-sparse@${PY_FLAVOR} |
41 |
${PYTHON_PKGNAMEPREFIX}scikit-sparse>=0.2:science/py-scikit-sparse@${PY_FLAVOR} |
43 |
|
42 |
|
44 |
MPL_DESC= Flexible graph rendering |
43 |
YAML_DESC= Reading and writing YAML files |
45 |
MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:math/py-matplotlib@${PY_FLAVOR} |
|
|
46 |
|
47 |
GRAPHVIZ_DESC= Additional graph layout and rendering algorithms |
48 |
GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygraphviz>=1.2:graphics/py-pygraphviz@${PY_FLAVOR} |
49 |
|
50 |
YAML_DESC= Reading and writing YAML files |
51 |
YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} |
44 |
YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} |
52 |
|
45 |
|
53 |
PORTEXAMPLES= * |
46 |
PORTEXAMPLES= * |
|
|
47 |
NO_ARCH= yes |
54 |
|
48 |
|
|
|
49 |
PORTSCOUT= limit:^1\. |
50 |
|
55 |
post-install: |
51 |
post-install: |
56 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
52 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
57 |
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} |
53 |
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} |