diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-02-08 22:40:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-02-08 22:40:07 +0000 |
commit | 29dcab4a61accf4bd0ff44817b0516e9eb1740d4 (patch) | |
tree | f1eb554331a6a6ec77d1ad18678330b56e770676 /dev-python/matplotlib/files | |
parent | Regenerate digest in Manifest2 format. (diff) | |
download | gentoo-2-29dcab4a61accf4bd0ff44817b0516e9eb1740d4.tar.gz gentoo-2-29dcab4a61accf4bd0ff44817b0516e9eb1740d4.tar.bz2 gentoo-2-29dcab4a61accf4bd0ff44817b0516e9eb1740d4.zip |
matplotlib version bump 0.90.0
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-python/matplotlib/files')
3 files changed, 143 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/digest-matplotlib-0.90.0 b/dev-python/matplotlib/files/digest-matplotlib-0.90.0 new file mode 100644 index 000000000000..d7cf0e0e72e4 --- /dev/null +++ b/dev-python/matplotlib/files/digest-matplotlib-0.90.0 @@ -0,0 +1,6 @@ +MD5 31ea12395826080b5be9c1e292cda6f1 matplotlib-0.90.0.tar.gz 2795281 +RMD160 6be8d7d1f0896378d8c8880b8b0188e2037892cc matplotlib-0.90.0.tar.gz 2795281 +SHA256 c3c34a58a62706c48b98a16a0702a8114f2674780197ac715cd66f65fac5478d matplotlib-0.90.0.tar.gz 2795281 +MD5 d38d147a6f7e2d9fcb9ac864fd83c10f users_guide_0.87.7.pdf 4207694 +RMD160 15ee124fd4ac3a952365f3378d420270c742593e users_guide_0.87.7.pdf 4207694 +SHA256 2b1bad57984157faa039a932bcf9711cd72f956d70ea9a5b2a3bf9e0b3bbed20 users_guide_0.87.7.pdf 4207694 diff --git a/dev-python/matplotlib/files/matplotlib-0.90.0-init.patch b/dev-python/matplotlib/files/matplotlib-0.90.0-init.patch new file mode 100644 index 000000000000..44ddf2dbf3f2 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-0.90.0-init.patch @@ -0,0 +1,24 @@ +--- lib/matplotlib/__init__.py~ 2007-02-07 03:24:06.000000000 +0000 ++++ lib/matplotlib/__init__.py 2007-02-08 10:33:21.000000000 +0000 +@@ -339,9 +339,11 @@ + path = os.environ['MATPLOTLIBDATA'] + if os.path.isdir(path): return path + +- path = os.sep.join([os.path.dirname(__file__), 'mpl-data']) ++ path = os.sep.join(['/usr/share/matplotlib', 'mpl-data']) + if os.path.isdir(path): return path + ++ raise RuntimeError('Could not find the matplotlib data files') ++ + # setuptools' namespace_packages may highjack this init file + # so need to try something known to be in matplotlib, not basemap + import matplotlib.afm +@@ -923,7 +925,7 @@ + if os.path.exists(fname): return fname + + +- path = get_data_path() # guaranteed to exist or raise ++ path = '/etc' # guaranteed to exist or raise + fname = os.path.join(path, 'matplotlibrc') + if not os.path.exists(fname): + warnings.warn('Could not find matplotlibrc; using defaults') diff --git a/dev-python/matplotlib/files/matplotlib-0.90.0-setup.patch b/dev-python/matplotlib/files/matplotlib-0.90.0-setup.patch new file mode 100644 index 000000000000..1ad108e09e3c --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-0.90.0-setup.patch @@ -0,0 +1,113 @@ +--- setup.py~ 2006-09-29 10:33:56.000000000 +0100 ++++ setup.py 2007-02-08 10:44:10.000000000 +0000 +@@ -84,7 +84,7 @@ + data.extend(glob.glob('images/*.svg')) + data.extend(glob.glob('images/*.png')) + data.extend(glob.glob('images/*.ppm')) +-data.append('matplotlibrc') ++#data.append('matplotlibrc') + + data_files=[('matplotlib/mpl-data', data), + ('matplotlib/mpl-data/Matplotlib.nib', +@@ -201,80 +201,25 @@ + build_enthought(ext_modules, packages) + + if BUILD_GTK: +- try: +- import gtk +- except ImportError: +- print 'GTK requires pygtk' +- BUILD_GTK = 0 +- except RuntimeError: +- print 'pygtk present but import failed' +- BUILD_GTK = 0 +- else: +- version = (2,2,0) +- if gtk.pygtk_version < version: +- print "Error: GTK backend requires PyGTK %d.%d.%d (or later), " \ +- "%d.%d.%d was detected." % ( +- version + gtk.pygtk_version) +- BUILD_GTK = 0 +- else: +- build_gdk(ext_modules, packages, NUMERIX) +- rc['backend'] = 'GTK' ++ build_gdk(ext_modules, packages, NUMERIX) ++ rc['backend'] = 'GTK' + + if BUILD_GTKAGG: +- try: +- import gtk +- except ImportError: +- print 'GTKAgg requires pygtk' +- BUILD_GTKAGG=0 +- except RuntimeError: +- print 'pygtk present but import failed' +- BUILD_GTKAGG = 0 +- else: +- version = (2,2,0) +- if gtk.pygtk_version < version: +- print "Error: GTKAgg backend requires PyGTK %d.%d.%d " \ +- "(or later), %d.%d.%d was detected." % ( +- version + gtk.pygtk_version) +- BUILD_GTKAGG=0 +- else: +- BUILD_AGG = 1 +- build_gtkagg(ext_modules, packages, NUMERIX) +- rc['backend'] = 'GTKAgg' ++ BUILD_AGG = 1 ++ build_gtkagg(ext_modules, packages, NUMERIX) ++ rc['backend'] = 'GTKAgg' + + if BUILD_TKAGG: +- try: +- import Tkinter +- except ImportError: +- print 'TKAgg requires TkInter' +- BUILD_TKAGG = 0 +- except RuntimeError: +- print 'Tkinter present but import failed' +- BUILD_TKAGG = 0 +- else: +- try: +- tk = Tkinter.Tk() +- tk.withdraw() +- except Tkinter.TclError: +- print 'Tkinter present, but window failed to open' +- BUILD_TKAGG = 0 +- else: +- BUILD_AGG = 1 +- build_tkagg(ext_modules, packages, NUMERIX) +- rc['backend'] = 'TkAgg' ++ BUILD_AGG = 1 ++ build_tkagg(ext_modules, packages, NUMERIX) ++ rc['backend'] = 'TkAgg' + + if BUILD_WXAGG: +- try: +- import wxPython +- except ImportError: +- if BUILD_WXAGG != 'auto': +- print 'WXAgg\'s accelerator requires wxPython' +- BUILD_WXAGG = 0 +- else: +- BUILD_AGG = 1 +- build_wxagg(ext_modules, packages, NUMERIX, +- not (isinstance(BUILD_WXAGG, str) # don't about if BUILD_WXAGG +- and BUILD_WXAGG.lower() == 'auto')) # is "auto" +- rc['backend'] = 'WXAgg' ++ BUILD_AGG = 1 ++ build_wxagg(ext_modules, packages, NUMERIX, ++ not (isinstance(BUILD_WXAGG, str) # don't about if BUILD_WXAGG ++ and BUILD_WXAGG.lower() == 'auto')) # is "auto" ++ rc['backend'] = 'WXAgg' + + if BUILD_AGG: + build_agg(ext_modules, packages, NUMERIX) +@@ -331,6 +276,6 @@ + ext_modules = ext_modules, + data_files = data_files, + package_dir = {'': 'lib'}, +- cmdclass = {'install_data':smart_install_data}, ++ #cmdclass = {'install_data':smart_install_data}, + **additional_params + ) |