diff options
author | mnag <mnag@FreeBSD.org> | 2007-04-06 11:06:44 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2007-04-06 11:06:44 +0800 |
commit | 8d4b614bbc5f2cf1be3c03f829b393f265f0eb94 (patch) | |
tree | 6cbfd27d57909c013ba0fd2aab4f13fa9228b25c /databases | |
parent | bb67d106f1e4d091fed24c1075d77ab0302b4559 (diff) | |
download | freebsd-ports-gnome-8d4b614bbc5f2cf1be3c03f829b393f265f0eb94.tar.gz freebsd-ports-gnome-8d4b614bbc5f2cf1be3c03f829b393f265f0eb94.tar.zst freebsd-ports-gnome-8d4b614bbc5f2cf1be3c03f829b393f265f0eb94.zip |
- Update to 1.2.2
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-MySQLdb/Makefile | 4 | ||||
-rw-r--r-- | databases/py-MySQLdb/distinfo | 6 | ||||
-rw-r--r-- | databases/py-MySQLdb/files/patch-setup.py | 13 |
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" |