pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-testfixtures



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug 13 04:47:02 UTC 2025

Modified Files:
        pkgsrc/devel/py-testfixtures: Makefile PLIST distinfo

Log Message:
py-testfixtures: updated to 9.1.0

9.1.0 (8 Jul 2025)

Add support for passing :class:`StringComparison` instances as parameters to :meth:`OutputCapture.compare`.

9.0.1 (4 Jul 2025)

:attr:`ShouldRaise.raised` is now always an exception instance. If no exception has been raised, it will be a :class:`~testfixtures.shouldraise.NoException` instance. This prevents typing complaints 
around using an attribute that might be None.
:func:`mock_time` has been reworked to return an instance of :class:`~testfixtures.datetime.MockTime` rather than the class itself. :class:`~testfixtures.datetime.MockTime` has also been reworked 
such that it can no longer be instantiated with the same parameters as :class:`~datetime.datetime` - this edge case was never supported, but is highlighted here in case folks were using it.

9.0.0 (3 Jul 2025)

Python 3.11 is now the minimum supported version.
A show_whitespace parameter has been added to :class:`ShouldAssert`.
testfixtures is now fully typed, checked with mypy and is distributed with a py.typed marker file.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-testfixtures/Makefile \
    pkgsrc/devel/py-testfixtures/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-testfixtures/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-testfixtures/Makefile
diff -u pkgsrc/devel/py-testfixtures/Makefile:1.2 pkgsrc/devel/py-testfixtures/Makefile:1.3
--- pkgsrc/devel/py-testfixtures/Makefile:1.2   Sat Apr 12 21:10:59 2025
+++ pkgsrc/devel/py-testfixtures/Makefile       Wed Aug 13 04:47:01 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2025/04/12 21:10:59 adam Exp $
+# $NetBSD: Makefile,v 1.3 2025/08/13 04:47:01 adam Exp $
 
-DISTNAME=      testfixtures-8.3.0
+DISTNAME=      testfixtures-9.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testfixtures/}
 
@@ -15,12 +14,14 @@ TOOL_DEPENDS+=      ${PYPKGPREFIX}-setuptools
 TEST_DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django4
 TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
 # circular dependency
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-sybil-[0-9]*:../../wip/py-sybil
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-sybil>=6:../../wip/py-sybil
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-django-[0-9]*:../../www/py-test-django
 TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  39 310
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-testfixtures/PLIST
diff -u pkgsrc/devel/py-testfixtures/PLIST:1.2 pkgsrc/devel/py-testfixtures/PLIST:1.3
--- pkgsrc/devel/py-testfixtures/PLIST:1.2      Sat Apr 12 21:10:59 2025
+++ pkgsrc/devel/py-testfixtures/PLIST  Wed Aug 13 04:47:01 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2025/04/12 21:10:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/08/13 04:47:01 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -31,6 +31,7 @@ ${PYSITELIB}/testfixtures/outputcapture.
 ${PYSITELIB}/testfixtures/popen.py
 ${PYSITELIB}/testfixtures/popen.pyc
 ${PYSITELIB}/testfixtures/popen.pyo
+${PYSITELIB}/testfixtures/py.typed
 ${PYSITELIB}/testfixtures/replace.py
 ${PYSITELIB}/testfixtures/replace.pyc
 ${PYSITELIB}/testfixtures/replace.pyo
@@ -55,9 +56,6 @@ ${PYSITELIB}/testfixtures/tempdirectory.
 ${PYSITELIB}/testfixtures/tests/__init__.py
 ${PYSITELIB}/testfixtures/tests/__init__.pyc
 ${PYSITELIB}/testfixtures/tests/__init__.pyo
-${PYSITELIB}/testfixtures/tests/configparser-read.txt
-${PYSITELIB}/testfixtures/tests/configparser-write.txt
-${PYSITELIB}/testfixtures/tests/directory-contents.txt
 ${PYSITELIB}/testfixtures/tests/sample1.py
 ${PYSITELIB}/testfixtures/tests/sample1.pyc
 ${PYSITELIB}/testfixtures/tests/sample1.pyo

Index: pkgsrc/devel/py-testfixtures/distinfo
diff -u pkgsrc/devel/py-testfixtures/distinfo:1.1 pkgsrc/devel/py-testfixtures/distinfo:1.2
--- pkgsrc/devel/py-testfixtures/distinfo:1.1   Tue Jan 21 15:27:30 2025
+++ pkgsrc/devel/py-testfixtures/distinfo       Wed Aug 13 04:47:02 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2025/01/21 15:27:30 adam Exp $
+$NetBSD: distinfo,v 1.2 2025/08/13 04:47:02 adam Exp $
 
-BLAKE2s (testfixtures-8.3.0.tar.gz) = 3a697cc48ac880afd7d4d49d172f76dc81edd092d7f61c7e025b1d2b90eea050
-SHA512 (testfixtures-8.3.0.tar.gz) = b2c18a35c44b90bce50cc68ca9bf9909ac8f75287c7188eeddfa855aec1db3bd14f3fccb4c5ef0e44b19c683ad4bd6be4876554ce9127698e8e20cbfa4191800
-Size (testfixtures-8.3.0.tar.gz) = 137420 bytes
+BLAKE2s (testfixtures-9.1.0.tar.gz) = d650d73f011b03ab2308faf4b2c7ab3a0915ab6a50c242f95eed40c9def65a87
+SHA512 (testfixtures-9.1.0.tar.gz) = f1f16be2fb21475e4852f6a1e80eb53d3a702c4748f3bb5abb9dd955020ba0bc823ee910bfec87bd93a4aaa94bd20eff6f061af668219f916b8bb4771ec8f103
+Size (testfixtures-9.1.0.tar.gz) = 88605 bytes



Home | Main Index | Thread Index | Old Index