From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 257E2158041 for ; Tue, 20 Feb 2024 06:13:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05A772BC026; Tue, 20 Feb 2024 06:13:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DBD8C2BC026 for ; Tue, 20 Feb 2024 06:13:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F186534318D for ; Tue, 20 Feb 2024 06:13:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E11C14D8 for ; Tue, 20 Feb 2024 06:13:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1708409609.1b7c9370350ad93e9cdda2d898807e36d87b112f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-lazy-fixtures/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-lazy-fixtures/Manifest dev-python/pytest-lazy-fixtures/metadata.xml dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild X-VCS-Directories: dev-python/pytest-lazy-fixtures/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1b7c9370350ad93e9cdda2d898807e36d87b112f X-VCS-Branch: master Date: Tue, 20 Feb 2024 06:13:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14397b23-dd3c-4109-a84e-0f681a8dbab0 X-Archives-Hash: 11d075b912688c9e87eccb5c1e141c40 commit: 1b7c9370350ad93e9cdda2d898807e36d87b112f Author: Michał Górny gentoo org> AuthorDate: Tue Feb 20 06:12:24 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 20 06:13:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7c9370 dev-python/pytest-lazy-fixtures: New package, v1.0.5 New test dependency of dev-python/prettytable, replacement for dev-python/pytest-lazy-fixture, clearly named to maximize confusion. Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-lazy-fixtures/Manifest | 1 + dev-python/pytest-lazy-fixtures/metadata.xml | 12 ++++++++ .../pytest-lazy-fixtures-1.0.5.ebuild | 34 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-python/pytest-lazy-fixtures/Manifest b/dev-python/pytest-lazy-fixtures/Manifest new file mode 100644 index 000000000000..d45565e7a43c --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/Manifest @@ -0,0 +1 @@ +DIST pytest-lazy-fixtures-1.0.5.gh.tar.gz 20107 BLAKE2B 543f1a2c9a134fc238c686286b81367c3d6ad21b0bb4b171e2c00f1b961a7813a6c6b141dd265a360c40da7d6e1fd0d48c5ea8d8fc3804a09a39447c0c1c7970 SHA512 c84bce864c5e482c5115ba4c1c8caec9e97a85af4fc839a9fa3a472306d12e1c4564cf4323545be2c6af52c1dc22c24a3e25eae434696953f9efd5d822663601 diff --git a/dev-python/pytest-lazy-fixtures/metadata.xml b/dev-python/pytest-lazy-fixtures/metadata.xml new file mode 100644 index 000000000000..e66300e8bbd2 --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + dev-petrov/pytest-lazy-fixtures + pytest-lazy-fixtures + + diff --git a/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild new file mode 100644 index 000000000000..25fbd2f286ef --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Allows you to use fixtures in @pytest.mark.parametrize" +HOMEPAGE=" + https://github.com/dev-petrov/pytest-lazy-fixtures/ + https://pypi.org/project/pytest-lazy-fixtures/ +" +SRC_URI=" + https://github.com/dev-petrov/pytest-lazy-fixtures/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}