2019-07-12 16:45:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2019/07/12 20:45:50 sthen Exp $
|
2010-04-21 02:48:49 -04:00
|
|
|
|
|
|
|
COMMENT = Mox is a mock object framework for Python
|
|
|
|
|
2013-01-16 03:59:06 -05:00
|
|
|
MODPY_EGG_VERSION = 0.5.3
|
2010-04-21 02:48:49 -04:00
|
|
|
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
|
2010-04-21 02:48:49 -04:00
|
|
|
|
|
|
|
# Apache 2.0
|
2019-07-12 16:45:45 -04:00
|
|
|
PERMIT_PACKAGE = Yes
|
2010-04-21 02:48:49 -04:00
|
|
|
|
|
|
|
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
|
2010-04-21 02:48:49 -04:00
|
|
|
|
2013-03-11 06:50:00 -04:00
|
|
|
do-test:
|
2010-04-21 02:48:49 -04:00
|
|
|
cd ${WRKSRC} && ${MODPY_BIN} mox_test.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|