openbsd-ports/devel/py-minimock/Makefile
sthen f7d5bed302 import ports/devel/py-minimock, ok jasper@
MiniMock is a simple library for doing Mock objects with doctest. When
using doctest, mock objects can be very simple.
2010-10-12 14:52:42 +00:00

30 lines
656 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/10/12 14:52:42 sthen Exp $
COMMENT= the simplest possible mock library, for Python
MODPY_EGG_VERSION= 1.2.5
DISTNAME= MiniMock-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
CATEGORIES= devel
HOMEPAGE= http://pypi.python.org/pypi/python-daemon/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PYPI:=M/MiniMock/}
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-minimock/
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/py-minimock/
.include <bsd.port.mk>