head 1.13; access; symbols 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.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.13 log @*: use PYTHON_VERSION instead of _PYTHON_VERSION @ text @# $NetBSD: Makefile,v 1.12 2022/08/24 09:25:56 wiz Exp $ DISTNAME= nose2-0.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 2 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 DEPENDS+= ${PYPKGPREFIX}-six>=1.7:../../lang/py-six .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} == 207 DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock .endif PYTHON_VERSIONED_DEPENDENCIES+= coverage USE_LANGUAGES= # none USE_PKG_RESOURCES= yes post-install: ${RM} -f ${DESTDIR}${PREFIX}/bin/nose2 .include "../../lang/python/versioned_dependencies.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.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.`` 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 @