devel/py-mock: Update version 4.0.3=>5.0.1

- Add USE_PYTHON=pytest

Relnotes: https://github.com/testing-cabal/mock/releases/tag/5.0.1
This commit is contained in:
Muhammad Moinur Rahman 2023-01-11 02:32:10 -06:00
parent c5f5310789
commit 8cdd499a21
2 changed files with 5 additions and 10 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= mock
PORTVERSION= 4.0.3
PORTVERSION= 5.0.1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,16 +10,11 @@ WWW= https://mock.readthedocs.org/en/latest/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes # tests not packages in PyPI sdist
GH_ACCOUNT= testing-cabal
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1647072100
SHA256 (testing-cabal-mock-4.0.3_GH0.tar.gz) = a6b89933b91a7cce566a999f29914e97e7e6d0002dff7fe2636d9b0028fcfa6d
SIZE (testing-cabal-mock-4.0.3_GH0.tar.gz) = 80318
TIMESTAMP = 1673397753
SHA256 (testing-cabal-mock-5.0.1_GH0.tar.gz) = ea121e11ad4415b73617a86096f677e6288cb873698a14c44fdf8436a67cff2d
SIZE (testing-cabal-mock-5.0.1_GH0.tar.gz) = 84539