openbsd-ports/devel/py-mox/Makefile

22 lines
417 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2019/07/12 20:45:50 sthen Exp $
COMMENT = Mox is a mock object framework for Python
2013-01-16 03:59:06 -05:00
MODPY_EGG_VERSION = 0.5.3
DISTNAME = mox-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
2017-08-21 15:43:07 -04:00
REVISION = 1
2011-01-14 17:42:52 -05:00
CATEGORIES = devel
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/python
2017-08-21 15:43:07 -04:00
MODPY_PI = Yes
2017-11-10 06:03:39 -05:00
MODPY_ADJ_FILES =mox.py stubout.py
2013-03-11 06:50:00 -04:00
do-test:
cd ${WRKSRC} && ${MODPY_BIN} mox_test.py
.include <bsd.port.mk>