From nobody Sat Mar 09 14:09:41 2024 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 4TsQ060mLDz5DFLR; Sat, 9 Mar 2024 14:09:42 +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 4TsQ055JlBz4nmV; Sat, 9 Mar 2024 14:09:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709993381; 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=GpoCWpZ7KJ7Y0Yh/+ZZtjb2v2jvj2lpU3KZi6vqjxVU=; b=cedVaozpdJMMaP+XdXoc/sQY5nx/lYlqXxisyrpaOhz9yPJBgn4OX3gKhN4voN56qGQq0t zXG7bdutMFdYavcP7qcYMD8WPfyIjPh8PIIFRBOFZKn1GqY8k0jpj3nOuAPF4SGF1tWVnK CS4nfgKbtRDrtzrnWGzmYN+MAUbfbUAjUwqZU09avgT4MP5O6SPgbnmGBkdR+RD50jrYmj p/nNoD76cY8erHoeJQcuQXVWU1sXZz+ZCUQE8HevS3ycpBIdGbfLBnqOE1dTH6mU/IN4Tf pVFWwfXSP6Nf/izvBOr5IIPvuY3TkMEy7kDkuXG/MgCp7GiT8Dx57tygqppTsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709993381; a=rsa-sha256; cv=none; b=qIcXHodfkx5j1nzuLzGkPnAu1pBD3DMlC+kormy5Z3iUQ3LBIXsbleidsfaDUdAxNE/Qr/ 6ypavFmf4lHCMg/6EHPUkfa5x1i3XGoLvi0CXImcQCejVPgp4WSIBQ5wmCXER0+Y1GU7MC BQMp+zzl++jJ8VbQ40MbWOEKzo9WRKosPyZGGY6D/x32k3kiAmyyDIdY5vsr54KgemlYdQ 0AqYKuo65b/dz54A5Bh6DzkR6yh9FPiazBgwFMLpzK9rvO0yVupqqPxUCcamnZzKmbB/Ov Sf9OIVSabZjDMNJMf9D3fGm9bMBveWxKPTtkdhWVbKz51OwTIUrpapOfBTvVgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709993381; 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=GpoCWpZ7KJ7Y0Yh/+ZZtjb2v2jvj2lpU3KZi6vqjxVU=; b=DMfZqZwenj1TKHCxrBM/4zPqC34cAwKUhP/sJDWDtvTKkAoQD/CT8FSLnGTUPOB3La3mx7 lsi5PbmfVjLTaM+JupQ3MLe6WKLSODN4l3ZsGRjREv4iX/REGE1/cG/2Oy9IvVYcsTA6M9 qmERYQShR82XVi6cwj49nH1bilRYK9wisrXwfadvGFZJvTk+CO3TXricaY/mFwg7um3G4P 14wdt6zZgpyiEtecUNOvZWR+SlbChoijmvJL8JV3oKM07ynul3rWyFWNs/roEY3cmkpjQA 50cVpnX07DhwKu+eMyB547NMw/qut7Ir8KauWTuVmq6Eil+OkqbTsBV+Zmchhw== 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 4TsQ054vjkz14cJ; Sat, 9 Mar 2024 14:09:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 429E9fbF093026; Sat, 9 Mar 2024 14:09:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 429E9fIG093023; Sat, 9 Mar 2024 14:09:41 GMT (envelope-from git) Date: Sat, 9 Mar 2024 14:09:41 GMT Message-Id: <202403091409.429E9fIG093023@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: 69a9af63e54a - main - devel/py-pytest-lazy-fixtures: Add py-pytest-lazy-fixtures 1.0.5 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 69a9af63e54a9cd1eaae3c91431d65adc5daad1c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=69a9af63e54a9cd1eaae3c91431d65adc5daad1c commit 69a9af63e54a9cd1eaae3c91431d65adc5daad1c Author: Po-Chuan Hsieh AuthorDate: 2024-03-09 13:44:15 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-09 14:05:15 +0000 devel/py-pytest-lazy-fixtures: Add py-pytest-lazy-fixtures 1.0.5 pytest-lazy-fixtures allows you to use fixtures in @pytest.mark.parametrize. This project was inspired by pytest-lazy-fixture. Improvements that have been made in this project: - You can use fixtures in any data structures - You can access the attributes of fixtures - You can use functions in fixtures --- devel/Makefile | 1 + devel/py-pytest-lazy-fixtures/Makefile | 23 +++++++++++++++++++++++ devel/py-pytest-lazy-fixtures/distinfo | 3 +++ devel/py-pytest-lazy-fixtures/pkg-descr | 7 +++++++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 19ddb19870cc..6d4f019b8b10 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5431,6 +5431,7 @@ SUBDIR += py-pytest-isort SUBDIR += py-pytest-jupyter SUBDIR += py-pytest-lazy-fixture + SUBDIR += py-pytest-lazy-fixtures SUBDIR += py-pytest-localserver SUBDIR += py-pytest-markdown SUBDIR += py-pytest-metadata diff --git a/devel/py-pytest-lazy-fixtures/Makefile b/devel/py-pytest-lazy-fixtures/Makefile new file mode 100644 index 000000000000..56065cf38d8f --- /dev/null +++ b/devel/py-pytest-lazy-fixtures/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pytest-lazy-fixtures +PORTVERSION= 1.0.5 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_lazy_fixtures-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Allow you to use fixtures in @pytest.mark.parametrize +WWW= https://github.com/dev-petrov/pytest-lazy-fixtures + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest-lazy-fixtures/distinfo b/devel/py-pytest-lazy-fixtures/distinfo new file mode 100644 index 000000000000..9c3b81e01cfa --- /dev/null +++ b/devel/py-pytest-lazy-fixtures/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1709390334 +SHA256 (pytest_lazy_fixtures-1.0.5.tar.gz) = 066b253a94c249e6d9cdfad465e2503d2219139fb468d8f687243dfde39ab9cb +SIZE (pytest_lazy_fixtures-1.0.5.tar.gz) = 4989 diff --git a/devel/py-pytest-lazy-fixtures/pkg-descr b/devel/py-pytest-lazy-fixtures/pkg-descr new file mode 100644 index 000000000000..397065072069 --- /dev/null +++ b/devel/py-pytest-lazy-fixtures/pkg-descr @@ -0,0 +1,7 @@ +pytest-lazy-fixtures allows you to use fixtures in @pytest.mark.parametrize. + +This project was inspired by pytest-lazy-fixture. Improvements that have been +made in this project: +- You can use fixtures in any data structures +- You can access the attributes of fixtures +- You can use functions in fixtures