commit:     103720861095bf2f73729b3fa29e4a8b8ee3de14
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 26 08:20:07 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Jan 26 10:01:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10372086

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

Closes: https://bugs.gentoo.org/888869
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .../files/pytest-steps-1.8.0-strict-mkdocs.patch     | 20 ++++++++++++++++++++
 dev-python/pytest-steps/pytest-steps-1.8.0.ebuild    |  7 ++++---
 2 files changed, 24 insertions(+), 3 deletions(-)

diff --git 
a/dev-python/pytest-steps/files/pytest-steps-1.8.0-strict-mkdocs.patch 
b/dev-python/pytest-steps/files/pytest-steps-1.8.0-strict-mkdocs.patch
new file mode 100644
index 0000000000..b9b833a46a
--- /dev/null
+++ b/dev-python/pytest-steps/files/pytest-steps-1.8.0-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 8359d3f..b4c34c4 100644
+--- a/docs/mkdocs.yml
++++ b/mkdocs.yml
+@@ -1,8 +1,8 @@
+ site_name: pytest_steps
+ # site_description: 'A short description of my project'
+ repo_url: https://github.com/smarie/python-pytest-steps
+-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-steps/pytest-steps-1.8.0.ebuild 
b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
index 8d813d0651..57301eca54 100644
--- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -1,15 +1,14 @@
-# Copyright 2022-2023 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=(
        # tests fail with recent Pandas
        pytest_steps/tests/test_docs_example_with_harvest.py::test_synthesis_df

Reply via email to