diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
| commit | d97953e6ff67978da9554e7b4601aedceb21e215 (patch) | |
| tree | 674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-python/pytest-harvest | |
| parent | 1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff) | |
| download | baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-harvest')
| -rw-r--r-- | dev-python/pytest-harvest/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-harvest/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-python/pytest-harvest/pytest-harvest-1.10.3.ebuild | 48 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/pytest-harvest/Manifest b/dev-python/pytest-harvest/Manifest new file mode 100644 index 000000000000..71ce9a5df4ff --- /dev/null +++ b/dev-python/pytest-harvest/Manifest @@ -0,0 +1 @@ +DIST pytest-harvest-1.10.3.tar.gz 77312 BLAKE2B 301a9c890c527213025f33e72fc9a9e7d23354ef174e489b3e40e3597bf5b180ecd15f584cd736d379a4010f739e0aedcb5914012f0db767a45c7dfd4f38d126 SHA512 ba76e86a9109daeef70ac5ee454e92655468e2dbf4ade39d62e80b67f09978e78cc7f41bdf366f946d6a859b0b3f6d1f937155b4a486799b5806b9f68634e7ae diff --git a/dev-python/pytest-harvest/metadata.xml b/dev-python/pytest-harvest/metadata.xml new file mode 100644 index 000000000000..b55fd740f556 --- /dev/null +++ b/dev-python/pytest-harvest/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + <upstream> + <remote-id type="pypi">pytest-harvest</remote-id> + <remote-id type="github">smarie/python-pytest-harvest</remote-id> + <doc>https://smarie.github.io/python-pytest-harvest/</doc> + <maintainer> + <email>sylvain.marie@schneider-electric.com</email> + <name>Sylvain Marie</name> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-harvest/pytest-harvest-1.10.3.ebuild b/dev-python/pytest-harvest/pytest-harvest-1.10.3.ebuild new file mode 100644 index 000000000000..9ceb2ca9f618 --- /dev/null +++ b/dev-python/pytest-harvest/pytest-harvest-1.10.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" +DOCS_DIR="docs" +inherit distutils-r1 docs + +DESCRIPTION="Store and retrieve data created during your pytest tests execution" +HOMEPAGE="https://pypi.org/project/pytest-harvest/ https://github.com/smarie/python-pytest-harvest" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/decopatch[${PYTHON_USEDEP}] + >=dev-python/makefun-1.5[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pytest-cases[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed "/pytest-runner/d" -i setup.cfg || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + docs_compile +} + +python_test() { + epytest pytest_harvest/tests --doctest-modules +} |
