pkgsrc/devel/py-test-xdist/Makefile
adam 228b4f05ab py-test-xdist: updated to 3.1.0
pytest-xdist 3.1.0 (2022-12-01)
===============================

Features
--------
- Users can now set a default distribution mode in their configuration file:

  .. code-block:: ini

      [pytest]
      addopts = --dist loadscope

- Python 3.11 is now officially supported.

Removals
--------
- Python 3.6 is no longer supported.
2022-12-12 10:09:32 +00:00

29 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2022/12/12 10:09:32 adam Exp $
DISTNAME= pytest-xdist-3.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-xdist/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pytest-dev/pytest-xdist
COMMENT= Plugin for distributed testing and loop-on-failing modes
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet
DEPENDS+= ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
# needs to be installed for testing, this setting is not enough
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} testing
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"