pkgsrc/devel/py-test-mock/Makefile
adam 3ff339022c py-test-mock: updated to 3.7.0
3.7.0 (2022-01-28)
------------------
* Python 3.10 now officially supported.
* Dropped support for Python 3.6.
2022-04-26 10:34:44 +00:00

24 lines
717 B
Makefile

# $NetBSD: Makefile,v 1.25 2022/04/26 10:34:44 adam Exp $
DISTNAME= pytest-mock-3.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pytest-dev/pytest-mock
COMMENT= Thin-wrapper around the mock package for easier use with py.test
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-test>=5.0:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"