pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Only define do-test target for the case pa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6f1260534c5e
branches: trunk
changeset: 626023:6f1260534c5e
user: obache <obache%pkgsrc.org@localhost>
date: Wed Oct 30 08:39:07 2013 +0000
description:
Only define do-test target for the case package itself does not define own
test target.
diffstat:
lang/python/extension.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r a6e7d2ab9fff -r 6f1260534c5e lang/python/extension.mk
--- a/lang/python/extension.mk Wed Oct 30 07:31:04 2013 +0000
+++ b/lang/python/extension.mk Wed Oct 30 08:39:07 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.33 2013/10/29 23:52:56 wiz Exp $
+# $NetBSD: extension.mk,v 1.34 2013/10/30 08:39:07 obache Exp $
.include "../../lang/python/pyversion.mk"
@@ -37,9 +37,11 @@
do-install:
(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "install" ${_PYSETUPINSTALLARGS})
+.if !target(do-test) && !(defined(TEST_TARGET) && !empty(TEST_TARGET))
do-test:
(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \
${PYSETUP} ${PYSETUPARGS} ${PYSETUPTESTTARGET} ${PYSETUPTESTARGS})
+.endif
.endif
Home |
Main Index |
Thread Index |
Old Index