From owner-svn-ports-head@freebsd.org Tue Mar 26 12:54:16 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 B38541551644; Tue, 26 Mar 2019 12:54:16 +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 4C29C8FD28; Tue, 26 Mar 2019 12:54:16 +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 23FB82000F; Tue, 26 Mar 2019 12:54:16 +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 x2QCsGXj009436; Tue, 26 Mar 2019 12:54:16 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2QCsFCX009435; Tue, 26 Mar 2019 12:54:15 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201903261254.x2QCsFCX009435@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 26 Mar 2019 12:54:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496893 - head/devel/py-pytest X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/devel/py-pytest X-SVN-Commit-Revision: 496893 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4C29C8FD28 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.953,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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, 26 Mar 2019 12:54:17 -0000 Author: koobs Date: Tue Mar 26 12:54:15 2019 New Revision: 496893 URL: https://svnweb.freebsd.org/changeset/ports/496893 Log: devel/py-pytest: Update to 4.3.1 - Add a number of optional test dependencies to un-skip more tests - Use PYTHON_VER instead of PYTHON_REL to match conditionals to upstream spec. - Move mock to a conditional (2.7) dependency (per upstream spec) Changelog: https://github.com/pytest-dev/pytest/blob/4.3.1/CHANGELOG.rst PR: 235339 Submitted by: John W. O'Brien (with changes) Approved by: koobs (python, maintainer) Modified: head/devel/py-pytest/Makefile head/devel/py-pytest/distinfo Modified: head/devel/py-pytest/Makefile ============================================================================== --- head/devel/py-pytest/Makefile Tue Mar 26 12:09:48 2019 (r496892) +++ head/devel/py-pytest/Makefile Tue Mar 26 12:54:15 2019 (r496893) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pytest -PORTVERSION= 3.6.4 +PORTVERSION= 4.3.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,29 +16,37 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>= RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pluggy>=0.5:devel/py-pluggy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pluggy>=0.7:devel/py-pluggy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} -TEST_DEPENDS= bash:shells/bash \ - ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:devel/py-pytest-xdist@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}twisted>0:devel/py-twisted@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -do-test: - @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) - .include -.if ${PYTHON_REL} < 3000 +.if ${PYTHON_REL} < 3.0 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}funcsigs>=0:devel/py-funcsigs@${PY_FLAVOR} .endif + +.if ${PYTHON_VER} < 3.6 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>=2.2.0:devel/py-pathlib2@${PY_FLAVOR} +.endif + +.if ${PYTHON_VER} == 2.7 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} +.endif + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include Modified: head/devel/py-pytest/distinfo ============================================================================== --- head/devel/py-pytest/distinfo Tue Mar 26 12:09:48 2019 (r496892) +++ head/devel/py-pytest/distinfo Tue Mar 26 12:54:15 2019 (r496893) @@ -1,3 +1,3 @@ -TIMESTAMP = 1535728734 -SHA256 (pytest-3.6.4.tar.gz) = 341ec10361b64a24accaec3c7ba5f7d5ee1ca4cebea30f76fad3dd12db9f0541 -SIZE (pytest-3.6.4.tar.gz) = 832791 +TIMESTAMP = 1553587773 +SHA256 (pytest-4.3.1.tar.gz) = 592eaa2c33fae68c7d75aacf042efc9f77b27c08a6224a4f59beab8d9a420523 +SIZE (pytest-4.3.1.tar.gz) = 917608