Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
matplotlib is a pure python plotting library designed to bring
publication quality plotting to python with a syntax familiar to
matlab users. A lot progress towards this goal has been made since
the first release of matplotlib, the library does produce high quality
2D plots. All of the plotting commands can be accessed either via a
functional interface familiar to matlab users or an object oriented
interface familiar to python users, and several high resolution output
formats are supported.
Tutorial: http://matplotlib.sourceforge.net/tutorial.html

View File

@@ -0,0 +1,46 @@
# $NetBSD: Makefile,v 1.38 2013/06/04 22:16:25 tron Exp $
#
DISTNAME= matplotlib-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 3
CATEGORIES= graphics python
MASTER_SITES= https://github.com/downloads/matplotlib/matplotlib/
FETCH_USING= curl
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://matplotlib.sourceforge.net/
COMMENT= Matlab-style plotting package for Python
DEPENDS+= ${PYPKGPREFIX}-pytz>=2008b:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-dateutil>=1.2:../../time/py-dateutil
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
PY_PATCHPLIST= yes
PYDISTUTILSPKG= 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/extension.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"

1974
graphics/py-matplotlib/PLIST Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.6 2010/06/10 20:51:05 wiz Exp $
BUILDLINK_TREE+= pymatplotlib
.if !defined(PYMATPLOTLIB_BUILDLINK3_MK)
PYMATPLOTLIB_BUILDLINK3_MK:=
.include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pymatplotlib+= ${PYPKGPREFIX}-matplotlib>=0.87.2
BUILDLINK_PKGSRCDIR.pymatplotlib?= ../../graphics/py-matplotlib
.endif # PYMATPLOTLIB_BUILDLINK3_MK
BUILDLINK_TREE+= -pymatplotlib

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.18 2012/12/17 11:51:18 drochner Exp $
SHA1 (matplotlib-1.2.0.tar.gz) = 1d0c319b2bc545f1a7002f56768e5730fe573518
RMD160 (matplotlib-1.2.0.tar.gz) = 0f41765944cb26eaa9dadd0ec164e941dbc46363
Size (matplotlib-1.2.0.tar.gz) = 36893347 bytes
SHA1 (patch-aa) = 447d50c1f5838ef0234d366b7ac29a47002a737d

View File

@@ -0,0 +1,32 @@
$NetBSD: patch-aa,v 1.10 2012/04/17 17:17:03 drochner Exp $
--- setupext.py.orig 2011-10-06 14:50:23.000000000 +0000
+++ setupext.py
@@ -221,12 +221,7 @@ sysconfig.customize_compiler = my_custom
def run_child_process(cmd):
- p = subprocess.Popen(cmd, shell=True,
- stdin=subprocess.PIPE,
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT,
- close_fds=(sys.platform != 'win32'))
- return p.stdin, p.stdout
+ return None, os.popen(cmd + " 2>&1")
class CleanUpFile:
"""CleanUpFile deletes the specified filename when self is destroyed."""
@@ -364,11 +359,8 @@ def check_for_libpng():
return True
def add_base_flags(module):
- incdirs = filter(os.path.exists,
- [os.path.join(p, 'include') for p in basedirlist ])
- libdirs = filter(os.path.exists,
- [os.path.join(p, 'lib') for p in basedirlist ]+
- [os.path.join(p, 'lib64') for p in basedirlist ] )
+ incdirs = [os.path.join(os.environ['LOCALBASE'], 'include')]
+ libdirs = [os.path.join(os.environ['LOCALBASE'], 'lib')]
module.include_dirs.extend(incdirs)
module.include_dirs.append('.')