pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-testtools py310-testtools: update to 2.5.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb3b0f0f9c4a
branches: trunk
changeset: 372580:eb3b0f0f9c4a
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 27 11:24:18 2022 +0000
description:
py310-testtools: update to 2.5.0.
2.5.0
~~~~~
Improvements
------------
* Add support for Python 3.9.
(Hugo van Kemenade)
* Python 3.5 has reached end-of-life and this is the last release to support it.
* The skip, skipIf, and skipUnless decorators can now be used as class
decorators as well as test method decorators, just as they can in
unittest.
* The ``SameMembers`` matcher class is now exposed as part of the public
matchers API.
Changes
-------
* The dependency on the ``unittest2`` module has been removed. This has some
knock on effects, including the removal of the ``assertItemsEqual`` helper
which was removed from ``unittest`` in Python 3.x.
* The ``safe_hasattr`` utility has been removed from ``testtools.helpers``.
This was a compat wrapper introduced in 0.9.25 when the utility itself was
moved to the ``extras`` package. It is no longer useless on Python 3-only
projects.
* The ``try_imports`` utility has been removed from ``testtools.helpers``.
This was a compat wrapper introduced in 0.9.25 when the utility itself was
moved to the ``extras`` package. It is no longer used within testtools and
has therefore been dropped.
diffstat:
devel/py-testtools/Makefile | 13 +++++--------
devel/py-testtools/PLIST | 8 +-------
devel/py-testtools/distinfo | 8 ++++----
3 files changed, 10 insertions(+), 19 deletions(-)
diffs (67 lines):
diff -r 6db8d00d9f73 -r eb3b0f0f9c4a devel/py-testtools/Makefile
--- a/devel/py-testtools/Makefile Thu Jan 27 11:23:16 2022 +0000
+++ b/devel/py-testtools/Makefile Thu Jan 27 11:24:18 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2022/01/04 20:53:44 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/01/27 11:24:18 wiz Exp $
-DISTNAME= testtools-2.4.0
+DISTNAME= testtools-2.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/testtools/}
@@ -13,14 +12,12 @@
DEPENDS+= ${PYPKGPREFIX}-extras>=1.0.0:../../devel/py-extras
DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures
-DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse
-DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2
+DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
-# 2 failures as of 2.3.0
-# https://github.com/testing-cabal/testtools/issues/253
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
# circular test dependency
# https://github.com/testing-cabal/testscenarios/issues/4
-#TEST_DEPENDS+= ${PYPKGPREFIX}-testresources-[0-9]*:../../devel/py-testresources
#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
USE_LANGUAGES= # none
diff -r 6db8d00d9f73 -r eb3b0f0f9c4a devel/py-testtools/PLIST
--- a/devel/py-testtools/PLIST Thu Jan 27 11:23:16 2022 +0000
+++ b/devel/py-testtools/PLIST Thu Jan 27 11:24:18 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/02/22 14:20:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/01/27 11:24:18 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,12 +9,6 @@
${PYSITELIB}/testtools/__init__.py
${PYSITELIB}/testtools/__init__.pyc
${PYSITELIB}/testtools/__init__.pyo
-${PYSITELIB}/testtools/_compat2x.py
-${PLIST.py2x}${PYSITELIB}/testtools/_compat2x.pyc
-${PLIST.py2x}${PYSITELIB}/testtools/_compat2x.pyo
-${PYSITELIB}/testtools/_compat3x.py
-${PYSITELIB}/testtools/_compat3x.pyc
-${PYSITELIB}/testtools/_compat3x.pyo
${PYSITELIB}/testtools/assertions.py
${PYSITELIB}/testtools/assertions.pyc
${PYSITELIB}/testtools/assertions.pyo
diff -r 6db8d00d9f73 -r eb3b0f0f9c4a devel/py-testtools/distinfo
--- a/devel/py-testtools/distinfo Thu Jan 27 11:23:16 2022 +0000
+++ b/devel/py-testtools/distinfo Thu Jan 27 11:24:18 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:19:11 nia Exp $
+$NetBSD: distinfo,v 1.16 2022/01/27 11:24:18 wiz Exp $
-BLAKE2s (testtools-2.4.0.tar.gz) = cdaa2467b9c4cccceb46f265ad360ff75fed55ff448c4bccf06a075e57f5067f
-SHA512 (testtools-2.4.0.tar.gz) = af26e163a4caeb207a554b19f86c7892ab5ebe904c144d85273464e880cd18a991c70a77ff817aefb15768fa38f382e9ed853cdefb212dc697b24072e17535c0
-Size (testtools-2.4.0.tar.gz) = 233032 bytes
+BLAKE2s (testtools-2.5.0.tar.gz) = beada4a371471853d1262cf31db4a5b79811f52b9c06a756f8fb9b9585ffccb9
+SHA512 (testtools-2.5.0.tar.gz) = 6adbf9e90f0647a44130e99cd94e4c0cbfab3a1b5c28b6bb124d061defe69d8043186cfe554099936effe16a6b07d59927bfeb6820f5a0fb34970ff243030fd4
+Size (testtools-2.5.0.tar.gz) = 235399 bytes
Home |
Main Index |
Thread Index |
Old Index