pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testtools



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 27 11:24:18 UTC 2022

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-testtools/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-testtools/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-testtools/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-testtools/Makefile
diff -u pkgsrc/devel/py-testtools/Makefile:1.21 pkgsrc/devel/py-testtools/Makefile:1.22
--- pkgsrc/devel/py-testtools/Makefile:1.21     Tue Jan  4 20:53:44 2022
+++ pkgsrc/devel/py-testtools/Makefile  Thu Jan 27 11:24:18 2022
@@ -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 @@ LICENSE=    mit AND python-software-foundat
 
 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
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# 2 failures as of 2.3.0
-# https://github.com/testing-cabal/testtools/issues/253
 # 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

Index: pkgsrc/devel/py-testtools/PLIST
diff -u pkgsrc/devel/py-testtools/PLIST:1.8 pkgsrc/devel/py-testtools/PLIST:1.9
--- pkgsrc/devel/py-testtools/PLIST:1.8 Wed Feb 22 14:20:56 2017
+++ pkgsrc/devel/py-testtools/PLIST     Thu Jan 27 11:24:18 2022
@@ -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}/${EGG_INFODIR}/top_level.tx
 ${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

Index: pkgsrc/devel/py-testtools/distinfo
diff -u pkgsrc/devel/py-testtools/distinfo:1.15 pkgsrc/devel/py-testtools/distinfo:1.16
--- pkgsrc/devel/py-testtools/distinfo:1.15     Tue Oct 26 10:19:11 2021
+++ pkgsrc/devel/py-testtools/distinfo  Thu Jan 27 11:24:18 2022
@@ -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