mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-python/pytest-harvest: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -17,6 +17,9 @@ LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# ImportError: cannot import name 'case_name' from 'pytest_cases'
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/makefun[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
|
||||
1
dev-python/pytest-harvest/Manifest
Normal file
1
dev-python/pytest-harvest/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pytest-harvest-1.10.3.tar.gz 77312 BLAKE2B 301a9c890c527213025f33e72fc9a9e7d23354ef174e489b3e40e3597bf5b180ecd15f584cd736d379a4010f739e0aedcb5914012f0db767a45c7dfd4f38d126 SHA512 ba76e86a9109daeef70ac5ee454e92655468e2dbf4ade39d62e80b67f09978e78cc7f41bdf366f946d6a859b0b3f6d1f937155b4a486799b5806b9f68634e7ae
|
||||
17
dev-python/pytest-harvest/metadata.xml
Normal file
17
dev-python/pytest-harvest/metadata.xml
Normal file
@@ -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>
|
||||
48
dev-python/pytest-harvest/pytest-harvest-1.10.3.ebuild
Normal file
48
dev-python/pytest-harvest/pytest-harvest-1.10.3.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..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
|
||||
}
|
||||
Reference in New Issue
Block a user