head	1.18;
access;
symbols
	pkgsrc-2026Q1:1.18.0.8
	pkgsrc-2026Q1-base:1.18
	pkgsrc-2025Q4:1.18.0.6
	pkgsrc-2025Q4-base:1.18
	pkgsrc-2025Q3:1.18.0.4
	pkgsrc-2025Q3-base:1.18
	pkgsrc-2025Q2:1.18.0.2
	pkgsrc-2025Q2-base:1.18
	pkgsrc-2025Q1:1.16.0.4
	pkgsrc-2025Q1-base:1.16
	pkgsrc-2024Q4:1.16.0.2
	pkgsrc-2024Q4-base:1.16
	pkgsrc-2024Q3:1.15.0.6
	pkgsrc-2024Q3-base:1.15
	pkgsrc-2024Q2:1.15.0.4
	pkgsrc-2024Q2-base:1.15
	pkgsrc-2024Q1:1.15.0.2
	pkgsrc-2024Q1-base:1.15
	pkgsrc-2023Q4:1.14.0.2
	pkgsrc-2023Q4-base:1.14
	pkgsrc-2023Q3:1.13.0.10
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.13.0.8
	pkgsrc-2023Q2-base:1.13
	pkgsrc-2023Q1:1.13.0.6
	pkgsrc-2023Q1-base:1.13
	pkgsrc-2022Q4:1.13.0.4
	pkgsrc-2022Q4-base:1.13
	pkgsrc-2022Q3:1.13.0.2
	pkgsrc-2022Q3-base:1.13
	pkgsrc-2022Q2:1.12.0.4
	pkgsrc-2022Q2-base:1.12
	pkgsrc-2022Q1:1.12.0.2
	pkgsrc-2022Q1-base:1.12
	pkgsrc-2021Q4:1.11.0.10
	pkgsrc-2021Q4-base:1.11
	pkgsrc-2021Q3:1.11.0.8
	pkgsrc-2021Q3-base:1.11
	pkgsrc-2021Q2:1.11.0.6
	pkgsrc-2021Q2-base:1.11
	pkgsrc-2021Q1:1.11.0.4
	pkgsrc-2021Q1-base:1.11
	pkgsrc-2020Q4:1.11.0.2
	pkgsrc-2020Q4-base:1.11
	pkgsrc-2020Q3:1.10.0.4
	pkgsrc-2020Q3-base:1.10
	pkgsrc-2020Q2:1.10.0.2
	pkgsrc-2020Q2-base:1.10
	pkgsrc-2020Q1:1.9.0.2
	pkgsrc-2020Q1-base:1.9
	pkgsrc-2019Q4:1.8.0.12
	pkgsrc-2019Q4-base:1.8
	pkgsrc-2019Q3:1.8.0.8
	pkgsrc-2019Q3-base:1.8
	pkgsrc-2019Q2:1.8.0.6
	pkgsrc-2019Q2-base:1.8
	pkgsrc-2019Q1:1.8.0.4
	pkgsrc-2019Q1-base:1.8
	pkgsrc-2018Q4:1.8.0.2
	pkgsrc-2018Q4-base:1.8
	pkgsrc-2018Q3:1.7.0.2
	pkgsrc-2018Q3-base:1.7
	pkgsrc-2018Q2:1.5.0.2
	pkgsrc-2018Q2-base:1.5
	pkgsrc-2018Q1:1.4.0.4
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.4.0.2
	pkgsrc-2017Q4-base:1.4;
locks; strict;
comment	@# @;


1.18
date	2025.05.06.07.25.58;	author adam;	state Exp;
branches;
next	1.17;
commitid	YJRJv14mEIotIOTF;

1.17
date	2025.04.12.21.10.59;	author adam;	state Exp;
branches;
next	1.16;
commitid	hogTAPDx6qJl3OQF;

1.16
date	2024.11.11.07.28.27;	author wiz;	state Exp;
branches;
next	1.15;
commitid	1fBDq3LwS98NncxF;

