aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2015-06-14 23:40:33 +0800
committerwen <wen@FreeBSD.org>2015-06-14 23:40:33 +0800
commitaa4f5d093bd86c9cab84f09aa799569ab3c0f00b (patch)
tree9038e4eedf4cae897ae99e4e1ebbb0f4c82c4974 /math
parentcfc77e06129b85a34a0f1cc180d3014632388467 (diff)
downloadfreebsd-ports-gnome-aa4f5d093bd86c9cab84f09aa799569ab3c0f00b.tar.gz
freebsd-ports-gnome-aa4f5d093bd86c9cab84f09aa799569ab3c0f00b.tar.zst
freebsd-ports-gnome-aa4f5d093bd86c9cab84f09aa799569ab3c0f00b.zip
- Update to 1.9.1
PR: 200679 Submitted by: yuri@rawbw.com Approved by: maintainer
Diffstat (limited to 'math')
-rw-r--r--math/py-networkx/Makefile11
-rw-r--r--math/py-networkx/distinfo4
-rw-r--r--math/py-networkx/files/patch-setup.py24
3 files changed, 24 insertions, 15 deletions
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile
index 2f24d5f2f6ed..4674c40e2961 100644
--- a/math/py-networkx/Makefile
+++ b/math/py-networkx/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= networkx
-PORTVERSION= 1.8.1
+PORTVERSION= 1.9.1
CATEGORIES= math python
MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \
CHEESESHOP
@@ -13,6 +13,15 @@ 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
+
USES= python shebangfix
USE_PYTHON= distutils autoplist
diff --git a/math/py-networkx/distinfo b/math/py-networkx/distinfo
index a8576c8990af..8a410e61ba23 100644
--- a/math/py-networkx/distinfo
+++ b/math/py-networkx/distinfo
@@ -1,2 +1,2 @@
-SHA256 (networkx-1.8.1.tar.gz) = b75ba675fd2831f60e3f5a028822a8f7b9993877854599e9694196f8b2f88233
-SIZE (networkx-1.8.1.tar.gz) = 806766
+SHA256 (networkx-1.9.1.tar.gz) = 6380eb38d0b5770d7e50813c8a48ff7c373b2187b4220339c1adce803df01c59
+SIZE (networkx-1.9.1.tar.gz) = 1035784
diff --git a/math/py-networkx/files/patch-setup.py b/math/py-networkx/files/patch-setup.py
index 82da57ee9c96..577f9e55eeb8 100644
--- a/math/py-networkx/files/patch-setup.py
+++ b/math/py-networkx/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig 2011-11-19 02:31:31.000000000 +0100
-+++ setup.py 2012-01-21 21:04:35.000000000 +0100
-@@ -53,26 +53,7 @@
- "networkx.tests",
+--- setup.py.orig 2015-06-06 09:03:01 UTC
++++ setup.py
+@@ -58,26 +58,7 @@ packages=["networkx",
+ "networkx.testing",
"networkx.utils"]
-docdirbase = 'share/doc/networkx-%s' % version
--# add basic documentation
+-# add basic documentation
-data = [(docdirbase, glob("*.txt"))]
-# add examples
-for d in ['advanced',
@@ -17,13 +17,13 @@
- 'multigraph',
- 'pygraphviz',
- 'readwrite']:
-- dd=os.path.join(docdirbase,'examples',d)
-- pp=os.path.join('examples',d)
-- data.append((dd,glob(os.path.join(pp,"*.py"))))
-- data.append((dd,glob(os.path.join(pp,"*.bz2"))))
-- data.append((dd,glob(os.path.join(pp,"*.gz"))))
-- data.append((dd,glob(os.path.join(pp,"*.mbox"))))
-- data.append((dd,glob(os.path.join(pp,"*.edgelist"))))
+- dd = os.path.join(docdirbase,'examples', d)
+- pp = os.path.join('examples', d)
+- data.append((dd, glob(os.path.join(pp ,"*.py"))))
+- data.append((dd, glob(os.path.join(pp ,"*.bz2"))))
+- data.append((dd, glob(os.path.join(pp ,"*.gz"))))
+- data.append((dd, glob(os.path.join(pp ,"*.mbox"))))
+- data.append((dd, glob(os.path.join(pp ,"*.edgelist"))))
+data = [ ]
# add the tests