blob: a2968a5ccb2f6f7d9bac25fc0b62facb0ad08f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.18 2016/06/08 17:43:35 wiz Exp $
DISTNAME= networkx-1.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=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
DEPENDS+= ${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose>=1.3.7:../../devel/py-nose
USE_LANGUAGES= # none
PYTHON_SELF_CONFLICT= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35
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/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
|