All tests pass. 2.8.3 ----- - fix #1169: add __name__ attribute to testcases in TestCaseFunction to support the @unittest.skip decorator on functions and methods. Thanks Lee Kamentsky for the PR. - fix #1035: collecting tests if test module level obj has __getattr__(). Thanks Suor for the report and Bruno Oliveira / Tom Viner for the PR. - fix #331: don't collect tests if their failure cannot be reported correctly e.g. they are a callable instance of a class. - fix #1133: fixed internal error when filtering tracebacks where one entry belongs to a file which is no longer available. Thanks Bruno Oliveira for the PR. - enhancement made to highlight in red the name of the failing tests so they stand out in the output. Thanks Gabriel Reis for the PR. - add more talks to the documentation - extend documentation on the --ignore cli option - use pytest-runner for setuptools integration - minor fixes for interaction with OS X El Capitan system integrity protection (thanks Florian)
29 lines
816 B
Makefile
29 lines
816 B
Makefile
# $NetBSD: Makefile,v 1.13 2015/11/23 00:03:35 wiz Exp $
|
|
|
|
DISTNAME= pytest-2.8.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/pytest
|
|
COMMENT= Python testing tool
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-py>=1.4.29:../../devel/py-py
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
# actually, test dependencies
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
|
|
USE_TOOLS+= bash:build
|
|
|
|
CONFLICTS= ${PYPKGPREFIX}-pytest-[0-9]*
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
REPLACE_PYTHON+= _pytest/standalonetemplate.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|