ports/151202: [patch] databases/py-MySQLdb update to 1.2.3
Junji NAKANISHI
jun-g at daemonfreaks.com
Mon Oct 4 12:40:03 UTC 2010
>Number: 151202
>Category: ports
>Synopsis: [patch] databases/py-MySQLdb update to 1.2.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 04 12:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Junji NAKANISHI
>Release: FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD 8.1-STABLE #5: Sun Jul 25 13:32:32 JST 2010
root at blackmagic.daemonfreaks.local:/usr/obj/usr/src/sys/GENERIC
>Description:
Update to 1.2.3.
>How-To-Repeat:
>Fix:
--- py-MySQLdb.patch begins here ---
diff -durN py-MySQLdb.orig/Makefile py-MySQLdb/Makefile
--- py-MySQLdb.orig/Makefile 2010-10-04 21:14:04.000000000 +0900
+++ py-MySQLdb/Makefile 2010-10-04 21:14:28.000000000 +0900
@@ -6,7 +6,7 @@
#
PORTNAME= MySQLdb
-DISTVERSION= 1.2.2
+DISTVERSION= 1.2.3
CATEGORIES= databases python
MASTER_SITES= SF/mysql-python/mysql-python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@
USE_PYDISTUTILS= yes
USE_MYSQL= yes
PYDISTUTILS_PKGNAME= MySQL-python
-PYDISTUTILS_PKGVERSION= 1.2.2
+PYDISTUTILS_PKGVERSION= 1.2.3
CONFLICTS= py*-MySQLdb-devel-[0-9]*
diff -durN py-MySQLdb.orig/distinfo py-MySQLdb/distinfo
--- py-MySQLdb.orig/distinfo 2010-10-04 21:14:04.000000000 +0900
+++ py-MySQLdb/distinfo 2010-10-04 21:14:28.000000000 +0900
@@ -1,3 +1,3 @@
-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
+MD5 (MySQL-python-1.2.3.tar.gz) = 215eddb6d853f6f4be5b4afc4154292f
+SHA256 (MySQL-python-1.2.3.tar.gz) = 7de66fbbf923634e7c965aeaefa74642ba75ae20ee1cefcefc3009595b7a7e6e
+SIZE (MySQL-python-1.2.3.tar.gz) = 70305
diff -durN py-MySQLdb.orig/files/patch-setup.py py-MySQLdb/files/patch-setup.py
--- py-MySQLdb.orig/files/patch-setup.py 2010-10-04 21:14:04.000000000 +0900
+++ py-MySQLdb/files/patch-setup.py 2010-10-04 21:14:28.000000000 +0900
@@ -1,13 +1,12 @@
---- setup.py.orig Thu Apr 5 23:51:45 2007
-+++ setup.py Thu Apr 5 23:51:58 2007
-@@ -2,8 +2,8 @@
+--- setup.py.orig 2010-10-01 11:26:41.000000000 +0900
++++ setup.py 2010-10-01 11:27:23.000000000 +0900
+@@ -2,7 +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"
+ if not hasattr(sys, "hexversion") or sys.hexversion < 0x02030000:
+ raise Error("Python 2.3 or newer is required")
--- py-MySQLdb.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list