1 |
commit: a25775e33e4db18fdef2f29aa94725d94cd7e8ef |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 27 21:15:58 2020 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Apr 27 21:24:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a25775e3 |
7 |
|
8 |
dev-python/pytest-randomly: deps cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
dev-python/pytest-randomly/metadata.xml | 7 ++++ |
14 |
.../pytest-randomly-3.3.1-r1.ebuild | 46 ++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pytest-randomly/metadata.xml b/dev-python/pytest-randomly/metadata.xml |
18 |
index 46c4254..e9b1d80 100644 |
19 |
--- a/dev-python/pytest-randomly/metadata.xml |
20 |
+++ b/dev-python/pytest-randomly/metadata.xml |
21 |
@@ -29,6 +29,13 @@ By resetting the random seed to a repeatable number for each test, tests can cre |
22 |
This plugin is a Pytest port of my plugin for nose, nose-randomly. I’ve written a blog post on its history. |
23 |
</longdescription> |
24 |
<upstream> |
25 |
+ <bugs-to>https://github.com/pytest-dev/pytest-randomly/issues</bugs-to> |
26 |
+ <changelog>https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst</changelog> |
27 |
+ <maintainer status="active"> |
28 |
+ <email>me@×××××.eu</email> |
29 |
+ <name>Adam Johnson</name> |
30 |
+ </maintainer> |
31 |
+ <remote-id type="pypi">pytest-randomly</remote-id> |
32 |
<remote-id type="github">pytest-dev/pytest-randomly</remote-id> |
33 |
</upstream> |
34 |
</pkgmetadata> |
35 |
|
36 |
diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild |
37 |
new file mode 100644 |
38 |
index 0000000..be8f908 |
39 |
--- /dev/null |
40 |
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild |
41 |
@@ -0,0 +1,46 @@ |
42 |
+# Copyright 1999-2020 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI="7" |
46 |
+ |
47 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
48 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
49 |
+ |
50 |
+inherit distutils-r1 |
51 |
+ |
52 |
+DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" |
53 |
+HOMEPAGE=" |
54 |
+ https://pypi.python.org/pypi/pytest-randomly |
55 |
+ https://github.com/pytest-dev/pytest-randomly |
56 |
+" |
57 |
+SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="BSD" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64 ~x86" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
65 |
+ dev-python/factory_boy[${PYTHON_USEDEP}] |
66 |
+ dev-python/faker[${PYTHON_USEDEP}] |
67 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
68 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
69 |
+ |
70 |
+ $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7) |
71 |
+" |
72 |
+#not really needed |
73 |
+# dev-python/isort[${PYTHON_USEDEP}] |
74 |
+# $(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8) |
75 |
+# dev-python/secretstorage[${PYTHON_USEDEP}] |
76 |
+# dev-python/twine[${PYTHON_USEDEP}] |
77 |
+ |
78 |
+DEPEND=" |
79 |
+ test? ( |
80 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
81 |
+ ) |
82 |
+" |
83 |
+#not really needed |
84 |
+# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8) |
85 |
+# dev-python/multilint[${PYTHON_USEDEP}] |
86 |
+ |
87 |
+distutils_enable_tests pytest |