dev-python/pytest-harvest: enable py3.12

Closes: https://bugs.gentoo.org/888868
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-01-26 17:19:26 +09:00
parent f9e5166a6d
commit 7c99903a64
2 changed files with 24 additions and 3 deletions

View File

@@ -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

View File

@@ -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]"