pkgsrc/devel/py-mock/Makefile
adam cb3cf5e9b6 py-mock: updated to 3.0.5
3.0.5
- Issue 31855: :func:unittest.mock.mock_open results now respects the
  argument of read([size]).
2019-05-20 11:49:10 +00:00

23 lines
598 B
Makefile

# $NetBSD: Makefile,v 1.17 2019/05/20 11:49:10 adam Exp $
DISTNAME= mock-3.0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mock/}
MAINTAINER= gdt@ir.bbn.com
HOMEPAGE= https://github.com/testing-cabal/mock
COMMENT= Python testing framework
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-six>=1.7:../../lang/py-six
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-funcsigs>=1:../../devel/py-funcsigs
.endif
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"