summaryrefslogtreecommitdiff
path: root/development/MySQL-python/no_distribute_download.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-12-07 10:09:47 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:52:34 -0600
commitd02d5c81191439f84d80cc42b0cac7453ec6a802 (patch)
treedb5a5479cddf1d47f871e28ed75b7f4d1c32f871 /development/MySQL-python/no_distribute_download.patch
parentb4c324d2a44862f43c8a6e2722c3a45b6c53ef83 (diff)
downloadslackbuilds-d02d5c81191439f84d80cc42b0cac7453ec6a802.tar.gz
development/MySQL-python: Avoid downloading distribute during build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/MySQL-python/no_distribute_download.patch')
-rw-r--r--development/MySQL-python/no_distribute_download.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/development/MySQL-python/no_distribute_download.patch b/development/MySQL-python/no_distribute_download.patch
new file mode 100644
index 0000000000..2a94802373
--- /dev/null
+++ b/development/MySQL-python/no_distribute_download.patch
@@ -0,0 +1,12 @@
+diff -Naur MySQL-python-1.2.4.orig/setup.py MySQL-python-1.2.4/setup.py
+--- MySQL-python-1.2.4.orig/setup.py 2012-10-08 13:46:54.000000000 +0200
++++ MySQL-python-1.2.4/setup.py 2013-12-06 20:34:36.214964072 +0100
+@@ -3,8 +3,6 @@
+ import os
+ import sys
+
+-from distribute_setup import use_setuptools
+-use_setuptools()
+ from setuptools import setup, Extension
+
+ if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000: