diff options
author | obache <obache@pkgsrc.org> | 2010-10-02 06:11:03 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-10-02 06:11:03 +0000 |
commit | 63a4530ebe73643d690b557a4c888917ef13c920 (patch) | |
tree | 6bfc937153a9a587ce5f6edb1044748dc102f223 /databases | |
parent | 7fc31ad27a9c82c4571419b5a935d8327d8bcbf8 (diff) | |
download | pkgsrc-63a4530ebe73643d690b557a4c888917ef13c920.tar.gz |
back conditional PLIST for python<2.5, it was lost at updated to 2.6.0.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-sqlite2/Makefile | 8 | ||||
-rw-r--r-- | databases/py-sqlite2/PLIST | 14 |
2 files changed, 14 insertions, 8 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()" diff --git a/databases/py-sqlite2/PLIST b/databases/py-sqlite2/PLIST index c550532296e..0178055ff69 100644 --- a/databases/py-sqlite2/PLIST +++ b/databases/py-sqlite2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2010/09/16 11:31:16 adam Exp $ +@comment $NetBSD: PLIST,v 1.8 2010/10/02 06:11:03 obache Exp $ ${PYSITELIB}/pysqlite2/__init__.py ${PYSITELIB}/pysqlite2/__init__.pyc ${PYSITELIB}/pysqlite2/__init__.pyo @@ -24,12 +24,12 @@ ${PYSITELIB}/pysqlite2/test/factory.pyo ${PYSITELIB}/pysqlite2/test/hooks.py ${PYSITELIB}/pysqlite2/test/hooks.pyc ${PYSITELIB}/pysqlite2/test/hooks.pyo -${PYSITELIB}/pysqlite2/test/py25/__init__.py -${PYSITELIB}/pysqlite2/test/py25/__init__.pyc -${PYSITELIB}/pysqlite2/test/py25/__init__.pyo -${PYSITELIB}/pysqlite2/test/py25/py25tests.py -${PYSITELIB}/pysqlite2/test/py25/py25tests.pyc -${PYSITELIB}/pysqlite2/test/py25/py25tests.pyo +${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25/__init__.py +${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25/__init__.pyc +${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25/__init__.pyo +${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25/py25tests.py +${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25/py25tests.pyc +${PLIST.python25}${PYSITELIB}/pysqlite2/test/py25/py25tests.pyo ${PYSITELIB}/pysqlite2/test/regression.py ${PYSITELIB}/pysqlite2/test/regression.pyc ${PYSITELIB}/pysqlite2/test/regression.pyo |