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-cases/
Date: Wed, 09 Feb 2022 00:24:55
Message-Id: 1644363613.52ad52ccd744b18ff91aaffd2ccb07d496e87844.cybertailor@gentoo
1 commit: 52ad52ccd744b18ff91aaffd2ccb07d496e87844
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Tue Feb 8 23:35:47 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Tue Feb 8 23:40:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52ad52cc
7
8 dev-python/pytest-cases: add 3.6.9
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/pytest-cases/Manifest | 1 +
13 dev-python/pytest-cases/pytest-cases-3.6.9.ebuild | 44 +++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/pytest-cases/Manifest b/dev-python/pytest-cases/Manifest
17 index 7e14bb641..421addacb 100644
18 --- a/dev-python/pytest-cases/Manifest
19 +++ b/dev-python/pytest-cases/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-cases-3.6.8.tar.gz 1080234 BLAKE2B 37a0428e7120144f7cc11a6d1196d2766e32f0a1fcd782dd759f0ae7197f852fb6b99fbd6f93b266f6026d086b31942352360146369d9f0f370a8785bbe6b448 SHA512 9b45da6f5bc8d64f6ff1a32782e2b52ea75e38300d630c0a261bbef4ab61c23b15bd71a07b33ae19cb363a31eb384510e014ceb6148c04c4a705e58de0442d11
22 +DIST pytest-cases-3.6.9.tar.gz 1080527 BLAKE2B 9209c62eb5aebe496cfcad825c5eddf90881d6a23794e88fca34921ebc8a6036072a70cb693dd0dcd5d13d4ae67a192c52e6f770ae6c44c8a19265ecca55f552 SHA512 13d5ebdff00d14a39063d6dd4f41ff130b11fac9a073141d0f7acbb316a7b39730afaf1930bd18205ac068dabd236a37ff6bafda960c5f793eb723235eced6d3
23
24 diff --git a/dev-python/pytest-cases/pytest-cases-3.6.9.ebuild b/dev-python/pytest-cases/pytest-cases-3.6.9.ebuild
25 new file mode 100644
26 index 000000000..930ab7ea9
27 --- /dev/null
28 +++ b/dev-python/pytest-cases/pytest-cases-3.6.9.ebuild
29 @@ -0,0 +1,44 @@
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 +DISTUTILS_USE_PEP517=setuptools
37 +DOCS_BUILDER="mkdocs"
38 +DOCS_DEPEND="dev-python/mkdocs-material"
39 +DOCS_DIR="docs"
40 +inherit distutils-r1 docs
41 +
42 +DESCRIPTION="Separate test code from test cases in pytest"
43 +HOMEPAGE="https://pypi.org/project/pytest-cases/ https://github.com/smarie/python-pytest-cases"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +
50 +RDEPEND="
51 + dev-python/decopatch[${PYTHON_USEDEP}]
52 + >=dev-python/makefun-1.9.5[${PYTHON_USEDEP}]
53 + dev-python/six[${PYTHON_USEDEP}]
54 +"
55 +BDEPEND="
56 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
57 + test? (
58 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
59 + dev-python/pytest-harvest[${PYTHON_USEDEP}]
60 + dev-python/pytest-steps[${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 +}