1.15
date	2024.03.21.08.32.28;	author adam;	state Exp;
branches;
next	1.14;
commitid	IPsNmgIW1Y3ki03F;

1.14
date	2023.10.10.16.01.13;	author adam;	state Exp;
branches;
next	1.13;
commitid	cDMYF8Lv05I816IE;

1.13
date	2022.07.14.13.35.21;	author adam;	state Exp;
branches;
next	1.12;
commitid	GlHUyCKVas5RLRLD;

1.12
date	2022.01.04.20.53.43;	author wiz;	state Exp;
branches;
next	1.11;
commitid	CYyhdK9qtoffkmnD;

1.11
date	2020.10.08.08.28.38;	author adam;	state Exp;
branches;
next	1.10;
commitid	tHUetp0umiZ2M4rC;

1.10
date	2020.05.16.17.38.40;	author adam;	state Exp;
branches;
next	1.9;
commitid	oSs30AomUgyOtu8C;

1.9
date	2020.01.07.08.48.43;	author adam;	state Exp;
branches;
next	1.8;
commitid	G9kCe0M36teYIJRB;

1.8
date	2018.11.19.10.30.28;	author adam;	state Exp;
branches;
next	1.7;
commitid	GIhxcpc7AvjYAx0B;

1.7
date	2018.08.28.06.31.47;	author adam;	state Exp;
branches;
next	1.6;
commitid	H0k3M77llEUrWQPA;

1.6
date	2018.07.24.08.23.20;	author adam;	state Exp;
branches;
next	1.5;
commitid	6KqZOdSf77HqGmLA;

1.5
date	2018.06.24.09.45.13;	author adam;	state Exp;
branches;
next	1.4;
commitid	zcVSzANCv1An6wHA;

1.4
date	2017.11.30.08.18.31;	author adam;	state Exp;
branches;
next	1.3;
commitid	jXbq6dxlVEI1f2hA;

1.3
date	2017.11.26.16.56.06;	author adam;	state Exp;
branches;
next	1.2;
commitid	kKl02KCsRB6OezgA;

1.2
date	2017.11.06.13.35.03;	author wiz;	state Exp;
branches;
next	1.1;
commitid	NJsqMYDUcfpHLYdA;

1.1
date	2017.10.19.06.52.03;	author adam;	state Exp;
branches;
next	;
commitid	45lcIC8icQij7DbA;


desc
@@


1.18
log
@py-test-timeout: updated to 2.4.0

2.4.0
Add python 3.13
@
text
@# $NetBSD: Makefile,v 1.17 2025/04/12 21:10:59 adam Exp $

DISTNAME=	pytest_timeout-2.4.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pytest-timeout/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/pytest-dev/pytest-timeout
COMMENT=	Py.test plugin to abort hanging tests
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
TEST_DEPENDS+=	${PYPKGPREFIX}-pexpect>0:../../devel/py-pexpect

USE_LANGUAGES=	# none

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.17
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/11/11 07:28:27 wiz Exp $
d3 2
a4 3
DISTNAME=	pytest-timeout-2.3.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/py//}
PKGREVISION=	1
d15 1
@


1.16
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/03/21 08:32:28 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
a18 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.15
log
@py-test-timeout: updated to 2.3.1

2.3.1

Fixup some build errors, mostly README syntax which stopped twine from uploading.

2.3.0

Fix debugger detection for recent VSCode, this compiles pydevd using cython which is now correctly detected. Thanks Adrian Gielniewski.
Switched to using Pytest's TerminalReporter instead of writing directly to sys.{stdout,stderr}. This change also switches all output from sys.stderr to sys.stdout. Thanks Pedro Algarvio.
Pytest 7.0.0 is now the minimum supported version. Thanks Pedro Algarvio.
Add --session-timeout option and session_timeout setting. Thanks Brian Okken.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/10/10 16:01:13 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.14
log
@py-test-timeout: updated to 2.2.0

