diff --git a/dev-python/pytest-harvest/Manifest b/dev-python/pytest-harvest/Manifest index 3e5f25609b..fd7df211f5 100644 --- a/dev-python/pytest-harvest/Manifest +++ b/dev-python/pytest-harvest/Manifest @@ -1 +1,2 @@ DIST pytest-harvest-1.10.4.tar.gz 77384 BLAKE2B 93acd363b9874ef0a8e776c3472cde27417776850d004e83f00ecd52c7c9acbf1758d0062bd14fb83889c9b688a1f92352e42afe2dd6a9b01c567e8afe9d2f1c SHA512 61e371478b0fe809cb5e39040596a241ef3630641d7465799a5e24a953453924f3f6b5b8b94e67a51f1f5b2cb744bb2a698a7d50b6d638dc866a856bf74abe7a +DIST pytest-harvest-1.10.5.tar.gz 81064 BLAKE2B 3c45a2e0779fed3c8a8e6e8e340b1e5752ffc257d39c5d64a976da680340a954d92206cd0fa33bcd03c2453600ed96924c5d733c7005dc333e927cf82c2ba862 SHA512 292b6daa75cc0e54b0c74feb75fc5b7f1745390865c8868439ac8a89c74fc1589a9794749f501f6af76ad46a3aa8d2e72076b827e6eddbd75ae5fb908fc35cf0 diff --git a/dev-python/pytest-harvest/pytest-harvest-1.10.5.ebuild b/dev-python/pytest-harvest/pytest-harvest-1.10.5.ebuild new file mode 100644 index 0000000000..f0924e5692 --- /dev/null +++ b/dev-python/pytest-harvest/pytest-harvest-1.10.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" + +inherit distutils-r1 docs pypi + +DESCRIPTION="Store and retrieve data created during your pytest tests execution" +HOMEPAGE="https://pypi.org/project/pytest-harvest/ https://github.com/smarie/python-pytest-harvest" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/decopatch[${PYTHON_USEDEP}] + >=dev-python/makefun-1.5[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pytest-cases[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + "pytest_harvest/tests/test_all_raw_with_meta_check.py::test_run_all_tests[test_get_session_results.py]" + "pytest_harvest/tests/test_all_raw_with_meta_check.py::test_run_all_tests[test_get_session_results_indirect_and_noparam.py]" +) + +distutils_enable_tests pytest + +python_compile_all() { + docs_compile +} + +python_test() { + epytest pytest_harvest/tests --doctest-modules +}