Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c9289c0026ed83f1e90422ae4c4551a20e2a8ce2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c9289c0026ed83f1e90422ae4c4551a20e2a8ce2)
  • Date: Wed, 26 Nov 2014 07:37:57 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

python-pypi/mysql-python/DETAILS | 6 +++---
python-pypi/mysql-python/HISTORY | 5 +++++
python-pypi/mysql-python/PRE_BUILD | 4 ++++
python-pypi/mysql-python/my_config.patch | 26 ++++++++++++++++++++++++++
4 files changed, 38 insertions(+), 3 deletions(-)

New commits:
commit c9289c0026ed83f1e90422ae4c4551a20e2a8ce2
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

mysql-python: => 1.2.5

diff --git a/python-pypi/mysql-python/DETAILS
b/python-pypi/mysql-python/DETAILS
index 2c3cb2a..e58db98 100755
--- a/python-pypi/mysql-python/DETAILS
+++ b/python-pypi/mysql-python/DETAILS
@@ -1,7 +1,7 @@
SPELL=mysql-python
- VERSION=1.2.3
-
SOURCE_HASH=sha512:8c1c88ccf833744ac1f78673cb306cafe7f9bfc85ab2ce6dee1024b86571c17f006e3ab8452dba3527976f39aca64757b2d961c30ef4ac61c9a27e60a5f1abf5
- SOURCE=MySQL-python-$VERSION.tar.gz
+ VERSION=1.2.5
+ SOURCE=MySQL-python-$VERSION.zip
+
SOURCE_HASH=sha512:37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0
SOURCE_DIRECTORY=$BUILD_DIRECTORY/MySQL-python-$VERSION

SOURCE_URL[0]=http://pypi.python.org/packages/source/M/MySQL-python/$SOURCE
WEB_SITE=http://mysql-python.sourceforge.net/
diff --git a/python-pypi/mysql-python/HISTORY
b/python-pypi/mysql-python/HISTORY
index ae610b2..823964b 100644
--- a/python-pypi/mysql-python/HISTORY
+++ b/python-pypi/mysql-python/HISTORY
@@ -1,3 +1,8 @@
+2014-11-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.2.5; fixed source url
+ * PRE_BUILD: added, to apply the patch
+ * my_config.patch: added, fixed build
+
2011-05-23 Sukneet Basuta <sukneet AT sourcemage.org>
* DEPENDS: updated setuptools dependency to SETUPTOOLS provider

diff --git a/python-pypi/mysql-python/PRE_BUILD
b/python-pypi/mysql-python/PRE_BUILD
new file mode 100755
index 0000000..39b1c39
--- /dev/null
+++ b/python-pypi/mysql-python/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/my_config.patch"
diff --git a/python-pypi/mysql-python/my_config.patch
b/python-pypi/mysql-python/my_config.patch
new file mode 100644
index 0000000..13c5599
--- /dev/null
+++ b/python-pypi/mysql-python/my_config.patch
@@ -0,0 +1,26 @@
+--- _mysql.c.orig 2014-11-26 14:41:58.217304055 +0300
++++ _mysql.c 2014-11-26 14:44:08.990008082 +0300
+@@ -26,6 +26,11 @@
+ PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#if defined(MS_WINDOWS)
++#include <config-win.h>
++#else
++#include "my_config.h"
++#endif
+ #include "Python.h"
+ #if PY_MAJOR_VERSION >= 3
+ #define IS_PY3K
+@@ -38,11 +43,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"



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c9289c0026ed83f1e90422ae4c4551a20e2a8ce2), Vlad Glagolev, 11/26/2014

Archive powered by MHonArc 2.6.24.

Top of Page