openbsd-ports/devel/py-minimock/Makefile
2022-03-11 18:49:30 +00:00

27 lines
501 B
Makefile

COMMENT= the simplest possible mock library, for Python
MODPY_EGG_VERSION = 1.2.8
DISTNAME= MiniMock-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
REVISION= 7
CATEGORIES= devel
# MIT
PERMIT_PACKAGE= Yes
MODPY_PI = Yes
MODULES= lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_SETUPTOOLS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}minimock/
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/${MODPY_PY_PREFIX}minimock/
.include <bsd.port.mk>