[72339] trunk/dports/python/py26-polygon
stromnov at macports.org
stromnov at macports.org
Mon Oct 11 01:07:33 PDT 2010
Revision: 72339
http://trac.macports.org/changeset/72339
Author: stromnov at macports.org
Date: 2010-10-11 01:07:29 -0700 (Mon, 11 Oct 2010)
Log Message:
-----------
py26-polygon: update to version 2.0.3
Modified Paths:
--------------
trunk/dports/python/py26-polygon/Portfile
trunk/dports/python/py26-polygon/files/patch-setup.py.diff
Modified: trunk/dports/python/py26-polygon/Portfile
===================================================================
--- trunk/dports/python/py26-polygon/Portfile 2010-10-11 07:59:34 UTC (rev 72338)
+++ trunk/dports/python/py26-polygon/Portfile 2010-10-11 08:07:29 UTC (rev 72339)
@@ -5,7 +5,7 @@
PortGroup python26 1.0
name py26-polygon
-version 2.0.2
+version 2.0.3
maintainers stromnov openmaintainer
description Python bindings for General Polygon Clipping Library
@@ -19,13 +19,13 @@
platforms darwin
homepage http://polygon.origo.ethz.ch/
-master_sites http://download.origo.ethz.ch/polygon/1853/
+master_sites http://download.origo.ethz.ch/polygon/2101/
distname Polygon-${version}
use_zip yes
-checksums md5 96a28a5fa6c9b8ab3fbe56d7bdf97bd0 \
- sha1 f49b8b117a47f3ac3e0643626295dfd63795ab73 \
- rmd160 ff47e099e2300adaf53ab8cd06efe3406226c448
+checksums md5 8b14a5ca3b8c127f96c1c156a85c96b3 \
+ sha1 ec4f80de0b44fc26c97207737f817100a8623f55 \
+ rmd160 271baa3ade0c52631bc6131f3db86e2e7918b8fe
variant numpy description {Build with NumPy support} {
depends_lib-append port:py26-numpy
Modified: trunk/dports/python/py26-polygon/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py26-polygon/files/patch-setup.py.diff 2010-10-11 07:59:34 UTC (rev 72338)
+++ trunk/dports/python/py26-polygon/files/patch-setup.py.diff 2010-10-11 08:07:29 UTC (rev 72339)
@@ -1,6 +1,6 @@
---- setup.py.orig 2009-11-27 16:23:08.000000000 +0300
-+++ setup.py 2009-11-27 16:24:01.000000000 +0300
-@@ -6,12 +6,17 @@
+--- setup.py.orig 2010-10-11 12:04:39.000000000 +0400
++++ setup.py 2010-10-11 12:06:06.000000000 +0400
+@@ -6,12 +6,16 @@
# * faster adding of contours from NumPy arrays
# * data style STYLE_NUMPY to get contours and TriStrips
# as NumPy arrays
@@ -9,14 +9,13 @@
# if withNumPy is True, set the include path for numpy/arrayobject.h
# the example is for python-x,y on Windows:
- # numPyIncludePath='C:\\Programme\\pythonxy\\python\\Lib\\site-packages\\numpy\\core\\include'
+ # numPyIncludePath='C:\\Python25\\Lib\\site-packages\\numpy\\core\\include'
-numPyIncludePath=''
+try:
+ import numpy
+except ImportError:
+ raise Exception("PYTHON interface requires numpy")
+numPyIncludePath = numpy.get_include()
-+
# defaultStyle may be used to set the default style to one of:
# * STYLE_TUPLE to get tuples of points
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101011/03df8893/attachment.html>
More information about the macports-changes
mailing list