2.2.0
Add --timeout-disable-debugger-detection flag
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2022/07/14 13:35:21 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-2.2.0
d13 3
a15 1
DEPENDS+=	${PYPKGPREFIX}-test>=5.0.0:../../devel/py-test
d21 1
a21 1
.include "../../lang/python/egg.mk"
@


1.13
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/01/04 20:53:43 wiz Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-2.1.0
@


1.12
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2020/10/08 08:28:38 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.4.2
a4 1
PKGREVISION=	1
d13 1
a13 1
PYTHON_VERSIONED_DEPENDENCIES=	test
d17 2
a19 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.11
log
@py-test-timeout: updated to 1.4.2

1.4.2
Fix compatibility when run with pytest pre-releases, thanks Bruno Oliveira,
Fix detection of third-party debuggers, thanks Bruno Oliveira.

1.4.1
Fix coverage compatibility which was broken by 1.4.0.

1.4.0
Better detection of when we are debugging, thanks Mattwmaster58.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2020/05/16 17:38:40 adam Exp $
d5 1
@


1.10
log
@pytest from versioned deps.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2020/01/07 08:48:43 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.3.4
@


1.9
log
@py-test-timeout: updated to 1.3.4

1.3.4
Give the threads a name to help debugging.
Changed location to https://github.com/pytest-dev/pytest-timeout because bitbucket is dropping mercurial support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2018/11/19 10:30:28 adam Exp $
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-test>=3.6.0:../../devel/py-test
d18 1
@


1.8
log
@py-test-timeout: updated to 1.3.3

1.3.3
Fix support for pytest >= 3.10.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2018/08/28 06:31:47 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.3.3
d9 1
a9 1
HOMEPAGE=	https://bitbucket.org/pytest-dev/pytest-timeout/
@


1.7
log
@py-test-timeout: updated to 1.3.2

1.3.2:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2018/07/24 08:23:20 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.3.2
@


1.6
log
@py-test-timeout: updated to 1.3.1

1.3.1:
Fix deprecation warning on Python 3.6.
Create a valid tag for the release. Somehow this didn't happen for 1.3.0, that tag points to a non-existing commit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/06/24 09:45:13 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.3.1
@


1.5
log
@py-test-timeout: updated to 1.3.0

1.3.0:
Make it possible to only run the timeout timer on the test function and not the whole fixture setup + test + teardown duration
Use the new pytest marker API
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2017/11/30 08:18:31 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.3.0
@


1.4
log
@py-test-timeout: updated to 1.2.1

1.2.1
Fix for pytest 3.3
Update supported python versions: - Add CPython 3.6. - Drop CPyhon 2.6 (as did pytest 3.3) - Drop CPyhon 3.3 - Drop CPyhon 3.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/11/26 16:56:06 adam Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.2.1
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test
@


1.3
log
@Removed unused lines
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/11/06 13:35:03 wiz Exp $
d3 1
a3 1
DISTNAME=	pytest-timeout-1.2.0
@


1.2
log
@py-test-timeout: follow redirect
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/10/19 06:52:03 adam Exp $
a16 6
#post-install:
#	cd ${DESTDIR}${PREFIX}/bin && \
#		${MV} py.test py.test-${PYVERSSUFFIX} && \
#		${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/application.mk"
@


1.1
log
@This is a plugin which will terminate tests after a certain timeout. When doing
so it will show a stack dump of all threads running at the time. This is useful
when running tests under a continuous integration server or simply if you don't
know why the test suite hangs.

Note that while by default on POSIX systems py.test will continue to execute
the tests after a test has timed, out this is not always possible. Often the
only sure way to interrupt a hanging test is by terminating the entire process.
As this is a hard termination (os._exit()) it will result in no teardown, JUnit
XML output etc. But the plugin will ensure you will have the debugging output
on stderr nevertheless, which is the most important part at this stage.
@
text
@d1 1
a1 1
# $NetBSD$
d9 1
a9 1
HOMEPAGE=	http://bitbucket.org/pytest-dev/pytest-timeout/
@

