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]25399da904
[1]aa95a425d7
[2] https://github.com/pytest-dev/pytest/blob/master/testing/test_argcomplete.py [3]c1d9ca81df
Reviewed by: koobs Approved by: koobs (mentor) Differential Revision: https://reviews.freebsd.org/D16124
This commit is contained in:
parent
ba61726e65
commit
c12dd5191d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474450
2 changed files with 11 additions and 8 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue