From 9bddad82572077b42128ff015ca52158f59b28cf Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 26 Jun 2022 02:17:54 +0500 Subject: [PATCH] dev-python/pytest-harvest: add 1.10.4 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/pytest-harvest/Manifest | 1 + .../pytest-harvest-1.10.4.ebuild | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild diff --git a/dev-python/pytest-harvest/Manifest b/dev-python/pytest-harvest/Manifest index 71ce9a5df4..82a97c9aee 100644 --- a/dev-python/pytest-harvest/Manifest +++ b/dev-python/pytest-harvest/Manifest @@ -1 +1,2 @@ DIST pytest-harvest-1.10.3.tar.gz 77312 BLAKE2B 301a9c890c527213025f33e72fc9a9e7d23354ef174e489b3e40e3597bf5b180ecd15f584cd736d379a4010f739e0aedcb5914012f0db767a45c7dfd4f38d126 SHA512 ba76e86a9109daeef70ac5ee454e92655468e2dbf4ade39d62e80b67f09978e78cc7f41bdf366f946d6a859b0b3f6d1f937155b4a486799b5806b9f68634e7ae +DIST pytest-harvest-1.10.4.tar.gz 77384 BLAKE2B 93acd363b9874ef0a8e776c3472cde27417776850d004e83f00ecd52c7c9acbf1758d0062bd14fb83889c9b688a1f92352e42afe2dd6a9b01c567e8afe9d2f1c SHA512 61e371478b0fe809cb5e39040596a241ef3630641d7465799a5e24a953453924f3f6b5b8b94e67a51f1f5b2cb744bb2a698a7d50b6d638dc866a856bf74abe7a diff --git a/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild new file mode 100644 index 0000000000..98597a6aec --- /dev/null +++ b/dev-python/pytest-harvest/pytest-harvest-1.10.4.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_{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 +}