head	1.19;
access;
symbols
	pkgsrc-2026Q1:1.19.0.2
	pkgsrc-2026Q1-base:1.19
	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.17.0.4
	pkgsrc-2025Q1-base:1.17
	pkgsrc-2024Q4:1.17.0.2
	pkgsrc-2024Q4-base:1.17
	pkgsrc-2024Q3:1.16.0.4
	pkgsrc-2024Q3-base:1.16
	pkgsrc-2024Q2:1.16.0.2
	pkgsrc-2024Q2-base:1.16
	pkgsrc-2024Q1:1.13.0.8
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.13.0.6
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.13.0.4
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.13.0.2
	pkgsrc-2023Q2-base:1.13
	pkgsrc-2023Q1:1.12.0.6
	pkgsrc-2023Q1-base:1.12
	pkgsrc-2022Q4:1.12.0.4
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.12.0.2
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.11.0.4
	pkgsrc-2022Q2-base:1.11
	pkgsrc-2022Q1:1.11.0.2
	pkgsrc-2022Q1-base:1.11
	pkgsrc-2021Q4:1.9.0.2
	pkgsrc-2021Q4-base:1.9
	pkgsrc-2021Q3:1.8.0.14
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.8.0.12
	pkgsrc-2021Q2-base:1.8
	pkgsrc-2021Q1:1.8.0.10
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.8
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.6
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.4
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.8.0.2
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.7.0.8
	pkgsrc-2019Q4-base:1.7
	pkgsrc-2019Q3:1.7.0.4
	pkgsrc-2019Q3-base:1.7
	pkgsrc-2019Q2:1.7.0.2
	pkgsrc-2019Q2-base:1.7
	pkgsrc-2019Q1:1.6.0.2
	pkgsrc-2019Q1-base:1.6
	pkgsrc-2018Q4:1.5.0.4
	pkgsrc-2018Q4-base:1.5
	pkgsrc-2018Q3:1.5.0.2
	pkgsrc-2018Q3-base:1.5
	pkgsrc-2018Q2:1.4.0.4
	pkgsrc-2018Q2-base:1.4
	pkgsrc-2018Q1:1.4.0.2
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.3.0.2
	pkgsrc-2017Q4-base:1.3
	pkgsrc-2017Q3:1.1.0.6
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.2
	pkgsrc-2017Q2-base:1.1;
locks; strict;
comment	@# @;


1.19
date	2026.03.13.13.23.11;	author adam;	state Exp;
branches;
next	1.18;
commitid	YY5WpL0h2d1bHOxG;

1.18
date	2025.04.12.12.08.14;	author adam;	state Exp;
branches;
next	1.17;
commitid	MtMyGcLJ6PSa3LQF;

1.17
date	2024.11.11.07.28.17;	author wiz;	state Exp;
branches;
next	1.16;
commitid	1fBDq3LwS98NncxF;

1.16
date	2024.06.12.16.55.26;	author adam;	state Exp;
branches;
next	1.15;
commitid	Oi9PJfi0E7dmpIdF;

1.15
date	2024.05.15.07.57.29;	author adam;	state Exp;
branches;
next	1.14;
commitid	Ih8ix44K2vfIk4aF;

1.14
date	2024.04.30.14.07.48;	author wiz;	state Exp;
branches;
next	1.13;
commitid	yvQDxHDyxqDGRa8F;

1.13
date	2023.03.29.09.34.08;	author wiz;	state Exp;
branches;
next	1.12;
commitid	dE79P0WicMkX80jE;

1.12
date	2022.08.24.09.25.56;	author wiz;	state Exp;
branches;
next	1.11;
commitid	xAufe2tgvglB47RD;

1.11
date	2022.01.05.15.41.06;	author wiz;	state Exp;
branches;
next	1.10;
commitid	FQ77UruBIUsgzsnD;

1.10
date	2022.01.04.20.53.18;	author wiz;	state Exp;
branches;
next	1.9;
commitid	CYyhdK9qtoffkmnD;

1.9
date	2021.11.03.09.50.09;	author adam;	state Exp;
branches;
next	1.8;
commitid	z680SPJVcTULEkfD;

1.8
date	2020.02.02.05.59.01;	author adam;	state Exp;
branches;
next	1.7;
commitid	C4Lv3nCG7cRWW3VB;

1.7
date	2019.05.02.09.38.23;	author adam;	state Exp;
branches;
next	1.6;
commitid	GrdTWg0ox8Le2ClB;

1.6
date	2019.03.22.17.48.49;	author adam;	state Exp;
branches;
next	1.5;
commitid	LgzhyDxmVx584ogB;

1.5
date	2018.08.13.07.28.39;	author adam;	state Exp;
branches;
next	1.4;
commitid	GXM5FOpmuW5TJVNA;

1.4
date	2018.02.22.10.33.31;	author adam;	state Exp;
branches;
next	1.3;
commitid	PTIUw111Csq0iQrA;

1.3
date	2017.12.15.07.53.41;	author adam;	state Exp;
branches;
next	1.2;
commitid	ZeC5T2URErEOCXiA;

