aboutsummaryrefslogtreecommitdiff
path: root/development/MySQL-python/patches
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-11 12:41:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-11 12:41:27 +0700
commitabf2fe8dfdd767f801a9b922aedd50585fd98420 (patch)
treef3c0ef186df27b9af82ef725711be5f5fc17ae80 /development/MySQL-python/patches
parent131e9a3123af92d9f4e9815492e5ddb443c79421 (diff)
development/MySQL-python: Updated for version 1.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/MySQL-python/patches')
-rw-r--r--development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch33
-rw-r--r--development/MySQL-python/patches/no_distribute_download.patch12
2 files changed, 0 insertions, 45 deletions
diff --git a/development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch b/development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch
deleted file mode 100644
index 81d2041f47..0000000000
--- a/development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Naur MySQL-python-1.2.4.orig/_mysql.c MySQL-python-1.2.4/_mysql.c
---- MySQL-python-1.2.4.orig/_mysql.c 2013-01-01 17:18:48.000000000 +0100
-+++ MySQL-python-1.2.4/_mysql.c 2014-11-07 20:25:20.483927425 +0100
-@@ -26,6 +26,14 @@
- PERFORMANCE OF THIS SOFTWARE.
- */
-
-+#if defined(MS_WINDOWS)
-+#include <config-win.h>
-+#else
-+#include "my_config.h"
-+#endif
-+#include "mysql.h"
-+#include "mysqld_error.h"
-+#include "errmsg.h"
- #include "Python.h"
- #if PY_MAJOR_VERSION >= 3
- #define IS_PY3K
-@@ -38,14 +46,6 @@
- #endif
- #include "pymemcompat.h"
- #include "structmember.h"
--#if defined(MS_WINDOWS)
--#include <config-win.h>
--#else
--#include "my_config.h"
--#endif
--#include "mysql.h"
--#include "mysqld_error.h"
--#include "errmsg.h"
-
- #if PY_VERSION_HEX < 0x02020000
- # define MyTuple_Resize(t,n,d) _PyTuple_Resize(t, n, d)
diff --git a/development/MySQL-python/patches/no_distribute_download.patch b/development/MySQL-python/patches/no_distribute_download.patch
deleted file mode 100644
index 2a94802373..0000000000
--- a/development/MySQL-python/patches/no_distribute_download.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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: