1 |
commit: 2ea155fd979e0b6a2209abba23c7289a132e9043 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 14 07:23:24 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 15 05:12:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ea155fd |
7 |
|
8 |
dev-python/pytest-toolbox: initial import |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-toolbox/Manifest | 1 + |
13 |
dev-python/pytest-toolbox/metadata.xml | 12 +++++++++ |
14 |
.../pytest-toolbox/pytest-toolbox-0.4.ebuild | 31 ++++++++++++++++++++++ |
15 |
3 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pytest-toolbox/Manifest b/dev-python/pytest-toolbox/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..d3d4b309cf7 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/pytest-toolbox/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST pytest-toolbox-0.4.gh.tar.gz 8594 BLAKE2B fb1f19513e9e4b191c3eb995cc5e9445bc9f19affef87350d925c5465210c4de945b91120f86664c1dcf02a638595a7725cf88e3244e377ae77558c70d65643a SHA512 ed27700ff77cd607be808142cc310cd2b7461e55b3f8352d304ef8ca6c5e6c060c67a63238a1025407868ab8e229c4a16eaaa56aa75000159762001accb67752 |
24 |
|
25 |
diff --git a/dev-python/pytest-toolbox/metadata.xml b/dev-python/pytest-toolbox/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..0b43cf3a3e2 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pytest-toolbox/metadata.xml |
30 |
@@ -0,0 +1,12 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>arthurzam@g.o</email> |
36 |
+ <name>Arthur Zamarin</name> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <remote-id type="pypi">pytest-toolbox</remote-id> |
40 |
+ <remote-id type="github">samuelcolvin/pytest-toolbox</remote-id> |
41 |
+ </upstream> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild b/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..ffff5bfb4ec |
47 |
--- /dev/null |
48 |
+++ b/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild |
49 |
@@ -0,0 +1,31 @@ |
50 |
+# Copyright 2021 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=8 |
54 |
+ |
55 |
+PYTHON_COMPAT=( python3_{8..10} ) |
56 |
+inherit distutils-r1 |
57 |
+ |
58 |
+DESCRIPTION="Numerous useful plugins for pytest" |
59 |
+HOMEPAGE="https://pypi.org/project/pytest-toolbox/ https://github.com/samuelcolvin/pytest-toolbox/" |
60 |
+SRC_URI=" |
61 |
+ https://github.com/samuelcolvin/pytest-toolbox/archive/v${PV}.tar.gz |
62 |
+ -> ${P}.gh.tar.gz |
63 |
+" |
64 |
+ |
65 |
+LICENSE="MIT" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+ |
69 |
+BDEPEND=" |
70 |
+ test? ( |
71 |
+ dev-python/pydantic[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+" |
74 |
+ |
75 |
+distutils_enable_tests pytest |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ sed -e '/addopts/d' -i setup.cfg || die |
79 |
+ distutils-r1_src_prepare |
80 |
+} |