35 lines
651 B
Makefile
35 lines
651 B
Makefile
# $OpenBSD: Makefile,v 1.16 2020/07/03 21:12:46 sthen Exp $
|
|
|
|
COMMENT= python mocking and patching library for testing
|
|
|
|
MODPY_EGG_VERSION= 3.0.5
|
|
DISTNAME= mock-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
CATEGORIES= devel
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= https://mock.readthedocs.io/en/latest/
|
|
|
|
MAINTAINER= Kurt Mosiejczuk <kmos@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
RUN_DEPENDS= devel/py-six${MODPY_FLAVOR}
|
|
|
|
FLAVORS= python3
|
|
FLAVOR?=
|
|
|
|
MODPY_PI= Yes
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
# Tests are currently missing from tarball
|
|
MODPY_PYTEST= Yes
|
|
|
|
.if !${FLAVOR:Mpython3}
|
|
RUN_DEPENDS += devel/py-funcsigs
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|