summaryrefslogtreecommitdiff
path: root/dev-python/pytest-steps
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-01-26 19:51:10 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-01-26 19:51:10 +0000
commit1d7597f7115205e0dd20171886c38860ceef7a54 (patch)
tree201cd5f4fa8451f37417f55fe5f15b2cd6d14676 /dev-python/pytest-steps
parent7d0f02291c8488a5fba11f2cc88f4d76bb499afe (diff)
downloadbaldeagleos-repo-1d7597f7115205e0dd20171886c38860ceef7a54.tar.gz
baldeagleos-repo-1d7597f7115205e0dd20171886c38860ceef7a54.tar.xz
baldeagleos-repo-1d7597f7115205e0dd20171886c38860ceef7a54.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-steps')
-rw-r--r--dev-python/pytest-steps/files/pytest-steps-1.8.0-strict-mkdocs.patch20
-rw-r--r--dev-python/pytest-steps/pytest-steps-1.8.0.ebuild5
2 files changed, 23 insertions, 2 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 000000000000..b9b833a46a3d
--- /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 feff1535085e..a37a853a7f85 100644
--- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,6 @@ 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