1.2
date	2017.11.28.11.41.46;	author adam;	state Exp;
branches;
next	1.1;
commitid	jSFK0P9Rs58TqNgA;

1.1
date	2017.04.25.20.14.26;	author fhajny;	state Exp;
branches;
next	;
commitid	UyYcwaUNybbgfXOz;


desc
@@


1.19
log
@py-nose2: updated to 0.16.0

0.16.0 (2026-03-01)

Added

* Added official support for Python 3.14.

Changed

* ``nose2`` now explicitly uses a multiprocessing context for the ``mp`` plugin,
  which ensures that it is isolated from any multiprocessing settings used by
  applications under test. This ensures that the ``fork`` start method is always
  used on POSIX systems. ``spawn`` is used on Windows. Thanks
  :user:`JimmyDurandWesolowski` and :user:`airtower-luna`!

Deprecated

* The ``coverage`` plugin is now deprecated, and is no longer tested on newer
  Python versions. It will be removed in a future version.

Removed

* Removed support for Python 3.8.
@
text
@# $NetBSD: Makefile,v 1.18 2025/04/12 12:08:14 adam Exp $

DISTNAME=	nose2-0.16.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=n/nose2/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/nose-devs/nose2
COMMENT=	Next generation of nicer testing for Python
LICENSE=	2-clause-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
# coverage_plugin
DEPENDS+=	${PYPKGPREFIX}-coverage>=4.4.1:../../devel/py-coverage

USE_LANGUAGES=	# none

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} nose2 nose2-${PYVERSSUFFIX} || ${TRUE}

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


1.18
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/11/11 07:28:17 wiz Exp $
d3 1
a3 1
DISTNAME=	nose2-0.15.1
a4 1
PKGREVISION=	1
@


1.17
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/06/12 16:55:26 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
a19 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.16
log
@py-nose2: updated to 0.15.1

0.15.1 (2024-05-31)

Fixed

* Fix a bug with config loading which caused custom ini configs not to load if
  they were not named with a ``.cfg`` extension. Thanks :user:`grhwalls` for
  the bug report!


0.15.0 (2024-05-30)

Added

* Official support for ``python3.13`` betas. ``nose2`` now tests itself against
  Python 3.13.

* ``nose2`` now supports loading configuration data from the ``tool.nose2``
  table in ``pyproject.toml``. Thanks to :user:`qequ` for the PR! (:pr:`596`,
  :pr:`606`)

  On python 3.11+, ``tomllib`` is used to parse TOML data. On python 3.10 and
  lower, ``tomli`` must be installed to enable TOML support. Simply
  ``pip install tomli`` as necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/05/15 07:57:29 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
@


1.15
log
@py-nose2: updated to 0.14.2

0.14.2 (2024-05-07)

* For the coverage plugin, add a config option, ``coverage-combine``, which
  defaults to ``False``. When set, this config invokes a ``coverage combine``
  step before reporting results, regardless of whether or not multiprocessing
  was used to run tests. This allows reporting of coverage results via the
  plugin on testsuites which invoke subprocesses. Thanks to :user:`JCHacking`
  for the PR! (:pr:`601`)

0.14.1 (2024-01-28)

* Fix the reporting of skipped tests in verbose mode on newer pythons (3.12.1+),
  in which a skipped test is no longer treated as "started".

  ``nose2`` will not introduce a ``StartTestEvent`` in such cases --
  the fix is narrowly and adjustment to the test reporter.

0.14.0 (2023-10-04)

* Add official support for ``python3.12``
* Remove support for ``python3.6`` and ``python3.7``
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/30 14:07:48 wiz Exp $
d3 1
a3 1
DISTNAME=	nose2-0.14.2
d15 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-six>=1.7:../../lang/py-six
@


1.14
log
@py-nose2: convert to wheel.mk.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:08 wiz Exp $
d3 1
a3 1
DISTNAME=	nose2-0.10.0
a4 1
PKGREVISION=	3
d18 2
a21 2
USE_LANGUAGES=	# none

d23 2
a24 1
	${RM} -f ${DESTDIR}${PREFIX}/bin/nose2
@


1.13
log
@*: use PYTHON_VERSION instead of _PYTHON_VERSION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/08/24 09:25:56 wiz Exp $
d5 1
a5 1
PKGREVISION=	2
d14 3
d19 1
a19 7
.include "../../lang/python/pyversion.mk"

