summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib-tk/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-21 10:53:21 +0000
committerwiz <wiz@pkgsrc.org>2014-01-21 10:53:21 +0000
commitace3b808e8fc6373faffd4f618c096cfcd45d502 (patch)
tree1df845ec81d0cb214fa4a1a9163a05b4746a5f9d /graphics/py-matplotlib-tk/patches
parent531338d76e83e80de914e0e62e53e16344acaba8 (diff)
downloadpkgsrc-ace3b808e8fc6373faffd4f618c096cfcd45d502.tar.gz
Remove py-matplotlib-tk -- the tk backend is not supported in the
latest release.
Diffstat (limited to 'graphics/py-matplotlib-tk/patches')
-rw-r--r--graphics/py-matplotlib-tk/patches/patch-aa49
-rw-r--r--graphics/py-matplotlib-tk/patches/patch-ab55
2 files changed, 0 insertions, 104 deletions
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