Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 14:20:03 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474450 - head/devel/py-pytest
Message-ID:  <201807111420.w6BEK3fJ036758@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Wed Jul 11 14:20:02 2018
New Revision: 474450
URL: https://svnweb.freebsd.org/changeset/ports/474450

Log:
  devel/py-pytest: Update to 3.6.2
  
    https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst
  
  - Update PORTVERSION and distinfo checksum to 3.6.2
  - Add devel/py-more-itertools [0] and devel/py-atomicwrites [1] to RUN_DEPENDS
  - Add shells/bash [2] to TEST_DEPENDS
  - Change test target to run pytest, setup.py test has been removed [3]
  
  [0] https://github.com/pytest-dev/pytest/commit/25399da9047d044174f090f1315f9a4244b91135
  [1] https://github.com/pytest-dev/pytest/commit/aa95a425d7708d80fc887b1825662daf3a624ba7
  [2] https://github.com/pytest-dev/pytest/blob/master/testing/test_argcomplete.py
  [3] https://github.com/pytest-dev/pytest/commit/c1d9ca81df5364417317fd779e73d9ff85fe5d35
  
  Reviewed by:	koobs
  Approved by:	koobs (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16124

Modified:
  head/devel/py-pytest/Makefile
  head/devel/py-pytest/distinfo

Modified: head/devel/py-pytest/Makefile
==============================================================================
--- head/devel/py-pytest/Makefile	Wed Jul 11 14:20:02 2018	(r474449)
+++ head/devel/py-pytest/Makefile	Wed Jul 11 14:20:02 2018	(r474450)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	pytest
-PORTVERSION=	3.4.2
+PORTVERSION=	3.6.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,23 +13,26 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=17.2.0:devel/py-attrs@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pluggy>=0.5:devel/py-pluggy@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pluggy>=0.5:devel/py-pluggy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY_FLAVOR}
 TEST_DEPENDS=	${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} \
 		${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}twisted>0:devel/py-twisted@${PY_FLAVOR} \
+		bash:shells/bash
 
 NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.pre.mk>
 

Modified: head/devel/py-pytest/distinfo
==============================================================================
--- head/devel/py-pytest/distinfo	Wed Jul 11 14:20:02 2018	(r474449)
+++ head/devel/py-pytest/distinfo	Wed Jul 11 14:20:02 2018	(r474450)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1520374992
-SHA256 (pytest-3.4.2.tar.gz) = 117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5
-SIZE (pytest-3.4.2.tar.gz) = 812719
+TIMESTAMP = 1530605771
+SHA256 (pytest-3.6.2.tar.gz) = 8ea01fc4fcc8e1b1e305252b4bc80a1528019ab99fd3b88666c9dc38d754406c
+SIZE (pytest-3.6.2.tar.gz) = 829730



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807111420.w6BEK3fJ036758>