diff options
author | wiz <wiz> | 2014-01-21 10:53:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-01-21 10:53:21 +0000 |
commit | f30f916fac29e8328b2a0b58e2d189cb9e842b25 (patch) | |
tree | 1df845ec81d0cb214fa4a1a9163a05b4746a5f9d /graphics | |
parent | b8c8ccd1468fa6d05f1570ef9d80850adda41e6f (diff) | |
download | pkgsrc-f30f916fac29e8328b2a0b58e2d189cb9e842b25.tar.gz |
Remove py-matplotlib-tk -- the tk backend is not supported in the
latest release.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 3 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/DESCR | 12 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/Makefile | 41 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/PLIST | 2 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/distinfo | 7 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/patches/patch-aa | 49 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/patches/patch-ab | 55 |
7 files changed, 1 insertions, 168 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index efd5fda2205..1ef96dcd1c7 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.670 2014/01/19 20:30:49 wiz Exp $ +# $NetBSD: Makefile,v 1.671 2014/01/21 10:53:21 wiz Exp $ # COMMENT= Graphics tools and libraries @@ -391,7 +391,6 @@ SUBDIR+= py-imaging SUBDIR+= py-imagingtk SUBDIR+= py-matplotlib SUBDIR+= py-matplotlib-gtk2 -SUBDIR+= py-matplotlib-tk SUBDIR+= py-nwdiag SUBDIR+= py-piddle SUBDIR+= py-pycha diff --git a/graphics/py-matplotlib-tk/DESCR b/graphics/py-matplotlib-tk/DESCR deleted file mode 100644 index c965042acde..00000000000 --- a/graphics/py-matplotlib-tk/DESCR +++ /dev/null @@ -1,12 +0,0 @@ -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. - -This package contains the Tk driver for matplotlib. - -Tutorial: http://matplotlib.sourceforge.net/tutorial.html diff --git a/graphics/py-matplotlib-tk/Makefile b/graphics/py-matplotlib-tk/Makefile deleted file mode 100644 index 2a43ee0bb2a..00000000000 --- a/graphics/py-matplotlib-tk/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# $NetBSD: Makefile,v 1.22 2014/01/11 14:42:04 adam Exp $ - -DISTNAME= matplotlib-1.2.1 -PKGNAME= ${PYPKGPREFIX}-matplotlib-tk-1.2.1 -PKGREVISION= 1 -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= Tk frontend for matplotlib - -DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk - -USE_TOOLS+= pkg-config -PY_PATCHPLIST= yes -PYDISTUTILSPKG= yes -USE_LANGUAGES= c c++ - -post-patch: - ( ${ECHO} "[directories]"; \ - ${ECHO} "basedirlist=/usr"; \ - ${ECHO} "[provide_packages]"; \ - ${ECHO} "pytz = False"; \ - ${ECHO} "dateutil = False"; \ - ${ECHO} "[gui_support]"; \ - ${ECHO} "gtk = False"; \ - ${ECHO} "gtkagg = False"; \ - ${ECHO} "tkagg = True"; \ - ${ECHO} "wxagg = False"; \ - ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg - -.include "../../lang/python/extension.mk" -.include "../../graphics/py-matplotlib/buildlink3.mk" -.include "../../devel/zlib/buildlink3.mk" -.include "../../graphics/freetype2/buildlink3.mk" -.include "../../graphics/png/buildlink3.mk" -.include "../../math/py-numpy/buildlink3.mk" -.include "../../x11/tk/buildlink3.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/graphics/py-matplotlib-tk/PLIST b/graphics/py-matplotlib-tk/PLIST deleted file mode 100644 index 8b5176eebe5..00000000000 --- a/graphics/py-matplotlib-tk/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/14 13:54:13 he Exp $ -${PYSITELIB}/matplotlib/backends/_tkagg.so diff --git a/graphics/py-matplotlib-tk/distinfo b/graphics/py-matplotlib-tk/distinfo deleted file mode 100644 index bb7111589d7..00000000000 --- a/graphics/py-matplotlib-tk/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -$NetBSD: distinfo,v 1.11 2013/07/24 11:13:56 drochner Exp $ - -SHA1 (matplotlib-1.2.1.tar.gz) = 82fc44d0047a713c1b0b1b4ea2503e6a41c57f98 -RMD160 (matplotlib-1.2.1.tar.gz) = c27142f1d6665bc6a748f601558045e7d801dbef -Size (matplotlib-1.2.1.tar.gz) = 38446200 bytes -SHA1 (patch-aa) = 7ff4d7f4bbd9a2b19b839f92e0a7b568db4d4fb9 -SHA1 (patch-ab) = d6b69b74d74a67c90b09f821ffe7da8eec79a855 diff --git a/graphics/py-matplotlib-tk/patches/patch-aa b/graphics/py-matplotlib-tk/patches/patch-aa deleted file mode 100644 index baad9a9e581..00000000000 --- a/graphics/py-matplotlib-tk/patches/patch-aa +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2012/12/17 11:52:43 drochner Exp $ - ---- setupext.py.orig 2012-11-06 22:31:09.000000000 +0000 -+++ setupext.py -@@ -108,13 +108,13 @@ options = {'display_status': True, - 'provide_pytz': 'auto', - 'provide_dateutil': 'auto', - 'provide_six': 'auto', -- 'build_agg': True, -+ 'build_agg': False, - 'build_gtk': 'auto', - 'build_gtkagg': 'auto', - 'build_tkagg': 'auto', - 'build_macosx': 'auto', -- 'build_image': True, -- 'build_windowing': True, -+ 'build_image': False, -+ 'build_windowing': False, - 'backend': None, - 'basedirlist': None} - -@@ -218,12 +218,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.""" -@@ -379,11 +374,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('.') diff --git a/graphics/py-matplotlib-tk/patches/patch-ab b/graphics/py-matplotlib-tk/patches/patch-ab deleted file mode 100644 index 8e0bcfa1e1f..00000000000 --- a/graphics/py-matplotlib-tk/patches/patch-ab +++ /dev/null @@ -1,55 +0,0 @@ -$NetBSD: patch-ab,v 1.7 2013/07/24 11:13:56 drochner Exp $ - ---- setup.py.orig 2013-03-26 13:04:37.000000000 +0000 -+++ setup.py -@@ -141,12 +141,12 @@ if not check_for_numpy(__version__numpy_ - if not check_for_freetype(): - sys.exit(1) - --build_ft2font(ext_modules, packages) --build_ttconv(ext_modules, packages) --build_contour(ext_modules, packages) --build_delaunay(ext_modules, packages) --build_path(ext_modules, packages) --build_tri(ext_modules, packages) -+#build_ft2font(ext_modules, packages) -+#build_ttconv(ext_modules, packages) -+#build_contour(ext_modules, packages) -+#build_delaunay(ext_modules, packages) -+#build_path(ext_modules, packages) -+#build_tri(ext_modules, packages) - - print_raw("") - print_raw("OPTIONAL BACKEND DEPENDENCIES") -@@ -176,13 +176,13 @@ if options['build_tkagg']: - build_tkagg(ext_modules, packages) - rc['backend'] = 'TkAgg' - --hasgtk = check_for_gtk() -+hasgtk = 1 - if options['build_gtk']: - if hasgtk or (options['build_gtk'] is True): - build_gdk(ext_modules, packages) - if options['build_gtkagg']: - if hasgtk or (options['build_gtkagg'] is True): -- options['build_agg'] = 1 -+ options['build_agg'] = 0 - build_gtkagg(ext_modules, packages) - rc['backend'] = 'GTKAgg' - -@@ -323,12 +323,12 @@ distrib = setup(name="matplotlib", - which emulates matlab graphics - """, - download_url="https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-{0}/matplotlib-{0}.tar.gz".format(__version__), -- packages = packages, -+# packages = packages, - platforms='any', -- py_modules = py_modules, -+# py_modules = py_modules, - ext_modules = ext_modules, - package_dir = package_dir, -- package_data = package_data, -+# package_data = package_data, - classifiers = classifiers, - cmdclass = {'build_py': build_py}, - **additional_params |