summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-28 15:36:32 +0000
committerwiz <wiz@pkgsrc.org>2000-12-28 15:36:32 +0000
commit5d55ac7f049423d3f206b3cd98dc89198d58dab7 (patch)
treebe2a76ce1d1f098ece82494168ce2468c936906f /databases
parent71c7403ee5804997c367539c2957473c42444fc3 (diff)
downloadpkgsrc-5d55ac7f049423d3f206b3cd98dc89198d58dab7.tar.gz
Updated to use python 2.0.
Diffstat (limited to 'databases')
-rw-r--r--databases/py-mysqldb/Makefile8
-rw-r--r--databases/py-mysqldb/pkg/PLIST10
2 files changed, 9 insertions, 9 deletions
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile
index fcba8648d96..91b05888d70 100644
--- a/databases/py-mysqldb/Makefile
+++ b/databases/py-mysqldb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/03/11 19:49:44 tsarna Exp $
+# $NetBSD: Makefile,v 1.3 2000/12/28 15:36:32 wiz Exp $
DISTNAME= MySQLdb-0.1.3
PKGNAME= py-mysqldb-0.1.3
@@ -8,7 +8,7 @@ MASTER_SITES= ftp://starship.python.net/pub/crew/adustman/
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://starship.python.net/crew/adustman/MySQLdb.html
-DEPENDS+= python-1.5.2:../../lang/python
+DEPENDS+= python>=2.0:../../lang/python
DEPENDS+= mysql-client-3.22.32:../../databases/mysql-client
ALL_TARGET= default
@@ -16,7 +16,7 @@ ALL_TARGET= default
do-configure:
${SED} -e 's,@PREFIX@,${PREFIX},g' ${FILESDIR}/Setup.in \
>${WRKSRC}/Setup.in
- ${CP} ${PREFIX}/lib/python1.5/config/Makefile.pre.in ${WRKSRC}
+ ${CP} ${PREFIX}/lib/python2.0/config/Makefile.pre.in ${WRKSRC}
(cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot)
post-build:
@@ -25,6 +25,6 @@ post-build:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/MySQLdb.py ${WRKSRC}/MySQLdb.py[co] \
- ${PREFIX}/lib/python1.5/site-packages
+ ${PREFIX}/lib/python2.0/site-packages
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-mysqldb/pkg/PLIST b/databases/py-mysqldb/pkg/PLIST
index 86a3da55618..7fc3566fae1 100644
--- a/databases/py-mysqldb/pkg/PLIST
+++ b/databases/py-mysqldb/pkg/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/02/26 18:45:48 tsarna Exp $
-lib/python1.5/site-packages/_mysqlmodule.so
-lib/python1.5/site-packages/MySQLdb.py
-lib/python1.5/site-packages/MySQLdb.pyc
-lib/python1.5/site-packages/MySQLdb.pyo
+@comment $NetBSD: PLIST,v 1.2 2000/12/28 15:36:33 wiz Exp $
+lib/python2.0/site-packages/_mysqlmodule.so
+lib/python2.0/site-packages/MySQLdb.py
+lib/python2.0/site-packages/MySQLdb.pyc
+lib/python2.0/site-packages/MySQLdb.pyo