8f68cbc754
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.
20 lines
580 B
Makefile
20 lines
580 B
Makefile
# $NetBSD: Makefile,v 1.2 2019/08/21 12:51:18 adam Exp $
|
|
|
|
DISTNAME= unittest2pytest-0.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
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
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} unittest2pytest unittest2pytest-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|