Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-harvest/
Date: Sat, 25 Jun 2022 21:29:30
Message-Id: 1656191874.9bddad82572077b42128ff015ca52158f59b28cf.cybertailor@gentoo
1 commit: 9bddad82572077b42128ff015ca52158f59b28cf
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Sat Jun 25 21:17:54 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Sat Jun 25 21:17:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bddad82
7
8 dev-python/pytest-harvest: add 1.10.4
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/pytest-harvest/Manifest | 1 +
13 .../pytest-harvest/pytest-harvest-1.10.4.ebuild | 48 ++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/pytest-harvest/Manifest b/dev-python/pytest-harvest/Manifest
17 index 71ce9a5df..82a97c9ae 100644
18 --- a/dev-python/pytest-harvest/Manifest
19 +++ b/dev-python/pytest-harvest/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-harvest-1.10.3.tar.gz 77312 BLAKE2B 301a9c890c527213025f33e72fc9a9e7d23354ef174e489b3e40e3597bf5b180ecd15f584cd736d379a4010f739e0aedcb5914012f0db767a45c7dfd4f38d126 SHA512 ba76e86a9109daeef70ac5ee454e92655468e2dbf4ade39d62e80b67f09978e78cc7f41bdf366f946d6a859b0b3f6d1f937155b4a486799b5806b9f68634e7ae
22 +DIST pytest-harvest-1.10.4.tar.gz 77384 BLAKE2B 93acd363b9874ef0a8e776c3472cde27417776850d004e83f00ecd52c7c9acbf1758d0062bd14fb83889c9b688a1f92352e42afe2dd6a9b01c567e8afe9d2f1c SHA512 61e371478b0fe809cb5e39040596a241ef3630641d7465799a5e24a953453924f3f6b5b8b94e67a51f1f5b2cb744bb2a698a7d50b6d638dc866a856bf74abe7a
23
24 diff --git a/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild
25 new file mode 100644
26 index 000000000..98597a6ae
27 --- /dev/null
28 +++ b/dev-python/pytest-harvest/pytest-harvest-1.10.4.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +DOCS_BUILDER="mkdocs"
37 +DOCS_DEPEND="dev-python/mkdocs-material"
38 +DOCS_DIR="docs"
39 +inherit distutils-r1 docs
40 +
41 +DESCRIPTION="Store and retrieve data created during your pytest tests execution"
42 +HOMEPAGE="https://pypi.org/project/pytest-harvest/ https://github.com/smarie/python-pytest-harvest"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +
49 +RDEPEND="
50 + dev-python/decopatch[${PYTHON_USEDEP}]
51 + >=dev-python/makefun-1.5[${PYTHON_USEDEP}]
52 + dev-python/six[${PYTHON_USEDEP}]
53 +"
54 +BDEPEND="
55 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
56 + test? (
57 + dev-python/numpy[${PYTHON_USEDEP}]
58 + dev-python/pandas[${PYTHON_USEDEP}]
59 + dev-python/pytest-cases[${PYTHON_USEDEP}]
60 + dev-python/tabulate[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +python_prepare_all() {
67 + sed "/pytest-runner/d" -i setup.cfg || die
68 + distutils-r1_python_prepare_all
69 +}
70 +
71 +python_compile_all() {
72 + docs_compile
73 +}
74 +
75 +python_test() {
76 + epytest pytest_harvest/tests --doctest-modules
77 +}