pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-sqlite2 Don't try to build and install th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5d1eddaad2fd
branches: trunk
changeset: 546953:5d1eddaad2fd
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Sep 10 10:47:31 2008 +0000
description:
Don't try to build and install the Python 2.5+ tests on 2.3 and 2.4 to
unbreak PLIST for those versions. Bump revision.
diffstat:
databases/py-sqlite2/Makefile | 15 +++++++++++++--
databases/py-sqlite2/PLIST | 8 ++++----
2 files changed, 17 insertions(+), 6 deletions(-)
diffs (56 lines):
diff -r 153e94e2eef0 -r 5d1eddaad2fd databases/py-sqlite2/Makefile
--- a/databases/py-sqlite2/Makefile Wed Sep 10 10:13:50 2008 +0000
+++ b/databases/py-sqlite2/Makefile Wed Sep 10 10:47:31 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2008/09/06 16:12:44 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/09/10 10:47:31 joerg Exp $
DISTNAME= pysqlite-2.5.0
PKGNAME= ${PYPKGPREFIX}-sqlite2-2.5.0
+PKGREEVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://oss.itsystementwicklung.de/download/pysqlite/2.5/2.5.0/
@@ -13,9 +14,19 @@
PYDISTUTILSPKG= yes
+.include "../../lang/python/extension.mk"
+
+.if ${PYPACKAGE} == "python23" || ${PYPACKAGE} == "python24"
+pre-configure:
+ rm ${WRKSRC}/pysqlite2/test/py25tests.py
+.else
+PLIST.python25= yes
+.endif
+
+PLIST_VARS+= python25
+
do-postinstall-test: .PHONY
${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
.include "../../databases/sqlite3/buildlink3.mk"
-.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 153e94e2eef0 -r 5d1eddaad2fd databases/py-sqlite2/PLIST
--- a/databases/py-sqlite2/PLIST Wed Sep 10 10:13:50 2008 +0000
+++ b/databases/py-sqlite2/PLIST Wed Sep 10 10:47:31 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2008/09/06 16:12:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/09/10 10:47:31 joerg Exp $
${PYSITELIB}/pysqlite2/__init__.py
${PYSITELIB}/pysqlite2/__init__.pyc
${PYSITELIB}/pysqlite2/__init__.pyo
@@ -24,9 +24,9 @@
${PYSITELIB}/pysqlite2/test/hooks.py
${PYSITELIB}/pysqlite2/test/hooks.pyc
${PYSITELIB}/pysqlite2/test/hooks.pyo
-${PYSITELIB}/pysqlite2/test/py25tests.py
-${PYSITELIB}/pysqlite2/test/py25tests.pyc
-${PYSITELIB}/pysqlite2/test/py25tests.pyo
+${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25tests.py
+${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25tests.pyc
+${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25tests.pyo
${PYSITELIB}/pysqlite2/test/regression.py
${PYSITELIB}/pysqlite2/test/regression.pyc
${PYSITELIB}/pysqlite2/test/regression.pyo
Home |
Main Index |
Thread Index |
Old Index