FreeBSD Bugzilla – Attachment 239180 Details for
Bug 264762
devel/py-pytest-mock: Update to 3.7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-pytest-mock-3.10.0.patch
py-pytest-mock-3.10.0.patch (text/plain), 2.72 KB, created by
takefu
on 2023-01-01 15:36:58 UTC
(
hide
)
Description:
py-pytest-mock-3.10.0.patch
Filename:
MIME Type:
Creator:
takefu
Created:
2023-01-01 15:36:58 UTC
Size:
2.72 KB
patch
obsolete
>diff -udprN /usr/ports/devel/py-pytest-mock/Makefile devel/py-pytest-mock/Makefile >--- /usr/ports/devel/py-pytest-mock/Makefile 2022-09-08 06:06:12.000000000 +0900 >+++ devel/py-pytest-mock/Makefile 2023-01-01 09:48:58.072299000 +0900 >@@ -1,28 +1,27 @@ PORTNAME= pytest-mock > PORTNAME= pytest-mock >-PORTVERSION= 1.10.4 >+PORTVERSION= 3.10.0 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >-PATCH_SITES= https://github.com/pytest-dev/${PORTNAME}/commit/ >-PATCHFILES= b3badafebedea3605c90eb22a68adff2885a8bb0.patch:-p1 >- > MAINTAINER= olgeni@FreeBSD.org >-COMMENT= Thin wrapper around the mock package for easier use with py.test >-WWW= https://github.com/pytest-dev/pytest-mock/ >+COMMENT= Thin-wrapper around the mock package for easier use with pytest >+WWW= https://pypi.org/project/pytest-mock/ > > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > > BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.7:devel/py-pytest@${PY_FLAVOR} >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} > >-USES= python:3.6+ >+USES= python:3.7+ > USE_PYTHON= autoplist concurrent distutils >- > NO_ARCH= yes > > do-test: >- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs test_pytest_mock.py >+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= --assert=plain > > .include <bsd.port.mk> >diff -udprN /usr/ports/devel/py-pytest-mock/distinfo devel/py-pytest-mock/distinfo >--- /usr/ports/devel/py-pytest-mock/distinfo 2019-05-07 21:22:26.000000000 +0900 >+++ devel/py-pytest-mock/distinfo 2023-01-01 09:48:58.073035000 +0900 >@@ -1,5 +1,3 @@ >-TIMESTAMP = 1557059422 >-SHA256 (pytest-mock-1.10.4.tar.gz) = 5bf5771b1db93beac965a7347dc81c675ec4090cb841e49d9d34637a25c30568 >-SIZE (pytest-mock-1.10.4.tar.gz) = 18790 >-SHA256 (b3badafebedea3605c90eb22a68adff2885a8bb0.patch) = 8c6d1028175b1a524cbcb1df3aeaa725fed9a1aa3ad0499a242ac65b65e855e0 >-SIZE (b3badafebedea3605c90eb22a68adff2885a8bb0.patch) = 1667 >+TIMESTAMP = 1667204981 >+SHA256 (pytest-mock-3.10.0.tar.gz) = fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f >+SIZE (pytest-mock-3.10.0.tar.gz) = 28384 >diff -udprN /usr/ports/devel/py-pytest-mock/pkg-descr devel/py-pytest-mock/pkg-descr >--- /usr/ports/devel/py-pytest-mock/pkg-descr 2022-09-08 06:30:14.000000000 +0900 >+++ devel/py-pytest-mock/pkg-descr 2023-01-01 09:48:58.073269000 +0900 >@@ -1 +1,2 @@ >-Thin wrapper around the mock package for easier use with py.test. >+This plugin provides a mocker fixture which is a thin-wrapper around the >+patching API provided by the mock package.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264762
:
234776
|
235347
| 239180