From 2f9e0ad0c55d587f01e2c975f1b17dfa143a16f1 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Thu, 19 Nov 2015 18:36:58 +0000 Subject: math/py-networkx: update to 1.10 - update to 1.10 - add YAML option (on by default) - remove gratuitous word from option descriptions - USE_PYTHON=concurrent instead of setting EXAMPLESDIR - alphabetize USE_PYTHON - discard pkg-message given all options are enabled by default While here limit python version to 2.x, because it's dependencies graphics/py-graphviz and math/py-matplotlib failed to configure with python3. PR: 204594 Submitted by: John W. O'Brien Approved by: dikshie@sfc.wide.ad.jp (maintainer) --- math/py-networkx/files/patch-setup.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'math/py-networkx/files/patch-setup.py') diff --git a/math/py-networkx/files/patch-setup.py b/math/py-networkx/files/patch-setup.py index 577f9e55eeb8..0312b0a4e0a8 100644 --- a/math/py-networkx/files/patch-setup.py +++ b/math/py-networkx/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig 2015-06-06 09:03:01 UTC +--- setup.py.orig 2015-11-15 23:06:39 UTC +++ setup.py -@@ -58,26 +58,7 @@ packages=["networkx", +@@ -59,27 +59,6 @@ packages=["networkx", "networkx.testing", "networkx.utils"] @@ -24,7 +24,15 @@ - 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 package_data = { + 'networkx': ['tests/*.py'], +@@ -131,7 +110,6 @@ if __name__ == "__main__": + download_url = release.download_url, + classifiers = release.classifiers, + packages = packages, +- data_files = data, + package_data = package_data, + install_requires = install_requires, + test_suite = 'nose.collector', -- cgit v1.2.3