pkgsrc/devel/py-unittest2pytest/Makefile
minskim 90b8a223bd 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.
2018-02-25 00:22:53 +00:00

21 lines
591 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/02/25 00:22:53 minskim Exp $
DISTNAME= unittest2pytest-0.3
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
.include "../../lang/python/egg.mk"
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/unittest2pytest \
${DESTDIR}${PREFIX}/bin/unittest2pytest${PYVERSSUFFIX}
.include "../../mk/bsd.pkg.mk"