summaryrefslogtreecommitdiff
path: root/databases/py-mysqldb/Makefile
diff options
context:
space:
mode:
authortron <tron>2009-09-22 13:09:30 +0000
committertron <tron>2009-09-22 13:09:30 +0000
commitff01eea0f2973ae319483d2a5fbc04df35eca66f (patch)
tree36688ec10949b05442cb880dd3fc93d528a51626 /databases/py-mysqldb/Makefile
parent4d6516d27616250e1d1100b912160fdc7667aa47 (diff)
downloadpkgsrc-ff01eea0f2973ae319483d2a5fbc04df35eca66f.tar.gz
Update "py-mysqldb" package to version 1.2.3rc1 (1.2.3c1).
Changes since 1.2.2: - Add a test for connection.ping() - Fix #2061583: Ignore any non-numeric portion of client and server version numbers. - Fix for bug #2479317 (patch #2496558) by kylev. Make some time handling stuff more consistent. - Backport some new trunk tests - Move tests into their own directory to parallel trunk - Short-term fix for bug #2671682. - Add nose.collector as test_suite - We missed one more 2.6-warning generating exception - Fix bug 1808476 for OSX compilation, ported from trunk. - don't leak special-case tuples (present in unicode modes) - Updated ez_setup.py to latest version. - Found one more old-style raise. Should fix #2122496. - Found one more Set reference. - Change raise to use the modern syntax for Python 3.0 compatibility. - Remove more deprecated Set usage. Refs #2156977. - More documentation updates. - Documentation and package data updates - Fix #2001855: Don't use ez_setup; just use setuptools direction. - Fix #2156977: Use frozenset as the base for DBAPISet. Only tested for Python 2.5. - Fix bug #2137599: Better regex for parsing INPUT statements. Passes unit tests but has not been thoroughly tested. - Remove versioned python name from package as egg packaging also does this. This package now works with the "python26" package.
Diffstat (limited to 'databases/py-mysqldb/Makefile')
-rw-r--r--databases/py-mysqldb/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile
index ecb60a1baf3..af5fd906393 100644
--- a/databases/py-mysqldb/Makefile
+++ b/databases/py-mysqldb/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2009/09/07 19:02:13 joerg Exp $
+# $NetBSD: Makefile,v 1.29 2009/09/22 13:09:30 tron Exp $
-DISTNAME= MySQL-python-${PKGVER}
-PKGNAME= ${PYPKGPREFIX}-mysqldb-${PKGVER}
-PKGVER= 1.2.2
-# PKGREVISION= 3
+DISTNAME= MySQL-python-${DIST_VERSION}
+PKGNAME= ${PYPKGPREFIX}-mysqldb-${DIST_VERSION:S/c/rc/}
+DIST_VERSION= 1.2.3c1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
@@ -12,14 +11,16 @@ HOMEPAGE= http://sourceforge.net/projects/mysql-python
COMMENT= MySQL interface for Python
LICENSE= gnu-gpl-v2
+DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools
+
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
PYSETUPINSTALLARGS= --single-version-externally-managed --record plist.txt
-PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+PLIST_SUBST+= DIST_VERSION=${DIST_VERSION} PYVERSSUFFIX=${PYVERSSUFFIX}
-PYTHON_VERSIONS_ACCEPTED= 25 24
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
.include "../../mk/mysql.buildlink3.mk"