summaryrefslogtreecommitdiff
path: root/graphics/py-pydot/files/patch-setup.py
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-19 20:18:12 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-19 20:18:12 +0000
commit3ccb9d291ae9fe95ff491190d18f6a75a3dd9010 (patch)
tree672eb0c87ded2d322df25efb7c10a1fd5a140243 /graphics/py-pydot/files/patch-setup.py
parent- Change language bindings (p5-ming and py-ming) from slave ports to normal p... (diff)
- Add LICENSE_FILE
- Allow concurrent installation (USE_PYTHON=concurrent) - Fix build with Python 3.x
Notes
Notes: svn path=/head/; revision=399727
Diffstat (limited to 'graphics/py-pydot/files/patch-setup.py')
-rw-r--r--graphics/py-pydot/files/patch-setup.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/py-pydot/files/patch-setup.py b/graphics/py-pydot/files/patch-setup.py
index 34907ad4e031..e4c9a8b15d76 100644
--- a/graphics/py-pydot/files/patch-setup.py
+++ b/graphics/py-pydot/files/patch-setup.py
@@ -1,5 +1,14 @@
--- setup.py.orig 2012-01-03 00:15:07 UTC
+++ setup.py
+@@ -2,7 +2,7 @@
+
+ try:
+ from distutils.core import setup
+-except ImportError, excp:
++except ImportError as excp:
+ from setuptools import setup
+
+ import pydot
@@ -31,5 +31,5 @@ setup( name = 'pydot',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description = "\n".join(pydot.__doc__.split('\n')),