Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id C37657A211 for ; Wed, 5 Apr 2017 11:18:34 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 3BF718558D; Wed, 5 Apr 2017 11:18:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BE9398557C for ; Wed, 5 Apr 2017 11:18:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Hb6t42CK75IT for ; Wed, 5 Apr 2017 11:18:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2265184CE1 for ; Wed, 5 Apr 2017 11:18:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1DBB2FBE4; Wed, 5 Apr 2017 11:18:33 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1491391113150640" MIME-Version: 1.0 Date: Wed, 5 Apr 2017 11:18:33 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-test-mock To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170405111833.1DBB2FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1491391113150640 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Wed Apr 5 11:18:33 UTC 2017 Modified Files: pkgsrc/devel/py-test-mock: Makefile Log Message: Only on python-2.x does this module need py-mock as dependency. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-mock/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1491391113150640 Content-Disposition: inline Content-Length: 1023 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-test-mock/Makefile diff -u pkgsrc/devel/py-test-mock/Makefile:1.1 pkgsrc/devel/py-test-mock/Makefile:1.2 --- pkgsrc/devel/py-test-mock/Makefile:1.1 Tue Apr 4 14:02:44 2017 +++ pkgsrc/devel/py-test-mock/Makefile Wed Apr 5 11:18:32 2017 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2017/04/04 14:02:44 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2017/04/05 11:18:32 wiz Exp $ DISTNAME= pytest-mock-1.6.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/} @@ -11,11 +12,14 @@ COMMENT= Thin-wrapper around the mock pa LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +.include "../../lang/python/pyversion.mk" + +.if ${PYVERSSUFFIX} == "2.7" DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +.endif # needs to be installed first -# one test failure as of 1.6.0 -# https://github.com/pytest-dev/pytest-mock/issues/81 do-test: cd ${WRKSRC} && py.test-${PYVERSSUFFIX} --_----------=_1491391113150640--