f9aadde3b9
Pytest 3.2.3 Bug Fixes * Fix crash in tab completion when no prefix is given. * The equality checking function (__eq__) of MarkDecorator returns False if one object is not an instance of MarkDecorator. * When running pytest --fixtures-per-test: don’t crash if an item has no _fixtureinfo attribute (e.g. doctests) Improved Documentation * In help text of -k option, add example of using not to not select certain tests whose names match the provided expression. * Add note in parametrize.rst about calling metafunc.parametrize multiple times. Trivial/Internal Changes * Set xfail_strict=True in pytest’s own test suite to catch expected failures as soon as they start to pass. * Fix typo in example of passing a callable to markers (in example/markers.rst)
32 lines
1,007 B
Makefile
32 lines
1,007 B
Makefile
# $NetBSD: Makefile,v 1.37 2017/10/05 06:54:09 adam Exp $
|
|
|
|
DISTNAME= pytest-3.2.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pytest.org/
|
|
COMMENT= Python testing tool
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-py>=1.4.29:../../devel/py-py
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
# TEST_DEPENDS
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
|
|
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= bash:build
|
|
|
|
REPLACE_PYTHON+= _pytest/standalonetemplate.py
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} py.test py.test-${PYVERSSUFFIX} && \
|
|
${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|