pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-mock
Module Name: pkgsrc
Committed By: adam
Date: Sun Mar 24 17:43:21 UTC 2024
Modified Files:
pkgsrc/devel/py-test-mock: Makefile PLIST distinfo
Log Message:
py-test-mock: updated to 3.14.0
3.14.0 (2024-03-21)
-------------------
* `MockType`` and ``AsyncMockType`` can be imported from ``pytest_mock`` for type annotation purposes.
* Fixed a regression which would cause ``mocker.patch.object`` to not being properly cleared between tests.
3.13.0 (2024-03-21)
-------------------
* ``spy`` now has ``spy_return_list``, which is a list containing all the values returned by the spied function.
* ``pytest-mock`` now requires ``pytest>=6.2.5``.
* pytest-mock's ``setup.py`` file is removed.
If you relied on this file, e.g. to install pytest using ``setup.py install``,
please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`_ for alternatives.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-test-mock/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-test-mock/PLIST
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-test-mock/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-test-mock/Makefile
diff -u pkgsrc/devel/py-test-mock/Makefile:1.29 pkgsrc/devel/py-test-mock/Makefile:1.30
--- pkgsrc/devel/py-test-mock/Makefile:1.29 Fri Oct 20 14:17:44 2023
+++ pkgsrc/devel/py-test-mock/Makefile Sun Mar 24 17:43:21 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2023/10/20 14:17:44 adam Exp $
+# $NetBSD: Makefile,v 1.30 2024/03/24 17:43:21 adam Exp $
-DISTNAME= pytest-mock-3.12.0
+DISTNAME= pytest-mock-3.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/}
@@ -10,15 +10,14 @@ HOMEPAGE= https://github.com/pytest-dev/
COMMENT= Thin-wrapper around the mock package for easier use with py.test
LICENSE= mit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-DEPENDS+= ${PYPKGPREFIX}-test>=5.0:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-test>=6.2.5:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-mock/PLIST
diff -u pkgsrc/devel/py-test-mock/PLIST:1.3 pkgsrc/devel/py-test-mock/PLIST:1.4
--- pkgsrc/devel/py-test-mock/PLIST:1.3 Thu Nov 25 20:10:26 2021
+++ pkgsrc/devel/py-test-mock/PLIST Sun Mar 24 17:43:21 2024
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2021/11/25 20:10:26 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2024/03/24 17:43:21 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/pytest_mock/__init__.py
${PYSITELIB}/pytest_mock/__init__.pyc
${PYSITELIB}/pytest_mock/__init__.pyo
Index: pkgsrc/devel/py-test-mock/distinfo
diff -u pkgsrc/devel/py-test-mock/distinfo:1.26 pkgsrc/devel/py-test-mock/distinfo:1.27
--- pkgsrc/devel/py-test-mock/distinfo:1.26 Fri Oct 20 14:17:44 2023
+++ pkgsrc/devel/py-test-mock/distinfo Sun Mar 24 17:43:21 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2023/10/20 14:17:44 adam Exp $
+$NetBSD: distinfo,v 1.27 2024/03/24 17:43:21 adam Exp $
-BLAKE2s (pytest-mock-3.12.0.tar.gz) = 221f0ee7d91178d12b9cca43b393a10bd85f3fcd44f79bb9e432898b2a84b51a
-SHA512 (pytest-mock-3.12.0.tar.gz) = 6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82
-Size (pytest-mock-3.12.0.tar.gz) = 32139 bytes
+BLAKE2s (pytest-mock-3.14.0.tar.gz) = c61442a7db445661fcd0d4dc011f064d1cc749a23736c823f0cc39d0dbc6afd0
+SHA512 (pytest-mock-3.14.0.tar.gz) = c60059fe8fb64540f33382e52b9015dd9771483e2074d35c02cd5852a50eed02a64e202b7e81e920bbbd0621bd23fa9bb0467d2ceef7abd582df3e27eafeaa20
+Size (pytest-mock-3.14.0.tar.gz) = 32814 bytes
Home |
Main Index |
Thread Index |
Old Index