pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-networkx py-networkx: updated to 2.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/264b0d61afcf
branches: trunk
changeset: 335304:264b0d61afcf
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jun 17 14:58:26 2019 +0000
description:
py-networkx: updated to 2.3
Announcement: NetworkX 2.3
==========================
We're happy to announce the release of NetworkX 2.3!
NetworkX is a Python package for the creation, manipulation, and study of the
structure, dynamics, and functions of complex networks.
For more information, please visit our website <http://networkx.github.io/>_
and our gallery of examples
<https://networkx.github.io/documentation/latest/auto_examples/index.html>_.
Please send comments and questions to the networkx-discuss mailing list
<http://groups.google.com/group/networkx-discuss>_.
Highlights
----------
This release is the result of 6 months of work with over 92 pull requests by
30 contributors. Highlights include:
- Dropped support for Python 2. We are no longer supporting Python 2.7 and we will
start changing code to take advantage of Python 3 features we couldn't before.
- Added some Moral Graph analysis functions.
- Enable matplotlib drawing using curved arrows via connectionstyle parameter.
- Remove ticks and axes labels from matplotlib plots.
- Two new generators of Harary Graphs.
- Added Dual Barabasi-Albert model
- Added VoteRank algorithm
- Added Equitable coloring algorithms
- Added planar layout algorithms
- Les Miserables network example
- Javascript example update
Improvements
------------
- Change default colors to be color-blind friendly
- Many bug fixes and documentation improvements
- Speed up of simple_cycles
- Improvements for reading various formats like GML, GEXF, Graphml
- Allow subclassing to access node_attr_dict_factory
API Changes
-----------
- The G.fresh_copy() mechanism for creating an empty_graph of the same
type (introduced in v2.0) does not playing nicely with pickle and others.
So, we have removed the code that caused a need for that. Instead you
should use the more natural G.__class__() syntax to get an empty_graph
of the same type as G.
Deprecations
------------
- The Graph.fresh_copy() method should now use Graph.__class__()
- ReverseView class removed in favor of reverse_view() function.
diffstat:
math/py-networkx/Makefile | 7 ++-----
math/py-networkx/PLIST | 32 +++++++++++++++++++++++++++++++-
math/py-networkx/distinfo | 11 +++++------
math/py-networkx/patches/patch-setup.py | 14 --------------
4 files changed, 38 insertions(+), 26 deletions(-)
diffs (150 lines):
diff -r 6741e9953c55 -r 264b0d61afcf math/py-networkx/Makefile
--- a/math/py-networkx/Makefile Mon Jun 17 14:56:15 2019 +0000
+++ b/math/py-networkx/Makefile Mon Jun 17 14:58:26 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2018/11/30 10:37:07 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/06/17 14:58:26 adam Exp $
-DISTNAME= networkx-2.2
+DISTNAME= networkx-2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/networkx/}
@@ -16,8 +16,5 @@
USE_LANGUAGES= # none
-post-extract:
- find ${WRKSRC} -type f -exec chmod 644 {} +
-
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6741e9953c55 -r 264b0d61afcf math/py-networkx/PLIST
--- a/math/py-networkx/PLIST Mon Jun 17 14:56:15 2019 +0000
+++ b/math/py-networkx/PLIST Mon Jun 17 14:58:26 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2018/11/30 10:37:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2019/06/17 14:58:26 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -293,6 +293,12 @@
${PYSITELIB}/networkx/algorithms/centrality/tests/test_subgraph.py
${PYSITELIB}/networkx/algorithms/centrality/tests/test_subgraph.pyc
${PYSITELIB}/networkx/algorithms/centrality/tests/test_subgraph.pyo
+${PYSITELIB}/networkx/algorithms/centrality/tests/test_voterank.py
+${PYSITELIB}/networkx/algorithms/centrality/tests/test_voterank.pyc
+${PYSITELIB}/networkx/algorithms/centrality/tests/test_voterank.pyo
+${PYSITELIB}/networkx/algorithms/centrality/voterank_alg.py
+${PYSITELIB}/networkx/algorithms/centrality/voterank_alg.pyc
+${PYSITELIB}/networkx/algorithms/centrality/voterank_alg.pyo
${PYSITELIB}/networkx/algorithms/chains.py
${PYSITELIB}/networkx/algorithms/chains.pyc
${PYSITELIB}/networkx/algorithms/chains.pyo
@@ -308,6 +314,9 @@
${PYSITELIB}/networkx/algorithms/coloring/__init__.py
${PYSITELIB}/networkx/algorithms/coloring/__init__.pyc
${PYSITELIB}/networkx/algorithms/coloring/__init__.pyo
+${PYSITELIB}/networkx/algorithms/coloring/equitable_coloring.py
+${PYSITELIB}/networkx/algorithms/coloring/equitable_coloring.pyc
+${PYSITELIB}/networkx/algorithms/coloring/equitable_coloring.pyo
${PYSITELIB}/networkx/algorithms/coloring/greedy_coloring.py
${PYSITELIB}/networkx/algorithms/coloring/greedy_coloring.pyc
${PYSITELIB}/networkx/algorithms/coloring/greedy_coloring.pyo
@@ -637,6 +646,9 @@
${PYSITELIB}/networkx/algorithms/mis.py
${PYSITELIB}/networkx/algorithms/mis.pyc
${PYSITELIB}/networkx/algorithms/mis.pyo
+${PYSITELIB}/networkx/algorithms/moral.py
+${PYSITELIB}/networkx/algorithms/moral.pyc
+${PYSITELIB}/networkx/algorithms/moral.pyo
${PYSITELIB}/networkx/algorithms/node_classification/__init__.py
${PYSITELIB}/networkx/algorithms/node_classification/__init__.pyc
${PYSITELIB}/networkx/algorithms/node_classification/__init__.pyo
@@ -682,6 +694,9 @@
${PYSITELIB}/networkx/algorithms/operators/unary.py
${PYSITELIB}/networkx/algorithms/operators/unary.pyc
${PYSITELIB}/networkx/algorithms/operators/unary.pyo
+${PYSITELIB}/networkx/algorithms/planar_drawing.py
+${PYSITELIB}/networkx/algorithms/planar_drawing.pyc
+${PYSITELIB}/networkx/algorithms/planar_drawing.pyo
${PYSITELIB}/networkx/algorithms/planarity.py
${PYSITELIB}/networkx/algorithms/planarity.pyc
${PYSITELIB}/networkx/algorithms/planarity.pyo
@@ -748,6 +763,9 @@
${PYSITELIB}/networkx/algorithms/swap.py
${PYSITELIB}/networkx/algorithms/swap.pyc
${PYSITELIB}/networkx/algorithms/swap.pyo
+${PYSITELIB}/networkx/algorithms/tests/__init__.py
+${PYSITELIB}/networkx/algorithms/tests/__init__.pyc
+${PYSITELIB}/networkx/algorithms/tests/__init__.pyo
${PYSITELIB}/networkx/algorithms/tests/test_boundary.py
${PYSITELIB}/networkx/algorithms/tests/test_boundary.pyc
${PYSITELIB}/networkx/algorithms/tests/test_boundary.pyo
@@ -829,6 +847,12 @@
${PYSITELIB}/networkx/algorithms/tests/test_mis.py
${PYSITELIB}/networkx/algorithms/tests/test_mis.pyc
${PYSITELIB}/networkx/algorithms/tests/test_mis.pyo
+${PYSITELIB}/networkx/algorithms/tests/test_moral.py
+${PYSITELIB}/networkx/algorithms/tests/test_moral.pyc
+${PYSITELIB}/networkx/algorithms/tests/test_moral.pyo
+${PYSITELIB}/networkx/algorithms/tests/test_planar_drawing.py
+${PYSITELIB}/networkx/algorithms/tests/test_planar_drawing.pyc
+${PYSITELIB}/networkx/algorithms/tests/test_planar_drawing.pyo
${PYSITELIB}/networkx/algorithms/tests/test_planarity.py
${PYSITELIB}/networkx/algorithms/tests/test_planarity.pyc
${PYSITELIB}/networkx/algorithms/tests/test_planarity.pyo
@@ -1106,6 +1130,9 @@
${PYSITELIB}/networkx/generators/geometric.py
${PYSITELIB}/networkx/generators/geometric.pyc
${PYSITELIB}/networkx/generators/geometric.pyo
+${PYSITELIB}/networkx/generators/harary_graph.py
+${PYSITELIB}/networkx/generators/harary_graph.pyc
+${PYSITELIB}/networkx/generators/harary_graph.pyo
${PYSITELIB}/networkx/generators/intersection.py
${PYSITELIB}/networkx/generators/intersection.pyc
${PYSITELIB}/networkx/generators/intersection.pyo
@@ -1169,6 +1196,9 @@
${PYSITELIB}/networkx/generators/tests/test_geometric.py
${PYSITELIB}/networkx/generators/tests/test_geometric.pyc
${PYSITELIB}/networkx/generators/tests/test_geometric.pyo
+${PYSITELIB}/networkx/generators/tests/test_harary_graph.py
+${PYSITELIB}/networkx/generators/tests/test_harary_graph.pyc
+${PYSITELIB}/networkx/generators/tests/test_harary_graph.pyo
${PYSITELIB}/networkx/generators/tests/test_intersection.py
${PYSITELIB}/networkx/generators/tests/test_intersection.pyc
${PYSITELIB}/networkx/generators/tests/test_intersection.pyo
diff -r 6741e9953c55 -r 264b0d61afcf math/py-networkx/distinfo
--- a/math/py-networkx/distinfo Mon Jun 17 14:56:15 2019 +0000
+++ b/math/py-networkx/distinfo Mon Jun 17 14:58:26 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.12 2018/11/30 10:37:07 adam Exp $
+$NetBSD: distinfo,v 1.13 2019/06/17 14:58:26 adam Exp $
-SHA1 (networkx-2.2.zip) = a68f8faa3726c220b93d68cfa28bed24874ba3fc
-RMD160 (networkx-2.2.zip) = 255c9146174fb6aa67378001648a00335b4f2392
-SHA512 (networkx-2.2.zip) = 098e58c5f93c72c789e736102815e2f6388eb34147a674941519ef6f6d6452cc09b76d8523893418cb69df133e7623ea2c62fa51144f598f592ebce0e3e3ccbb
-Size (networkx-2.2.zip) = 1700336 bytes
-SHA1 (patch-setup.py) = 7996c9a19da1da3b017f6e646d37d085e42bfb82
+SHA1 (networkx-2.3.zip) = 04339840fc9ed9018f17efa58f9a5d9a59cd523d
+RMD160 (networkx-2.3.zip) = 5263d628b5e7e4407234575b68f06d9632e26b79
+SHA512 (networkx-2.3.zip) = 38e8abf247284bc006234f7d9bb7faf6b7ad539f7bf9d6f3274ec7e11c624f8cbf53bf629487764f828fa0598ccf2ab18fc6c3bbbbf1a0332e6a5dabe7135cf7
+Size (networkx-2.3.zip) = 1743914 bytes
diff -r 6741e9953c55 -r 264b0d61afcf math/py-networkx/patches/patch-setup.py
--- a/math/py-networkx/patches/patch-setup.py Mon Jun 17 14:56:15 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2018/11/30 10:37:07 adam Exp $
-
-Do not install examples; they have different requirements.
-
---- setup.py.orig 2018-11-30 10:28:52.000000000 +0000
-+++ setup.py
-@@ -150,7 +150,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,
- extras_require=extras_require,
Home |
Main Index |
Thread Index |
Old Index