From nobody Sun Sep 07 23:13:02 2025 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 4cKm8b3bxpz66w86; Sun, 07 Sep 2025 23:13:03 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cKm8Z6rLVz3h31; Sun, 07 Sep 2025 23:13:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757286783; 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=ktqwu8xuD/s28kuqr3IHTTBPybjf78JXJWANV2IFUh4=; b=jnLaRUbgiEdCyI33org6eftk5IE8HintQ7k+NzACDA8wjrqHaACnSUn03F0jSJvxiYdoqD U1iCMtb8z0gjtJ/5MX7EeigFoTtvJJ4AkYkZZHmOvBGSxTB/b4iygcZHE2onWn7TbkUAHR 8wINjfaAO8mS2FmgYF00yMdJeo8BX8pG1fMxq7Ya+4gyKiDPt7WWembCIxwzOfz6RiplFC Xq7J9CEiPb1eFokWXwOfYZ9P+DM72I47Ao4F9UK/uxkF9IjII6qBFwEHNPgPu4Q+R9r605 VOKNJINrFAcURDEIK4ZB3MLS0Q+7O/wge2/Bu8h/QY6PtBXyX20lW/beMkd21A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757286783; 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=ktqwu8xuD/s28kuqr3IHTTBPybjf78JXJWANV2IFUh4=; b=jts/BLYmU0kTcIoppunD6IrzoFGrOYfa07/4xXXvnG31AE1r4ndo+4M1G8iO3lsCzgC/iQ CnVoXSH/SijRGY/Mw8CjdxUY7tVliO+2c+ShrLeOhpyH31FnHS/TWKC2mjYTdUSg56nt/O R0lALRfIRanJSw/Ddm9AL/73Q/DqqQ/yzLxgGVEboAcnp2uPyBdyXRIG19fmNmyOsfg0x/ SiTD9OJzqGcEvMWZn7NMwiyoAnneo5N9nEIC3g0/h6b+OiTzxgZKesrx+5TWSAZ3OR/SmL MaszMpqJJ2MEpI1pVgfYu6pJIY+n3aEMjtWM0Npu6QZMvO74HbShrnZ9K6zscw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757286783; a=rsa-sha256; cv=none; b=O8eX31irPgu3xRDhI1oRPxulqJ/wpxgR2bAQJdI4Vn0dgXFYsjh1Bod60tU2HMijsR/LQx KIGJgCnQ84Hlzhy5c4LiQUEj5odU58f54/Pk1qqj2MYx60zSiJZBq6TXizks0ldY5juV6d Obmd0dvFvntnrmAUUrasWqNzkyiSsBETw/6uXjLuCO68Gak2PkgWdWrDY6dJy8GS5le0HA WloI+AxWLugBOVN86QP0273mkOZLBFOZyJEhUz7yzP6um/J9GQeuAY3/nWhabmp0pl03mw QIxmiVVMZa88KWTTkysuineSZd9AdOh2AqTP3//wkBEOBI34nhoG6ESRXR1GyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cKm8Z5s1NzhRj; Sun, 07 Sep 2025 23:13:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 587ND2Iv028799; Sun, 7 Sep 2025 23:13:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 587ND2ba028796; Sun, 7 Sep 2025 23:13:02 GMT (envelope-from git) Date: Sun, 7 Sep 2025 23:13:02 GMT Message-Id: <202509072313.587ND2ba028796@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: b26fa2027ed2 - main - devel/py-pytest-asyncio: Update version requirement of *_DEPENDS 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b26fa2027ed26f41aa5db2a8dd3f4f6129410457 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b26fa2027ed26f41aa5db2a8dd3f4f6129410457 commit b26fa2027ed26f41aa5db2a8dd3f4f6129410457 Author: Po-Chuan Hsieh AuthorDate: 2025-09-07 22:36:47 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-09-07 23:03:54 +0000 devel/py-pytest-asyncio: Update version requirement of *_DEPENDS - Update COMMENT - Update pkg-descr - Take maintainership --- devel/py-pytest-asyncio/Makefile | 14 +++++++------- devel/py-pytest-asyncio/pkg-descr | 8 +++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile index 9f02c32b083c..1157eaaea0af 100644 --- a/devel/py-pytest-asyncio/Makefile +++ b/devel/py-pytest-asyncio/Makefile @@ -5,23 +5,23 @@ MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pytest_asyncio-${DISTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Py.test plugin providing fixtures and markers for asyncio +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pytest support for asyncio WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \ https://github.com/pytest-dev/pytest-asyncio LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.0:devel/py-pytest@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.2,1<9,1:devel/py-pytest@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=6.2:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR} USES= python -USE_PYTHON= pep517 autoplist pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes diff --git a/devel/py-pytest-asyncio/pkg-descr b/devel/py-pytest-asyncio/pkg-descr index 6d11ecea8ff4..73eb827208d7 100644 --- a/devel/py-pytest-asyncio/pkg-descr +++ b/devel/py-pytest-asyncio/pkg-descr @@ -1,3 +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. +pytest-asyncio is a pytest plugin. It facilitates testing of code that uses the +asyncio library. + +Specifically, pytest-asyncio provides support for coroutines as test functions. +This allows users to await code inside their tests.