devel/py-mock -> devel/py-mock${MODPY_FLAVOR} in TEST_DEPENDS when there's a
python3 FLAVOR now that we have py3-mock.
This commit is contained in:
parent
2fba7bee66
commit
cbd9e2ce69
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2015/11/13 08:51:08 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2015/12/27 08:26:50 ajacoutot Exp $
|
||||
|
||||
COMMENT = Python interface to MySQL
|
||||
|
||||
@ -27,13 +27,10 @@ FLAVOR?=
|
||||
|
||||
LIB_DEPENDS = databases/mariadb
|
||||
|
||||
TEST_DEPENDS = devel/py-nose,${FLAVOR} \
|
||||
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
|
||||
devel/py-nose${MODPY_FLAVOR} \
|
||||
databases/mariadb
|
||||
|
||||
.if !${FLAVOR:Mpython3}
|
||||
TEST_DEPENDS += devel/py-mock
|
||||
.endif
|
||||
|
||||
# You must setup a default.cnf file config and
|
||||
# a MySQL server
|
||||
TEST_IS_INTERACTIVE = Yes
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2015/12/17 18:38:20 shadchin Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2015/12/27 08:26:50 ajacoutot Exp $
|
||||
|
||||
COMMENT= cross-project testing tool for Python
|
||||
|
||||
@ -27,10 +27,10 @@ FLAVOR?=
|
||||
|
||||
RUN_DEPENDS= devel/py-py${MODPY_FLAVOR}>=1.4.30
|
||||
TEST_DEPENDS= ${RUN_DEPENDS} \
|
||||
devel/py-mock${MODPY_FLAVOR} \
|
||||
devel/py-nose${MODPY_FLAVOR}
|
||||
.if !${FLAVOR:Mpython3}
|
||||
TEST_DEPENDS += devel/py-mock \
|
||||
devel/py-twisted/core
|
||||
TEST_DEPENDS += devel/py-twisted/core
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:Mpython3}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2015/12/21 09:37:57 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2015/12/27 08:26:50 ajacoutot Exp $
|
||||
|
||||
COMMENT= ACME protocol implementation
|
||||
|
||||
@ -25,14 +25,9 @@ SUBST_VARS= MODPY_FLAVOR
|
||||
# weird hangs in network-listening tests.
|
||||
TEST_IS_INTERACTIVE= Yes
|
||||
|
||||
.if ${FLAVOR:Mpython3}
|
||||
# no devel/py-mock for py3 yet
|
||||
NO_TEST= Yes
|
||||
.else
|
||||
TEST_DEPENDS= devel/py-funcsigs${MODPY_FLAVOR} \
|
||||
devel/py-nose${MODPY_FLAVOR} \
|
||||
devel/py-mock${MODPY_FLAVOR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/jws ${PREFIX}/bin/jws${MODPY_BIN_SUFFIX}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2015/09/29 10:52:34 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2015/12/27 08:26:51 ajacoutot Exp $
|
||||
|
||||
COMMENT = Python module providing a password hashing framework
|
||||
|
||||
@ -21,8 +21,8 @@ MODPY_SETUPTOOLS = Yes
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
|
||||
TEST_DEPENDS = devel/py-nose \
|
||||
devel/py-mock
|
||||
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \
|
||||
devel/py-mock${MODPY_FLAVOR}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2015/09/29 10:52:54 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2015/12/27 08:26:51 ajacoutot Exp $
|
||||
|
||||
COMMENT = session and caching library with wsgi middleware
|
||||
|
||||
@ -31,7 +31,7 @@ NO_TEST = Yes
|
||||
# https://pypi.python.org/simple/waitress/ is needed
|
||||
TEST_DEPENDS = databases/py-sqlalchemy \
|
||||
devel/py-coverage${MODPY_FLAVOR} \
|
||||
devel/py-mock \
|
||||
devel/py-mock${MODPY_FLAVOR} \
|
||||
devel/py-nose${MODPY_FLAVOR} \
|
||||
misc/py-memcached${MODPY_FLAVOR} \
|
||||
www/py-webtest \
|
||||
|
Loading…
Reference in New Issue
Block a user