From nobody Fri Mar 18 17:12:26 2022 X-Original-To: dev-commits-ports-main@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 4AE301A225EC; Fri, 18 Mar 2022 17:12:27 +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 4KKrDB6wmSz4j6h; Fri, 18 Mar 2022 17:12:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647623547; 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=lXdUWYgRzTYIcee0881wmjgu5c8lmZZY1NgLFPtXE0g=; b=u6G5x1ba6KbXigkvHknjAuiqDpvisAmjzFznNYXMLRHppVssTLbhVBIfUay4AlWaYsJjb2 hw5Y8HkxObeW9ZaHwh3T5zpcFQZayOgDon8on2MNpBLEEFOVYk5KYR6nkFjw+UoZGQ8U4v Li9Go9rkATAebsM5yNBinuaMdlJCR+b3PAfMrwOmYoaUyQUbwuBgasxQ+GeranbmpGnBWv ZplknZpMxazMJcC87MHMpsbqbhvkwSqHSg3RuUxGns8PJd4pVv5k/nNTNDG/+Jf96l4uPl ia+oWzaf23+djTuPXabKlj+rkmnRKW7PJlld65xHDQ8ru3JtK/XCMlLo5OyQ6w== 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 B101722F2E; Fri, 18 Mar 2022 17:12:26 +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 22IHCQ4a014350; Fri, 18 Mar 2022 17:12:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22IHCQHx014349; Fri, 18 Mar 2022 17:12:26 GMT (envelope-from git) Date: Fri, 18 Mar 2022 17:12:26 GMT Message-Id: <202203181712.22IHCQHx014349@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: dc826ba1280f - main - devel/py-pytest4-{asyncio,cov}: preserve pytest4 counterparts of corresponding ports List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: dc826ba1280fc889e95b8c12fc1aba6279c3d67d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647623547; 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=lXdUWYgRzTYIcee0881wmjgu5c8lmZZY1NgLFPtXE0g=; b=L3/pMv943LglsVFvZRPvAo1cFn1F+7hTk9tZvcaSLq9DYuyDAD+m+nBUjnUHeYb1FJap0P XXkdgnL9zo+GKOxJ3L3Y7dosW2Kwt8Q8dFPmEAD328mhmUooEiI6YWxMh6TJ9BCCQE/r1w raVJcpt57tiYJXfw7W7Z/ozDzlMnFUCNwhulXjQacqzHX0vDhHZOOMXgGC63oSOKd63RGj p/08WfZkeV4+mD0S4+D8oLVRGT3L5X9z/sONftWkMZjzDxvNyP7aZmpJp8UnTvuS24II3L yuYV/f+auXRzjNWcaM196zoDoJpzPa2EV50Bnb7aSHKS7jEmIvUMWbKDyoc7Cw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647623547; a=rsa-sha256; cv=none; b=gsOJXJbZNo02Dmg/7OYr82b7X5I6btjxxmAURwFQtcPOavBfC8Ny+hnWTF/hlq2Tanv9N7 0i+u9OFFOEr3xGdI9VmG6AGA+Y+In3uH6eQh7ev+i+1A8Q8UQS91Z5zXPjdoV4+EjIe0ay LjhLGXFhISHkL9h/pfolRWJp0Vr6jEmgpUOdxT2N5VM6/Q/D3jvTWGQFiFPYuSq6duPmJ3 usdAQ7Kgvm58drmAfnHfHTxi5WnU5ioDI+ln6Cr4as8mCBgtrTPAWwoRLqhIzO/UuRD3se 15EQw/T0yIdB7LJIpTKI4NNh6gtIJbG8KNd5dsZzp+8h9yhBo6em1xUBvXgIGQ== 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=dc826ba1280fc889e95b8c12fc1aba6279c3d67d commit dc826ba1280fc889e95b8c12fc1aba6279c3d67d Author: Dmitry Marakasov AuthorDate: 2022-03-18 16:37:40 +0000 Commit: Dmitry Marakasov CommitDate: 2022-03-18 17:11:37 +0000 devel/py-pytest4-{asyncio,cov}: preserve pytest4 counterparts of corresponding ports PR: 256624 --- devel/Makefile | 2 ++ devel/py-pytest-asyncio/Makefile | 2 ++ devel/py-pytest-cov/Makefile | 2 ++ devel/py-pytest4-asyncio/Makefile | 22 ++++++++++++++++++++++ devel/py-pytest4-asyncio/distinfo | 3 +++ devel/py-pytest4-asyncio/pkg-descr | 5 +++++ devel/py-pytest4-cov/Makefile | 25 +++++++++++++++++++++++++ devel/py-pytest4-cov/distinfo | 3 +++ devel/py-pytest4-cov/pkg-descr | 8 ++++++++ 9 files changed, 72 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index f05e073de828..cf444dda81cd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5116,6 +5116,8 @@ SUBDIR += py-pytest-xdist SUBDIR += py-pytest-xprocess SUBDIR += py-pytest4 + SUBDIR += py-pytest4-asyncio + SUBDIR += py-pytest4-cov SUBDIR += py-python-Levenshtein SUBDIR += py-python-application SUBDIR += py-python-bugzilla diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile index e71f43e80737..dd1bac84768e 100644 --- a/devel/py-pytest-asyncio/Makefile +++ b/devel/py-pytest-asyncio/Makefile @@ -9,6 +9,8 @@ COMMENT= Py.test plugin providing fixtures and markers for asyncio LICENSE= APACHE20 +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-asyncio + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.6:devel/py-pytest@${PY_FLAVOR} NO_ARCH= yes diff --git a/devel/py-pytest-cov/Makefile b/devel/py-pytest-cov/Makefile index c64605039407..7bebf037c4e5 100644 --- a/devel/py-pytest-cov/Makefile +++ b/devel/py-pytest-cov/Makefile @@ -10,6 +10,8 @@ COMMENT= Pytest plugin for measuring coverage LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-cov + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=3.6:devel/py-pytest@${PY_FLAVOR} diff --git a/devel/py-pytest4-asyncio/Makefile b/devel/py-pytest4-asyncio/Makefile new file mode 100644 index 000000000000..7f9f9b08e0b2 --- /dev/null +++ b/devel/py-pytest4-asyncio/Makefile @@ -0,0 +1,22 @@ +PORTNAME= pytest4-asyncio +PORTVERSION= 0.10.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Py.test plugin providing fixtures and markers for asyncio (legacy version for pytest 4) + +LICENSE= APACHE20 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=3.0.6:devel/py-pytest4@${PY_FLAVOR} + +NO_ARCH= yes +USES= python:3.5+ +USE_PYTHON= autoplist distutils +PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//} + +.include diff --git a/devel/py-pytest4-asyncio/distinfo b/devel/py-pytest4-asyncio/distinfo new file mode 100644 index 000000000000..1378944ef27e --- /dev/null +++ b/devel/py-pytest4-asyncio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1546907123 +SHA256 (pytest-asyncio-0.10.0.tar.gz) = 9fac5100fd716cbecf6ef89233e8590a4ad61d729d1732e0a96b84182df1daaf +SIZE (pytest-asyncio-0.10.0.tar.gz) = 11765 diff --git a/devel/py-pytest4-asyncio/pkg-descr b/devel/py-pytest4-asyncio/pkg-descr new file mode 100644 index 000000000000..19fb8a5dc42a --- /dev/null +++ b/devel/py-pytest4-asyncio/pkg-descr @@ -0,0 +1,5 @@ +asyncio code is usually written in the form of coroutines, which makes it +slightly more difficult to test using normal testing tools. pytest-asyncio +provides useful fixtures and markers to make testing easier. + +WWW: https://pypi.org/project/pytest-asyncio/ diff --git a/devel/py-pytest4-cov/Makefile b/devel/py-pytest4-cov/Makefile new file mode 100644 index 000000000000..0091afe40e7c --- /dev/null +++ b/devel/py-pytest4-cov/Makefile @@ -0,0 +1,25 @@ +PORTNAME= pytest4-cov +PORTVERSION= 2.9.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION} + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= Pytest plugin for measuring coverage (legacy version for pytest 4) + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-cov + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest4>=3.6:devel/py-pytest4@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils +PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//} + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest4-cov/distinfo b/devel/py-pytest4-cov/distinfo new file mode 100644 index 000000000000..dfe93af0583b --- /dev/null +++ b/devel/py-pytest4-cov/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1590933452 +SHA256 (pytest-cov-2.9.0.tar.gz) = b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322 +SIZE (pytest-cov-2.9.0.tar.gz) = 54269 diff --git a/devel/py-pytest4-cov/pkg-descr b/devel/py-pytest4-cov/pkg-descr new file mode 100644 index 000000000000..5aac44f44c20 --- /dev/null +++ b/devel/py-pytest4-cov/pkg-descr @@ -0,0 +1,8 @@ +This plugin produces coverage reports. It supports centralised testing and +distributed testing in both load and each modes. It also supports coverage of +subprocesses. + +All features offered by the coverage package should be available, either through +pytest-cov or through coverage's config file. + +WWW: https://github.com/pytest-dev/pytest-cov