update to py3-test-mock-3.7.0, py3-only

This commit is contained in:
sthen 2022-02-26 20:50:35 +00:00
parent 8081f48a52
commit feca9cab21
3 changed files with 18 additions and 16 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.15 2021/11/02 00:01:02 sthen Exp $
# $OpenBSD: Makefile,v 1.16 2022/02/26 20:50:35 sthen Exp $
COMMENT = thin-wrapper around mock package for easier use with pytest
MODPY_EGG_VERSION = 1.6.0
MODPY_EGG_VERSION = 3.7.0
DISTNAME = pytest-mock-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = devel
REVISION = 4
HOMEPAGE = https://github.com/pytest-dev/pytest-mock/
@ -24,11 +23,6 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?=
# One test fail if py3-mock installed
.if !${FLAVOR:Mpython3}
RUN_DEPENDS += devel/py-mock
.endif
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (pytest-mock-1.6.0.tar.gz) = g6F8vNTbx8bJ3IhaDVmPms0R8tUULgcY7TLhRThnDB8=
SIZE (pytest-mock-1.6.0.tar.gz) = 17780
SHA256 (pytest-mock-3.7.0.tar.gz) = URK9ksyfGG7pbhqS78hJaepJSTnDrq05xQ9CHEzGlTQ=
SIZE (pytest-mock-3.7.0.tar.gz) = 29311

View File

@ -1,7 +1,6 @@
@comment $OpenBSD: PLIST,v 1.2 2016/11/10 06:05:53 shadchin Exp $
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}_pytest_mock_version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}pytest_mock.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/_pytest_mock_version.py
@comment $OpenBSD: PLIST,v 1.3 2022/02/26 20:50:35 sthen Exp $
@pkgpath devel/py-test-mock
lib/python${MODPY_VERSION}/site-packages/pytest_mock/
lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
@ -9,4 +8,13 @@ lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MO
lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/pytest_mock-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pytest_mock.py
lib/python${MODPY_VERSION}/site-packages/pytest_mock/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pytest_mock/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pytest_mock/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pytest_mock/${MODPY_PYCACHE}_util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pytest_mock/${MODPY_PYCACHE}_version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pytest_mock/${MODPY_PYCACHE}plugin.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pytest_mock/_util.py
lib/python${MODPY_VERSION}/site-packages/pytest_mock/_version.py
lib/python${MODPY_VERSION}/site-packages/pytest_mock/plugin.py
lib/python${MODPY_VERSION}/site-packages/pytest_mock/py.typed