From owner-svn-ports-head@freebsd.org Tue May 7 12:22:28 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32B7715841E9; Tue, 7 May 2019 12:22:28 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC30F87110; Tue, 7 May 2019 12:22:27 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A5C801E345; Tue, 7 May 2019 12:22:27 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x47CMRZl044089; Tue, 7 May 2019 12:22:27 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x47CMRfe044087; Tue, 7 May 2019 12:22:27 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201905071222.x47CMRfe044087@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 7 May 2019 12:22:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500959 - head/devel/py-pytest-mock X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/devel/py-pytest-mock X-SVN-Commit-Revision: 500959 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CC30F87110 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.965,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2019 12:22:28 -0000 Author: koobs Date: Tue May 7 12:22:26 2019 New Revision: 500959 URL: https://svnweb.freebsd.org/changeset/ports/500959 Log: devel/py-pytest-mock: Update to 1.10.4 - Conditionalise mock dependency (Python 2.x only) - Add upstream patches to fix test failures with mock 3.x - Verbosify test target and print skipped messages/reasons - Pet portlint: NO_ARCH in USE/USES section Changelog: https://github.com/pytest-dev/pytest-mock/blob/1.10.4/CHANGELOG.rst Reviewed by: olgeni Approved by: olgeni (maintainer) Differential Revision: D20167 Modified: head/devel/py-pytest-mock/Makefile head/devel/py-pytest-mock/distinfo Modified: head/devel/py-pytest-mock/Makefile ============================================================================== --- head/devel/py-pytest-mock/Makefile Tue May 7 12:03:40 2019 (r500958) +++ head/devel/py-pytest-mock/Makefile Tue May 7 12:22:26 2019 (r500959) @@ -1,11 +1,14 @@ # $FreeBSD$ PORTNAME= pytest-mock -PORTVERSION= 1.7.1 +PORTVERSION= 1.10.4 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PATCH_SITES= https://github.com/pytest-dev/${PORTNAME}/commit/ +PATCHFILES= b3badafebedea3605c90eb22a68adff2885a8bb0.patch:-p1 + MAINTAINER= olgeni@FreeBSD.org COMMENT= Thin wrapper around the mock package for easier use with py.test @@ -13,13 +16,20 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.7:devel/py-pytest@${PY_FLAVOR} -NO_ARCH= yes -USES+= python +USES= python USE_PYTHON= autoplist concurrent distutils +NO_ARCH= yes + +.include + +.if ${PYTHON_VER} < 3.0 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} +.endif + do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs test_pytest_mock.py -.include +.include Modified: head/devel/py-pytest-mock/distinfo ============================================================================== --- head/devel/py-pytest-mock/distinfo Tue May 7 12:03:40 2019 (r500958) +++ head/devel/py-pytest-mock/distinfo Tue May 7 12:22:26 2019 (r500959) @@ -1,3 +1,5 @@ -TIMESTAMP = 1520337354 -SHA256 (pytest-mock-1.7.1.tar.gz) = b879dff61e31fcd4727c227c182f15f222a155293cc64ed5a02d55e0020cf949 -SIZE (pytest-mock-1.7.1.tar.gz) = 20176 +TIMESTAMP = 1557059422 +SHA256 (pytest-mock-1.10.4.tar.gz) = 5bf5771b1db93beac965a7347dc81c675ec4090cb841e49d9d34637a25c30568 +SIZE (pytest-mock-1.10.4.tar.gz) = 18790 +SHA256 (b3badafebedea3605c90eb22a68adff2885a8bb0.patch) = 8c6d1028175b1a524cbcb1df3aeaa725fed9a1aa3ad0499a242ac65b65e855e0 +SIZE (b3badafebedea3605c90eb22a68adff2885a8bb0.patch) = 1667