diff options
author | obache <obache> | 2010-10-02 06:11:03 +0000 |
---|---|---|
committer | obache <obache> | 2010-10-02 06:11:03 +0000 |
commit | 07618ab837bb6aeb3cedf16e6c6e5515ffb45175 (patch) | |
tree | 6bfc937153a9a587ce5f6edb1044748dc102f223 /databases/py-sqlite2/Makefile | |
parent | 180466e4e8e4ccc820ae288c762174012546099b (diff) | |
download | pkgsrc-07618ab837bb6aeb3cedf16e6c6e5515ffb45175.tar.gz |
back conditional PLIST for python<2.5, it was lost at updated to 2.6.0.
Diffstat (limited to 'databases/py-sqlite2/Makefile')
-rw-r--r-- | databases/py-sqlite2/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile index f9bf80bfcb5..bf73015624b 100644 --- a/databases/py-sqlite2/Makefile +++ b/databases/py-sqlite2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2010/09/16 11:31:16 adam Exp $ +# $NetBSD: Makefile,v 1.21 2010/10/02 06:11:03 obache Exp $ DISTNAME= pysqlite-2.6.0 PKGNAME= ${PYPKGPREFIX}-sqlite2-2.6.0 @@ -15,6 +15,12 @@ PYDISTUTILSPKG= yes .include "../../lang/python/extension.mk" +.if !defined(PYPACKAGE) || ${PYPACKAGE} != "python24" +PLIST.python25= yes +.endif + +PLIST_VARS+= python25 + do-postinstall-test: .PHONY cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()" |