1 |
commit: 8f96aaf0b2e73cc10b20ed48d74c0861695c7ab0 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 22:03:18 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 22:03:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f96aaf0 |
7 |
|
8 |
dev-python/pytest-skip-markers: add 1.3.0 |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-skip-markers/Manifest | 1 + |
13 |
.../pytest-skip-markers-1.3.0.ebuild | 53 ++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-skip-markers/Manifest b/dev-python/pytest-skip-markers/Manifest |
17 |
index 871b412ed285..2bc92351b980 100644 |
18 |
--- a/dev-python/pytest-skip-markers/Manifest |
19 |
+++ b/dev-python/pytest-skip-markers/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-skip-markers-1.2.0.tar.gz 79343 BLAKE2B 7f24b454fe19210d9ecadf10317a5a32830d722b64adbaf0fa6fad70a4c0cb598fa93b782a2b0f71bd23c4f91f2007d21383b488d725f61519d064e98ddd48f8 SHA512 76c1d0f0af7f7a56fa95d33bd5cb078792df3f054714d2ca1baa6d861e9404e2ec734a88a0768985388b1226c399ee6b54fe082ef7fcce6fc190fcae6201a416 |
22 |
+DIST pytest-skip-markers-1.3.0.tar.gz 79882 BLAKE2B 2c44711e6194aebf0a0299f8a50e6162a088023c2fff6bdb7c142060695a6977b1d4a5cc574199d8f11a5a94e413d7444f81d9e954327e8317ed1bcf3725a60f SHA512 bea602032a7796be7c2dad62ba750e987b77f04349c96f6f8e1f15f5d2b58c3ba1e549a775ce7e541f6041091a578def59900a726872c8aa8b31c585e3f0c3e0 |
23 |
|
24 |
diff --git a/dev-python/pytest-skip-markers/pytest-skip-markers-1.3.0.ebuild b/dev-python/pytest-skip-markers/pytest-skip-markers-1.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..b04007948c06 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-skip-markers/pytest-skip-markers-1.3.0.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A Pytest plugin which implements a few useful skip markers" |
40 |
+HOMEPAGE=" |
41 |
+ https://pytest-skip-markers.readthedocs.io/en/latest/ |
42 |
+ https://github.com/saltstack/pytest-skip-markers |
43 |
+" |
44 |
+SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] |
52 |
+ dev-python/attrs[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytest-tempdir[${PYTHON_USEDEP}] |
54 |
+ dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest-system-statistics[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytest-shell-utilities[${PYTHON_USEDEP}] |
57 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
58 |
+ dev-python/pyzmq[${PYTHON_USEDEP}] |
59 |
+ dev-python/msgpack[${PYTHON_USEDEP}] |
60 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
64 |
+ dev-python/setuptools-declarative-requirements[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ ${RDEPEND} |
67 |
+ dev-python/pyfakefs[${PYTHON_USEDEP}] |
68 |
+ dev-python/pytest-subtests[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+python_prepare_all() { |
75 |
+ sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die |
76 |
+ sed -e "/setuptools_scm/ d" -i setup.cfg || die |
77 |
+ sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die |
78 |
+ |
79 |
+ printf '__version__ = "${PV}"\n' > src/pytestskipmarkers/version.py || die |
80 |
+ |
81 |
+ distutils-r1_python_prepare_all |
82 |
+} |