diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-11-19 18:36:58 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-11-19 18:36:58 +0000 |
commit | 2f9e0ad0c55d587f01e2c975f1b17dfa143a16f1 (patch) | |
tree | 2d1af279da36d3b4fd32527beb9fe1ecf47d0f91 /math/py-networkx/files/patch-setup.py | |
parent | - Switch to DISTVERSION to avoid hard-coded value in MASTER_SITES (diff) |
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 <john@saltant.com>
Approved by: dikshie@sfc.wide.ad.jp (maintainer)
Diffstat (limited to 'math/py-networkx/files/patch-setup.py')
-rw-r--r-- | math/py-networkx/files/patch-setup.py | 16 |
1 files changed, 12 insertions, 4 deletions
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', |