pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-timeout



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jul 14 13:35:21 UTC 2022

Modified Files:
        pkgsrc/devel/py-test-timeout: Makefile distinfo

Log Message:
py-test-timeout: updated to 2.1.0

2.1.0

Get terminal width from shutil instead of deprecated py, thanks Andrew Svetlov.
Add an API for extending pytest-timeout functionality with third-party plugins, thanks Andrew Svetlov.

2.0.2

Fix debugger detection on OSX, thanks Alexander Pacha.

2.0.1

Fix Python 2 removal, thanks Nicusor Picatureanu.

2.0.0

Increase pytest requirement to >=5.0.0. Thanks Dominic Davis-Foster.
Use thread timeout method when plugin is not called from main thread to avoid crash.
Fix pycharm debugger detection so timeouts are not triggered during debugger usage.
Dropped support for Python 2, minimum pytest version supported is 5.0.0.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-test-timeout/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-test-timeout/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-timeout/Makefile
diff -u pkgsrc/devel/py-test-timeout/Makefile:1.12 pkgsrc/devel/py-test-timeout/Makefile:1.13
--- pkgsrc/devel/py-test-timeout/Makefile:1.12  Tue Jan  4 20:53:43 2022
+++ pkgsrc/devel/py-test-timeout/Makefile       Thu Jul 14 13:35:21 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/01/04 20:53:43 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/07/14 13:35:21 adam Exp $
 
-DISTNAME=      pytest-timeout-1.4.2
+DISTNAME=      pytest-timeout-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-timeout/}
 
@@ -11,10 +10,11 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Py.test plugin to abort hanging tests
 LICENSE=       mit
 
-PYTHON_VERSIONED_DEPENDENCIES= test
+DEPENDS+=      ${PYPKGPREFIX}-test>=5.0.0:../../devel/py-test
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-test-timeout/distinfo
diff -u pkgsrc/devel/py-test-timeout/distinfo:1.10 pkgsrc/devel/py-test-timeout/distinfo:1.11
--- pkgsrc/devel/py-test-timeout/distinfo:1.10  Tue Oct 26 10:19:09 2021
+++ pkgsrc/devel/py-test-timeout/distinfo       Thu Jul 14 13:35:21 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:19:09 nia Exp $
+$NetBSD: distinfo,v 1.11 2022/07/14 13:35:21 adam Exp $
 
-BLAKE2s (pytest-timeout-1.4.2.tar.gz) = a2a3f511dc8c34fb20481744ae5b608b30180b751d19b1d3bed2804e442e2c6d
-SHA512 (pytest-timeout-1.4.2.tar.gz) = 3446ecdb5aaad5fbca12df4e7f4f40c6c1a12895d3ed9f3a3ee24800ce36deed3cb8c09a4cc72220c962b06f821cfd55bf7eebbca23664c56abf2d0e5bc8fbea
-Size (pytest-timeout-1.4.2.tar.gz) = 15424 bytes
+BLAKE2s (pytest-timeout-2.1.0.tar.gz) = cd458ddbb713d3096d23655e10e137a64c4a5e9b94adc68fee6401a6c76ffcaf
+SHA512 (pytest-timeout-2.1.0.tar.gz) = 5750e5183669ed9b83fbb76bd7fc9fc1f5f6eef3d9b675dc44f6c7edfd2c6d15739d71e845ededaa192c93da73026ac3376a3295be9f7d3f3eac325660ce7bf3
+Size (pytest-timeout-2.1.0.tar.gz) = 18386 bytes



Home | Main Index | Thread Index | Old Index