diff options
Diffstat (limited to 'dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild')
-rw-r--r-- | dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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..dcfd7e162c09 --- /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 ~arm ~arm64 ~ppc64" + +RDEPEND=" + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |