diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-06-04 00:57:15 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-06-04 00:57:15 +0800 |
commit | 71dffd4afe916d8a0693555424f3bd17249af840 (patch) | |
tree | a6c1aa980361fce13e7f9816f4045967b4036433 /databases/py-python-binary-memcached/Makefile | |
parent | databases/py-pgcli: Convert to USE_PYTHON=pytest (diff) |
databases/py-python-binary-memcached: Convert to USE_PYTHON=pytest
Diffstat (limited to '')
-rw-r--r-- | databases/py-python-binary-memcached/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/py-python-binary-memcached/Makefile b/databases/py-python-binary-memcached/Makefile index 91ec8d17cc9e..f07b72d779d4 100644 --- a/databases/py-python-binary-memcached/Makefile +++ b/databases/py-python-binary-memcached/Makefile @@ -13,15 +13,13 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uhashring>=0:security/py-uhashring@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \ +TEST_DEPENDS= memcached:databases/memcached \ ${PYTHON_PKGNAMEPREFIX}trustme>=0:security/py-trustme@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes - -do-test: - cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} -m pytest +TEST_ENV= MEMCACHED_HOST=localhost .include <bsd.port.mk> |