From nobody Thu Apr 21 10:59:20 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C288911CC5ED; Thu, 21 Apr 2022 10:59:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KkZL04c1pz3PY7; Thu, 21 Apr 2022 10:59:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650538760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r2u/7sZZ7Vh+Hecvv7ZXqKd7rXRA3JUodxxGZS6oQ3Y=; b=TlhGkWjyTyxJ0mbGsemG7hI6n1TxxNaf4lic5A+V58ET+mvT1osR7OL1bk/o4l+3E3dCfr 8JurHwltVDoaOA5DDy7F1MAVCWM/F0VLSr5nYXSSjOhRgztJ5ZDVEch4gH25+sJYDai1nx Lk0vWe6BiptKLTAb8k4atZl1G+10CIsOrc2g+2dZFXHAt38umsw86GLy1CGOxvPmdoD0yx /hDAGjRqYiVh/qUYUnDSqeFQWtEp9azQWxQ6JgyJ/+ue56SQJpLi5/E9c7iuwEj3tEPYlr DAvN/D0h6iHXxoKrkKQP0FGYX9VKpBxYRXSAzzRqe9UKH+cOv2EGmId31rFikQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6AB5626CE0; Thu, 21 Apr 2022 10:59:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23LAxKh1070636; Thu, 21 Apr 2022 10:59:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23LAxKjA070635; Thu, 21 Apr 2022 10:59:20 GMT (envelope-from git) Date: Thu, 21 Apr 2022 10:59:20 GMT Message-Id: <202204211059.23LAxKjA070635@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 930867e807d0 - main - databases/py-fakeredis: fix tests List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 930867e807d0e7c292363a10662eaa03728ac2d1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650538760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r2u/7sZZ7Vh+Hecvv7ZXqKd7rXRA3JUodxxGZS6oQ3Y=; b=lOzraN0xYaH4BocHo9L0Nc8SFdJQpoYJK24W3h8DvVkZya+SCxmoqhILwWBI/sCDxqdrYv PzzELNX6zvluqjmX3ecybACNoBKKBI4gr8ScXCPLJb2MYjnsVN7C6Okrp3r4kFlP42BTji HKc/WlDzO80GOxR9yG25V70A1QfKKn4Gf8yMXnbr+Xojw9XaPTsf61E+tS5K/j44QyEwnv PeSS8iGHkFzo7SMeC05npUEFpqZ102d0V/qTsNv1GjEVfalrTVaXMpFmdkUQnHvwOHSJ36 rxc/DicNZbBQiRn4IQ/WDCA+qNALuu0syemKV4uJuXYjgsequBDbV+4V+DyyxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650538760; a=rsa-sha256; cv=none; b=hFQlRIr65j58oD6DXikkrTT7IC/DuOxzV45//kCly7lSAuy4ZLAAY9IbLtEIiSZ53X+gQm RtpIcbEgwctto2uNSBHDIY1/AvCVM2JV4UhHa1DiXpZ1mu/VHRzD5FHKbevG/Y5uYTkWKL yXPAhwJdbdG1LnxihVDE2hIksE9JerXjHfeIT0dxvYqmKnafTZmkZP3+MuNhB5++HHTmAh /JEDyK8H3XHZKRxWpkgCusvMmpnhsaoI69LAaa+6KfZlR8n5QQw6NzE6aNh/Z9upwrMkz3 gYOn5HJRb5dZacHLo02gD0etJVR5n8OVKmSCpe7yRK/WGm5ukY3qib99jj3n4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=930867e807d0e7c292363a10662eaa03728ac2d1 commit 930867e807d0e7c292363a10662eaa03728ac2d1 Author: Dmitry Marakasov AuthorDate: 2022-04-20 15:20:04 +0000 Commit: Dmitry Marakasov CommitDate: 2022-04-21 10:58:40 +0000 databases/py-fakeredis: fix tests - Switch to recent pytest - Switch to USES=pytest - Add missing depends - Fix incorrect way of running tests Approved by: portmgr blanket --- databases/py-fakeredis/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/databases/py-fakeredis/Makefile b/databases/py-fakeredis/Makefile index 172f747272c0..58116f134233 100644 --- a/databases/py-fakeredis/Makefile +++ b/databases/py-fakeredis/Makefile @@ -14,10 +14,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}redis>=0<4.2.0:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=0:devel/py-sortedcontainers@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4<5.0,1:devel/py-pytest4@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest4-cov<3.0:devel/py-pytest4-cov@${PY_FLAVOR} - -USES= python:3.6+ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov<3.0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}aioredis>=0:databases/py-aioredis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lupa>=0:lang/py-lupa@${PY_FLAVOR} + +USES= python:3.6+ pytest USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes @@ -29,7 +33,4 @@ LUA_DESC= Lua support AIOREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioredis>=0:databases/py-aioredis@${PY_FLAVOR} LUA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lupa>=0:lang/py-lupa@${PY_FLAVOR} -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} test_fakeredis.py - .include