aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-psutil
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-09-24 02:39:41 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-09-24 02:39:41 +0800
commit5b444bc735aec4f6340a3ba6a7c8aecfe333a4d3 (patch)
treefaeef779fe8545157af87f462bc0f5d7d10d6064 /sysutils/py-psutil
parent9856102e3b24902a2f358c84e89130a9bf2619fa (diff)
downloadfreebsd-ports-gnome-5b444bc735aec4f6340a3ba6a7c8aecfe333a4d3.tar.gz
freebsd-ports-gnome-5b444bc735aec4f6340a3ba6a7c8aecfe333a4d3.tar.zst
freebsd-ports-gnome-5b444bc735aec4f6340a3ba6a7c8aecfe333a4d3.zip
- Fix make package when py-distribute or py-setuptools were installed
Diffstat (limited to 'sysutils/py-psutil')
-rw-r--r--sysutils/py-psutil/files/patch-setup.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/py-psutil/files/patch-setup.py b/sysutils/py-psutil/files/patch-setup.py
new file mode 100644
index 000000000000..c6a96ec04b03
--- /dev/null
+++ b/sysutils/py-psutil/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig 2011-07-09 02:49:21.000000000 +0800
++++ setup.py 2011-09-24 00:26:44.327716441 +0800
+@@ -5,10 +5,7 @@
+
+ import sys
+ import os
+-try:
+- from setuptools import setup, Extension
+-except ImportError:
+- from distutils.core import setup, Extension
++from distutils.core import setup, Extension
+
+ __ver__ = "0.3.0"
+