| @@ -1,28 +1,27 @@ | | | @@ -1,28 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.21 2010/10/02 06:11:03 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.21.4.1 2011/01/27 15:14:54 gdt Exp $ |
2 | | | 2 | |
3 | DISTNAME= pysqlite-2.6.0 | | 3 | DISTNAME= pysqlite-2.6.0 |
4 | PKGNAME= ${PYPKGPREFIX}-sqlite2-2.6.0 | | 4 | PKGNAME= ${PYPKGPREFIX}-sqlite2-2.6.0 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= databases python | | 6 | CATEGORIES= databases python |
6 | MASTER_SITES= http://pysqlite.googlecode.com/files/ | | 7 | MASTER_SITES= http://pysqlite.googlecode.com/files/ |
7 | | | 8 | |
8 | MAINTAINER= tsarna@NetBSD.org | | 9 | MAINTAINER= tsarna@NetBSD.org |
9 | HOMEPAGE= http://pysqlite.googlecode.com/ | | 10 | HOMEPAGE= http://pysqlite.googlecode.com/ |
10 | COMMENT= SQLite database adapter for Python | | 11 | COMMENT= SQLite database adapter for Python |
11 | | | 12 | |
12 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
13 | | | 14 | |
14 | PYDISTUTILSPKG= yes | | 15 | .include "../../lang/python/distutils.mk" |
15 | | | | |
16 | .include "../../lang/python/extension.mk" | | | |
17 | | | 16 | |
18 | .if !defined(PYPACKAGE) || ${PYPACKAGE} != "python24" | | 17 | .if !defined(PYPACKAGE) || ${PYPACKAGE} != "python24" |
19 | PLIST.python25= yes | | 18 | PLIST.python25= yes |
20 | .endif | | 19 | .endif |
21 | | | 20 | |
22 | PLIST_VARS+= python25 | | 21 | PLIST_VARS+= python25 |
23 | | | 22 | |
24 | do-postinstall-test: .PHONY | | 23 | do-postinstall-test: .PHONY |
25 | cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()" | | 24 | cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()" |
26 | | | 25 | |
27 | .include "../../databases/sqlite3/buildlink3.mk" | | 26 | .include "../../databases/sqlite3/buildlink3.mk" |
28 | .include "../../mk/bsd.pkg.mk" | | 27 | .include "../../mk/bsd.pkg.mk" |