blob: bfc7384e53af4f481daf184da01f6eaa013b79e3 (
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
47
48
49
|
# $NetBSD: Makefile,v 1.43 2016/05/29 12:35:00 mef Exp $
DISTNAME= matplotlib-1.3.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_GITHUB:=matplotlib/}
GITHUB_PROJECT= matplotlib
# with Githubify, size changes little bit, so the following line, please 1delete for another update.
DIST_SUBDIR= matplotlib-1.3.1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://matplotlib.org/
COMMENT= Matlab-style plotting package for Python
# LICENSE= see ${WRKSRC}/LICENSE/LICENSE
DEPENDS+= ${PYPKGPREFIX}-pytz>=2008b:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=1.5.6:../../devel/py-pyparsing
PYTHON_VERSIONED_DEPENDENCIES= dateutil
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
PY_PATCHPLIST= yes
REPLACE_PYTHON= lib/matplotlib/dates.py
REPLACE_PYTHON+= lib/matplotlib/sankey.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/art3d.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/axes3d.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/axis3d.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/proj3d.py
post-patch:
( ${ECHO} "[directories]"; \
${ECHO} "basedirlist=/usr"; \
${ECHO} "[gui_support]"; \
${ECHO} "gtk = False"; \
${ECHO} "gtkagg = False"; \
${ECHO} "tkagg = False"; \
${ECHO} "wxagg = False" ) > ${WRKSRC}/setup.cfg
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|