diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/pytest-steps | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/pytest-steps')
| -rw-r--r-- | dev-python/pytest-steps/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-steps/files/pytest-steps-1.8.0-strict-mkdocs.patch | 20 | ||||
| -rw-r--r-- | dev-python/pytest-steps/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/pytest-steps/pytest-steps-1.8.0-r1.ebuild | 54 |
4 files changed, 89 insertions, 0 deletions
diff --git a/dev-python/pytest-steps/Manifest b/dev-python/pytest-steps/Manifest new file mode 100644 index 000000000000..371f81725e61 --- /dev/null +++ b/dev-python/pytest-steps/Manifest @@ -0,0 +1 @@ +DIST pytest-steps-1.8.0.tar.gz 77136 BLAKE2B 7066cb7b586db6cc12fdc0f0da61c3207c32b9eef4dd667694d4db81fde849632dadf679bf44769cb307fcf5ab54b0878a9ad571c958f53dcb1ce6217c9a1651 SHA512 a8e159ba322c7d85dad1cc063781d79fec5a3ae3b135f341db2a254034fdbd004495bac6e5252f192771d3b34638a1abf24492594a612754d50be2d4a21e236e 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/metadata.xml b/dev-python/pytest-steps/metadata.xml new file mode 100644 index 000000000000..82c00a6efbe1 --- /dev/null +++ b/dev-python/pytest-steps/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="pypi">pytest-steps</remote-id> + <remote-id type="github">smarie/python-pytest-steps</remote-id> + <doc>https://smarie.github.io/python-pytest-steps/</doc> + <maintainer> + <email>sylvain.marie@schneider-electric.com</email> + <name>Sylvain Marie</name> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0-r1.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0-r1.ebuild new file mode 100644 index 000000000000..99204bd60904 --- /dev/null +++ b/dev-python/pytest-steps/pytest-steps-1.8.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Create step-wise / incremental tests in pytest" +HOMEPAGE=" + https://pypi.org/project/pytest-steps/ + https://github.com/smarie/python-pytest-steps +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/makefun-1.5[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${P}-strict-mkdocs.patch" ) + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( ${PN} pytest-cases pytest-harvest pytest-xdist ) +EPYTEST_DESELECT=( + # tests fail with recent Pandas + pytest_steps/tests/test_docs_example_with_harvest.py::test_synthesis_df + pytest_steps/tests/test_steps_harvest.py::test_synthesis +) + +distutils_enable_tests pytest + +src_prepare() { + sed "/pytest-runner/d" -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + epytest pytest_steps/tests --doctest-modules +} |
