freebsd-ports/graphics/py-pydot/files/patch-setup.py
Stefan Walter 8adc12fbc6 - Patch setup.py to avoid using easy_install instead of distutils, which leads
to unclean deinstallation.
- Move PROJECTHOST out of the PORTNAME section to satisfy portlint.

PR:		127260
Submitted by:	Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
Approved by:	portmgr (pav)
2008-09-10 15:55:46 +00:00

24 lines
806 B
Python

--- setup.py.orig 2008-02-15 04:48:02.000000000 +0800
+++ setup.py 2008-09-10 11:12:00.000000000 +0800
@@ -1,9 +1,9 @@
#!/usr/bin/env python
-try:
- from setuptools import setup
-except ImportError, excp:
- from distutils.core import setup
+#try:
+# from setuptools import setup
+#except ImportError, excp:
+from distutils.core import setup
import pydot
@@ -27,5 +27,5 @@
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description = "\n".join(pydot.__doc__.split('\n')),
py_modules = ['pydot', 'dot_parser'],
- install_requires = ['pyparsing', 'setuptools'],
- data_files = [('.', ['ChangeLog', 'LICENSE', 'README'])] )
+ install_requires = ['pyparsing', 'setuptools'] )
+ #data_files = [('.', ['ChangeLog', 'LICENSE', 'README'])]