| @@ -1,24 +1,24 @@ | | | @@ -1,24 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.22 2011/01/27 16:49:32 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.23 2011/05/16 13:43:07 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= pysqlite-2.6.0 | | 3 | DISTNAME= pysqlite-2.6.3 |
4 | PKGNAME= ${PYPKGPREFIX}-sqlite2-2.6.0 | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pysqlite/sqlite2/} |
5 | PKGREVISION= 1 | | | |
6 | CATEGORIES= databases python | | 5 | CATEGORIES= databases python |
7 | MASTER_SITES= http://pysqlite.googlecode.com/files/ | | 6 | MASTER_SITES= http://pysqlite.googlecode.com/files/ |
8 | | | 7 | |
9 | MAINTAINER= tsarna@NetBSD.org | | 8 | MAINTAINER= tsarna@NetBSD.org |
10 | HOMEPAGE= http://pysqlite.googlecode.com/ | | 9 | HOMEPAGE= http://pysqlite.googlecode.com/ |
11 | COMMENT= SQLite database adapter for Python | | 10 | COMMENT= SQLite database adapter for Python |
| | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
15 | .include "../../lang/python/distutils.mk" | | 15 | .include "../../lang/python/distutils.mk" |
16 | | | 16 | |
17 | .if !defined(PYPACKAGE) || ${PYPACKAGE} != "python24" | | 17 | .if !defined(PYPACKAGE) || ${PYPACKAGE} != "python24" |
18 | PLIST.python25= yes | | 18 | PLIST.python25= yes |
19 | .endif | | 19 | .endif |
20 | | | 20 | |
21 | PLIST_VARS+= python25 | | 21 | PLIST_VARS+= python25 |
22 | | | 22 | |
23 | do-postinstall-test: .PHONY | | 23 | do-postinstall-test: .PHONY |
24 | cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()" | | 24 | cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()" |