summaryrefslogtreecommitdiff
path: root/graphics/py-biggles/patches
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-19 13:43:39 +0000
committerwiz <wiz>2014-01-19 13:43:39 +0000
commit910b5fc57aa8d73f5848819d4e416595e8971d1b (patch)
tree5d3bb2bd8b35bd2d1f4ab01d0ade0388a0dd5b32 /graphics/py-biggles/patches
parent424563c43062e697115e94e58a50ebe54aee54f1 (diff)
downloadpkgsrc-910b5fc57aa8d73f5848819d4e416595e8971d1b.tar.gz
Update to 1.6.6:
1.6.6 (27 Nov 2008) -------------------- * Fixed issue that caused all images to be 570x570 on some systems, due to a change in the python2.5 C API. * Improved setup.py and Makefiles. * Contours can now be used with PlotKey. * Added Labels component. Similar to Points, but with text labels instead of symbols. 1.6.5 (20 Mar 2007) ------------------- * Replaced Numeric with numpy. 1.6.4 (08 Mar 2004) ------------------- * Phil Kromer contributed the new ColoredPoints and Density components. See example9.py for details. * Todd Fox contributed Makefiles for building with MS Visual C++. * Can now specify the width/height of postscript output, by passing (e.g.) width="5in" or height="10in" to the functions which produce postscript output. Default values are in the [postscript] section of config.ini. The old [printer]/paper option is now [postscript]/paper. * Added UpperLimits, LowerLimits components. These produce symbols with half-arrows indicating the true value is below/above the point. * Added TeX codes \`,\',\^,\",\~ for character accents.
Diffstat (limited to 'graphics/py-biggles/patches')
-rw-r--r--graphics/py-biggles/patches/patch-aa8
-rw-r--r--graphics/py-biggles/patches/patch-setup.py25
2 files changed, 25 insertions, 8 deletions
diff --git a/graphics/py-biggles/patches/patch-aa b/graphics/py-biggles/patches/patch-aa
deleted file mode 100644
index 4ce2e8c0ea3..00000000000
--- a/graphics/py-biggles/patches/patch-aa
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/02/16 16:49:16 joerg Exp $
-
---- setup.py.orig 2009-02-16 17:43:32.000000000 +0100
-+++ setup.py
-@@ -1,2 +1,3 @@
- #!/usr/bin/env python
-+# -*- coding: latin-1
- #
diff --git a/graphics/py-biggles/patches/patch-setup.py b/graphics/py-biggles/patches/patch-setup.py
new file mode 100644
index 00000000000..c0e6e8162b7
--- /dev/null
+++ b/graphics/py-biggles/patches/patch-setup.py
@@ -0,0 +1,25 @@
+$NetBSD: patch-setup.py,v 1.1 2014/01/19 13:43:39 wiz Exp $
+
+Code inexplicably fails to detect numpy; remove try/except and it
+works.
+
+--- setup.py.orig 2010-04-09 21:28:15.000000000 +0000
++++ setup.py
+@@ -77,13 +77,10 @@ if sys.platform == "win32":
+ libplot_module_libs = ["plot.dll"]
+
+ else:
+- try:
+- import numpy
+- numpy_inc_dir = numpy.get_include()
+- _biggles_module_inc_dirs.append( numpy_inc_dir )
+- libplot_module_inc_dirs.append( numpy_inc_dir )
+- except:
+- print "numpy module not found; add /path/to/numpy to PYTHONPATH"
++ import numpy
++ numpy_inc_dir = numpy.get_include()
++ _biggles_module_inc_dirs.append( numpy_inc_dir )
++ libplot_module_inc_dirs.append( numpy_inc_dir )
+
+ candidate_dirs = [
+ '/usr',