summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2007-04-06 03:06:44 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2007-04-06 03:06:44 +0000
commitec75e505011a165c22073668ecc91854c1217955 (patch)
treebff33f6be10c6d56874aeb5f946a0e22abafe293 /databases
parent- Update to 3.3.14 (diff)
- Update to 1.2.2
Notes
Notes: svn path=/head/; revision=189322
Diffstat (limited to 'databases')
-rw-r--r--databases/py-MySQLdb/Makefile4
-rw-r--r--databases/py-MySQLdb/distinfo6
-rw-r--r--databases/py-MySQLdb/files/patch-setup.py13
3 files changed, 18 insertions, 5 deletions
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index 27241e7a98ef..b6d59a0b5a43 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= MySQLdb
-DISTVERSION= 1.2.1_p2
+DISTVERSION= 1.2.2
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
@@ -29,7 +29,7 @@ OPTIONS= MYSQLCLIENT_R "Use libmysqlclient_r (thread safe)" on
.include <bsd.port.pre.mk>
-post-patch:
+pre-configure:
.if defined(WITHOUT_MYSQLCLIENT_R)
@${REINPLACE_CMD} -E -e "s|(threadsafe.*)True|\1 False|" \
${WRKSRC}/site.cfg
diff --git a/databases/py-MySQLdb/distinfo b/databases/py-MySQLdb/distinfo
index 533f9cfac8b1..09830e888797 100644
--- a/databases/py-MySQLdb/distinfo
+++ b/databases/py-MySQLdb/distinfo
@@ -1,3 +1,3 @@
-MD5 (MySQL-python-1.2.1_p2.tar.gz) = e6b9ea21fd91cb4a5663304da727bb70
-SHA256 (MySQL-python-1.2.1_p2.tar.gz) = 59f44cd53cfa1189dcaa5bf2c48662d5765f347b03827feb807f4cd0ef18943e
-SIZE (MySQL-python-1.2.1_p2.tar.gz) = 65201
+MD5 (MySQL-python-1.2.2.tar.gz) = 532268f02870bea18c1d465e88afff30
+SHA256 (MySQL-python-1.2.2.tar.gz) = f4133b81e65c7b94a5921ff6a0e7bdbfb622f2a70473673103cb17d5a5be807a
+SIZE (MySQL-python-1.2.2.tar.gz) = 87078
diff --git a/databases/py-MySQLdb/files/patch-setup.py b/databases/py-MySQLdb/files/patch-setup.py
new file mode 100644
index 000000000000..a2b04584d454
--- /dev/null
+++ b/databases/py-MySQLdb/files/patch-setup.py
@@ -0,0 +1,13 @@
+--- setup.py.orig Thu Apr 5 23:51:45 2007
++++ setup.py Thu Apr 5 23:51:58 2007
+@@ -2,8 +2,8 @@
+
+ import os
+ import sys
+-import ez_setup; ez_setup.use_setuptools()
+-from setuptools import setup, Extension
++from distutils.core import setup
++from distutils.extension import Extension
+
+ if sys.version_info < (2, 3):
+ raise Error, "Python-2.3 or newer is required"