pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-sqlite2 Use .PHONY correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0d6ff6a4262
branches:  trunk
changeset: 629635:b0d6ff6a4262
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 25 08:45:38 2014 +0000

description:
Use .PHONY correctly.

diffstat:

 databases/py-sqlite2/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r f24427543935 -r b0d6ff6a4262 databases/py-sqlite2/Makefile
--- a/databases/py-sqlite2/Makefile     Sat Jan 25 08:44:53 2014 +0000
+++ b/databases/py-sqlite2/Makefile     Sat Jan 25 08:45:38 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2013/10/19 09:07:01 adam Exp $
+# $NetBSD: Makefile,v 1.33 2014/01/25 08:45:38 wiz Exp $
 
 DISTNAME=      pysqlite-2.6.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pysqlite/sqlite2/}
@@ -11,10 +11,12 @@
 COMMENT=       SQLite database adapter for Python
 LICENSE=       mit
 
-.include "../../lang/python/distutils.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of 2.6.3
 
-do-postinstall-test: .PHONY
+.PHONY: do-postinstall-test
+do-postinstall-test:
        cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
 
+.include "../../lang/python/distutils.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index