py-setuptools. Also change the lang/python module to use the new devel/py2-setuptools for python2 ports ok sthen@
34 lines
711 B
Makefile
34 lines
711 B
Makefile
# $OpenBSD: Makefile,v 1.3 2021/05/21 19:50:27 kmos Exp $
|
|
|
|
COMMENT = Mox is a mock object framework for Python
|
|
|
|
MODPY_EGG_VERSION = 1.1.0
|
|
DISTNAME = mox3-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
CATEGORIES = devel
|
|
REVISION = 1
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
BUILD_DEPENDS = devel/py-pbr${MODPY_FLAVOR}
|
|
RUN_DEPENDS = devel/py-fixtures${MODPY_FLAVOR} \
|
|
devel/py-pbr${MODPY_FLAVOR}
|
|
|
|
# some tests run, some problems
|
|
TEST_DEPENDS = devel/py-fixtures${MODPY_FLAVOR} \
|
|
devel/py-testtools${MODPY_FLAVOR} \
|
|
devel/py-nose${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
do-test:
|
|
cd ${WRKSRC}; nosetests${MODPY_BIN_SUFFIX}
|
|
|
|
.include <bsd.port.mk>
|