Date: Fri, 3 Jun 2022 17:01:31 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 71dffd4afe91 - main - databases/py-python-binary-memcached: Convert to USE_PYTHON=pytest Message-ID: <202206031701.253H1VBT049731@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=71dffd4afe916d8a0693555424f3bd17249af840 commit 71dffd4afe916d8a0693555424f3bd17249af840 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 16:57:15 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 16:57:15 +0000 databases/py-python-binary-memcached: Convert to USE_PYTHON=pytest --- databases/py-python-binary-memcached/Makefile | 8 +++----- 1 file 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206031701.253H1VBT049731>