.if ${PYTHON_VERSION} == 207
DEPENDS+=	${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
.endif

PYTHON_VERSIONED_DEPENDENCIES+=	coverage
a22 2
USE_PKG_RESOURCES=	yes

d26 1
a26 2
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
@


1.12
log
@*: use coverage from versioned_dependencies.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:06 wiz Exp $
d15 1
d17 2
a18 1
.if ${_PYTHON_VERSION} == 27
@


1.11
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/01/04 20:53:18 wiz Exp $
a13 1
DEPENDS+=	${PYPKGPREFIX}-coverage>=4.4.1:../../devel/py-coverage
d20 2
d29 1
@


1.10
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.9 2021/11/03 09:50:09 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d23 2
@


1.9
log
@py-nose2: updated to 0.10.0

0.10.0 (2020-01-27)
-------------------

Added
~~~~~

* Support for subtests!

Notes for plugin authors about subtest support:

  * Subtest failures will produce a ``TestOutcomeEvent`` with ``outcome = "subtest"``

  * Subtest events can be failures, but they do not indicate success -- the
    containing test will send a success event if no subtests fail

Changed
~~~~~~~

* Drop support for Python 3.4

* Python 3.8 and 3.9 are now officially supported

* Improve helptext for the multiprocess plugin's ``-N`` option

* When run with reduced verbosity (e.g. with ``-q``), ``nose2`` will no longer
  print an empty line before test reports

Fixed
~~~~~

* The plugin registry will no longer contain duplicate plugins and or base
  ``event.Plugin`` instances

* Fix function test case implementation of ``id``, ``__str__``, and
  ``__repr__``. This removes the injected ``transplant_class.<locals>`` from
  reporting output

* Doctest loading will now skip ``setup.py`` files in the project root

* Class methods decorated (e.g. with ``mock.patch``) are no longer incorrectly
  picked up by the function loader
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2020/02/02 05:59:01 adam Exp $
d5 1
@


1.8
log
@py-nose2: updated to 0.9.2

0.9.2

Added
* Add `--junit-xml-path` to the junit plugin argument list

Fixed
* It is now possible to use the multiprocess and coverage plugins together, as
  long as all of the coverage config is put into the config file
* Minor changes to be compatible with newer pythons (3.8, 3.9)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/05/02 09:38:23 adam Exp $
d3 1
a3 1
DISTNAME=	nose2-0.9.2
@


1.7
log
@py-nose2: updated to 0.9.1

0.9.1

Changed
* the prof plugin now uses `cProfile` instead of `hotshot` for profiling, and
  therefore now supports python versions which do not include `hotshot`
* skipped tests now include the user's reason in junit XML's `message` field

Fixed
* the prettyassert plugin mishandled multi-line function definitions
* Using a plugin's CLI flag when the plugin is already enabled via config no
  longer errors -- it is a no-op instead
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/03/22 17:48:49 adam Exp $
d3 1
a3 1
DISTNAME=	nose2-0.9.1
@


1.6
log
@py-nose2: updated to 0.9.0

0.9.0

Added
* nose2.plugins.prettyassert, enabled with --pretty-assert, which
  pretty-prints AssertionErrors generated by assert statements

Changed
* Update trove classifier to "beta" from "alpha" status
* Cleanup code for EOLed python versions

Removed
* Dropped support for distutils. Installation now requires setuptools

Fixed
* Result reporter respects failure status set by other plugins
* JUnit XML plugin now includes the skip reason in its output
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/08/13 07:28:39 adam Exp $
d3 1
a3 1
DISTNAME=	nose2-0.9.0
@


1.5
log
@py-nose2: updated to 0.8.0

0.8.0:
Fixed
- For junitxml plugin use test module in place of classname if no classname exists
Features
- Add code to enable plugins to documentation
Dropped support for python 3.3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2018/02/22 10:33:31 adam Exp $
d3 1
a3 1
DISTNAME=	nose2-0.8.0
a14 1

d16 1
a16 2

.if "${PYPKGPREFIX}" == "py27"
@


1.4
log
@py-nose2: updated to 0.7.4

0.7.4:
Fixed
* Respect fail_under in converage config
* Avoid infinite recursion when loading setuptools from zipped egg
* Manpage now renders reproducably
* MP doc build now reproducable

Features
*  Setup tools invocation now handles coverage

Notes
* Running nose2 via setuptools will now trigger CreateTestsEvent and CreatedTestSuiteEvent
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/12/15 07:53:41 adam Exp $
d3 1
a3 1
DISTNAME=	nose2-0.7.4
d9 1
a9 1
HOMEPAGE=	https://github.com/nose-devs/nose2/
@


1.3
log
@py-nose2: updated to 0.7.3

0.7.3
* Fixed
  * Tests failing due to .coveragerc not in MANIFEST
Added support for python 3.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/11/28 11:41:46 adam Exp $
d3 1
a3 1
DISTNAME=	nose2-0.7.3
@


1.2
log
@py-nose2: updated to 0.7.2

0.7.2
Fixed * Proper indentation of test with docstring in layers * MP plugin now calls startSubprocess in subprocess
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/04/25 20:14:26 fhajny Exp $
d3 1
a3 1
DISTNAME=	nose2-0.7.2
@


1.1
log
@Import nose2 0.6.5 as devel/py-nose2.

nose2 is the next generation of nicer testing for Python, based on the
plugins branch of unittest2.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	nose2-0.6.5
d5 1
a5 1
CATEGORIES=	devel
d13 9
a23 2
DEPENDS+=	${PYPKGPREFIX}-six>=1.1:../../lang/py-six

@

