head	1.6;
access;
symbols
	pkgsrc-2026Q2:1.6.0.10
	pkgsrc-2026Q2-base:1.6
	pkgsrc-2026Q1:1.6.0.8
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.6.0.6
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.4
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.2
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.5.0.2
	pkgsrc-2025Q1-base:1.5
	pkgsrc-2024Q4:1.4.0.24
	pkgsrc-2024Q4-base:1.4
	pkgsrc-2024Q3:1.4.0.22
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.20
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.18
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.16
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.4.0.14
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.4.0.12
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.4.0.10
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.8
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.6
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.4
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.2
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.2.0.20
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.18
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.16
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.14
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.12
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.10
	pkgsrc-2020Q3-base:1.2
	pkgsrc-2020Q2:1.2.0.8
	pkgsrc-2020Q2-base:1.2
	pkgsrc-2020Q1:1.2.0.4
	pkgsrc-2020Q1-base:1.2
	pkgsrc-2019Q4:1.2.0.6
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.2.0.2
	pkgsrc-2019Q3-base:1.2
	pkgsrc-2019Q2:1.1.0.12
	pkgsrc-2019Q2-base:1.1
	pkgsrc-2019Q1:1.1.0.10
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.8
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.6
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.4
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.2
	pkgsrc-2018Q1-base:1.1;
locks; strict;
comment	@# @;


1.6
date	2025.04.12.21.37.06;	author adam;	state Exp;
branches;
next	1.5;
commitid	IJnVw0oumzhkcOQF;

1.5
date	2024.12.29.09.45.33;	author adam;	state Exp;
branches;
next	1.4;
commitid	YpY1m66I0WEoBnDF;

1.4
date	2022.01.05.15.41.08;	author wiz;	state Exp;
branches;
next	1.3;
commitid	FQ77UruBIUsgzsnD;

1.3
date	2022.01.04.20.53.47;	author wiz;	state Exp;
branches;
next	1.2;
commitid	CYyhdK9qtoffkmnD;

1.2
date	2019.08.21.12.51.18;	author adam;	state Exp;
branches;
next	1.1;
commitid	Lfuah24247gbxTzB;

1.1
date	2018.02.25.00.22.53;	author minskim;	state Exp;
branches;
next	;
commitid	GwOPGvAkwcSCOasA;


desc
@@


1.6
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@# $NetBSD: Makefile,v 1.5 2024/12/29 09:45:33 adam Exp $

DISTNAME=	unittest2pytest-0.5
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=u/unittest2pytest/}

MAINTAINER=	minskim@@NetBSD.org
HOMEPAGE=	https://github.com/pytest-dev/unittest2pytest
COMMENT=	Tool to rewrite Python unittest into pytest test cases
LICENSE=	gnu-gpl-v3

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools

USE_LANGUAGES=	# none

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

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


1.5
log
@py-unittest2pytest: updated to 0.5

0.5
- Convert ``self.fail()`` to ``pytest.fail()``.
- Python >=3.9 is now required.
- Allow non-string keys when translating ``assertDictContainsSubset``
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:08 wiz Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.4
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.3 2022/01/04 20:53:47 wiz Exp $
d3 1
a3 1
DISTNAME=	unittest2pytest-0.4
a4 1
PKGREVISION=	2
d13 2
a16 2
USE_PKG_RESOURCES=	yes

d21 1
a21 1
.include "../../lang/python/egg.mk"
@


1.3
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.2 2019/08/21 12:51:18 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d16 2
@


1.2
log
@py-unittest2pytest: updated to 0.4

0.4:
* Add support for assertDictContainsSubset.
* Put parenthesis around expressions if required.
* Fixed assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex.
  The regex was getting replaced with an undefined variable pattern.
* Fix assertRaisesRegex and assertRaisesRegexp with **kwargs and
  atom parameters.
* Made assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex use
  the match kwarg in pytest.raises instead of creating a variable
  with the context manager and doing an assert on re.search.
* Add a short developer guide.
* Remove testing on Python 3.0, 3.1, 3.2, add 3.6 and 3.7.
* Distribute package as a universal wheel.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/02/25 00:22:53 minskim Exp $
d5 1
@


1.1
log
@devel/py-unittest2pytest: Import version 0.3

unittest2pytest is a tool that helps rewriting Python unittest
test-cases into pytest test-cases. In contrast to other similar tools,
this handles keyword arguments, handles single-line test-cases and
several tests on one line, and uses context-handlers where
appropriate.  This is done by using lib2to3 and Python's mighty
inspect module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/09/15 06:40:44 wiz Exp $
d3 1
a3 1
DISTNAME=	unittest2pytest-0.3
a14 2
.include "../../lang/python/egg.mk"

d16 2
a17 2
	${MV} ${DESTDIR}${PREFIX}/bin/unittest2pytest \
		${DESTDIR}${PREFIX}/bin/unittest2pytest${PYVERSSUFFIX}
d19 1
@

