commit: 7c99903a642fe38f70c61e530bba250727eb0c9d Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Fri Jan 26 08:19:26 2024 +0000 Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> CommitDate: Fri Jan 26 10:01:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c99903a
dev-python/pytest-harvest: enable py3.12 Closes: https://bugs.gentoo.org/888868 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> .../files/pytest-harvest-1.10.4-strict-mkdocs.patch | 20 ++++++++++++++++++++ .../pytest-harvest/pytest-harvest-1.10.4.ebuild | 7 ++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest-harvest/files/pytest-harvest-1.10.4-strict-mkdocs.patch b/dev-python/pytest-harvest/files/pytest-harvest-1.10.4-strict-mkdocs.patch new file mode 100644 index 0000000000..eb63fdfa01 --- /dev/null +++ b/dev-python/pytest-harvest/files/pytest-harvest-1.10.4-strict-mkdocs.patch @@ -0,0 +1,20 @@ +https://www.mkdocs.org/about/release-notes/#stricter-directory-validation + +diff --git a/docs/mkdocs.yml b/mkdocs.yml +similarity index 95% +rename from docs/mkdocs.yml +rename to mkdocs.yml +index 7819dac..4a6d73e 100644 +--- a/docs/mkdocs.yml ++++ b/mkdocs.yml +@@ -1,8 +1,8 @@ + site_name: pytest_harvest + # site_description: 'A short description of my project' + repo_url: https://github.com/smarie/python-pytest-harvest +-docs_dir: . +-site_dir: ../site ++docs_dir: ./docs ++site_dir: ./site + nav: + - Home: index.md + - API reference: api_reference.md diff --git a/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild index a8ee9bb9b7..293c2e1d4c 100644 --- a/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild +++ b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild @@ -1,15 +1,14 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 DOCS_BUILDER="mkdocs" DOCS_DEPEND="dev-python/mkdocs-material" -DOCS_DIR="docs" inherit distutils-r1 docs pypi @@ -35,6 +34,8 @@ BDEPEND=" ) " +PATCHES=( "${FILESDIR}/${P}-strict-mkdocs.patch" ) + 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]"