pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-testscenarios py-testscenarios: set test target.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab428883ec2a
branches:  trunk
changeset: 396979:ab428883ec2a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 13 22:20:39 2019 +0000

description:
py-testscenarios: set test target.

Update some comments and note bug report about cyclic dependency.

diffstat:

 devel/py-testscenarios/Makefile |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (28 lines):

diff -r 9286e0dbfd8c -r ab428883ec2a devel/py-testscenarios/Makefile
--- a/devel/py-testscenarios/Makefile   Thu Jun 13 22:05:24 2019 +0000
+++ b/devel/py-testscenarios/Makefile   Thu Jun 13 22:20:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/02/22 14:21:40 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2019/06/13 22:20:39 wiz Exp $
 
 DISTNAME=      testscenarios-0.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,15 +11,11 @@
 LICENSE=       apache-2.0 OR modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
-# as of 0.5.0, many failures
-# https://github.com/testing-cabal/testscenarios/issues/2
-# TEST_DEPENDS
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 # circular dependency
-#BUILD_DEPENDS+=       ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
+# https://github.com/testing-cabal/testscenarios/issues/4
+#DEPENDS+=     ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
 
-do-test:
-       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+TEST_TARGET=   check
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index