Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,55 +1,13 @@
|
||||
$NetBSD: patch-ab,v 1.6 2012/12/17 11:52:43 drochner Exp $
|
||||
$NetBSD: patch-ab,v 1.9 2014/01/21 19:22:08 drochner Exp $
|
||||
|
||||
--- setup.py.orig 2012-11-08 02:24:12.000000000 +0000
|
||||
--- setup.py.orig 2013-10-10 12:42:48.000000000 +0000
|
||||
+++ setup.py
|
||||
@@ -141,12 +141,12 @@ if not check_for_numpy(__version__numpy_
|
||||
if not check_for_freetype():
|
||||
sys.exit(1)
|
||||
@@ -139,7 +139,7 @@ if __name__ == '__main__':
|
||||
|
||||
-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'
|
||||
|
||||
@@ -322,12 +322,12 @@ distrib = setup(name="matplotlib",
|
||||
interfaces and hardcopy output formats. There is a 'pylab' mode
|
||||
which emulates matlab graphics
|
||||
""",
|
||||
- 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
|
||||
required_failed = []
|
||||
good_packages = []
|
||||
- for package in mpl_packages:
|
||||
+ for package in [setupext.Numpy(),setupext.CXX(),setupext.LibAgg(),setupext.BackendTkAgg()]:
|
||||
if isinstance(package, str):
|
||||
print_raw('')
|
||||
print_raw(package.upper())
|
||||
|
||||
Reference in New Issue
Block a user