pkgsrc/math/py-networkx/Makefile
wen e3d98f2b01 Update to 1.9
Add missing DEPENDS

Upstream changes:
NetworkX 1.9
Release date: 21 June 2014

Support for Python 3.1 is dropped in this release.

Highlights
Completely rewritten maximum flow and flow-based connectivity algorithms with backwards incompatible interfaces
Community graph generators
Stoer-Wagner minimum cut algorithm
Linear-time Eulerian circuit algorithm
Linear algebra package changed to use SciPy sparse matrices
Algebraic connectivity, Fiedler vector, spectral ordering algorithms
Link prediction algorithms
Goldberg-Radzik shortest path algorithm
Semiconnected graph and tree recognition algorithms
2014-07-28 12:16:23 +00:00

44 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2014/07/28 12:16:23 wen Exp $
DISTNAME= networkx-1.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= http://pypi.python.org/packages/source/n/networkx/ \
http://networkx.lanl.gov/download/networkx/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://networkx.lanl.gov/
COMMENT= Python package for creating and manipulating graphs and networks
LICENSE= modified-bsd
PYTHON_SELF_CONFLICT= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose>=0.11:../../devel/py-nose
DEPENDS+= ${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator
SUBST_CLASSES+= python
SUBST_STAGE.python= post-patch
SUBST_FILES.python+= networkx/readwrite/tests/*.py
SUBST_FILES.python+= networkx/utils/tests/*.py
SUBST_FILES.python+= networkx/tests/*.py
SUBST_FILES.python+= networkx/generators/tests/*.py
SUBST_FILES.python+= networkx/classes/tests/*.py
SUBST_FILES.python+= networkx/algorithms/tests/*.py
SUBST_FILES.python+= networkx/algorithms/approximation/tests/*.py
SUBST_FILES.python+= networkx/algorithms/assortativity/tests/*.py
SUBST_FILES.python+= networkx/algorithms/bipartite/tests/*.py
SUBST_FILES.python+= networkx/algorithms/centrality/tests/*.py
SUBST_FILES.python+= networkx/algorithms/chordal/tests/*.py
SUBST_FILES.python+= networkx/algorithms/community/tests/*.py
SUBST_FILES.python+= networkx/algorithms/components/tests/*.py
SUBST_FILES.python+= networkx/algorithms/isomorphism/tests/*.py
SUBST_FILES.python+= networkx/algorithms/link_analysis/tests/*.py
SUBST_FILES.python+= networkx/algorithms/shortest_paths/tests/*.py
SUBST_FILES.python+= networkx/algorithms/traversal/tests/*.py
SUBST_MESSAGE.python= Fixing path to Python interpreter.
SUBST_SED.python= -e "s,/usr/bin/env python,${PYTHONBIN},g"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"