1 |
commit: ac74d17dfd56f9ec5364bb9ce2c5e4cb29268c0b |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jun 14 00:20:51 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Jun 14 02:27:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac74d17d |
7 |
|
8 |
dev-python/pytest-randomly: add 3.8.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/pytest-randomly/Manifest | 1 + |
13 |
.../pytest-randomly/pytest-randomly-3.8.0.ebuild | 41 ++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest |
17 |
index f81f4c913..fcc746d43 100644 |
18 |
--- a/dev-python/pytest-randomly/Manifest |
19 |
+++ b/dev-python/pytest-randomly/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-randomly-3.5.0.tar.gz 36605 BLAKE2B 1e993f7b0cec9fede1fd22c9be06ca34b884ea67183e13197e59359ebb5b8a6bc86715b117f379d72c11eec85fe31c3f4cb1dd7c2bae1412dabd630ddff81bbf SHA512 ed5cc11799e38caaa899ab25f75469baa2c57a5113c3e51129c4cee801b0eded57f6165113f8cb5a8c995057569c224b9039d601b361b9e95553dc8cb338b368 |
22 |
+DIST pytest-randomly-3.8.0.tar.gz 26376 BLAKE2B b51fb09e887fb20783edaecc6494d22c9e66c4c87aabe5368f85b492681c29c9283ddc70821801442d4908a76ba64e70ee04433f5bd3639bae0cf198c950dcb1 SHA512 eabed09478f3047f181b4efe1057d15dda5686f85d3321083fbd443e5dd036f9fc9bfca2048ff898a194d59349e46ebf6258f03caccf649e891bb0bc6d6ef863 |
23 |
|
24 |
diff --git a/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..fe9d7905c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-randomly/pytest-randomly-3.8.0.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="7" |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8,9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" |
40 |
+HOMEPAGE=" |
41 |
+ https://pypi.python.org/pypi/pytest-randomly |
42 |
+ https://github.com/pytest-dev/pytest-randomly |
43 |
+" |
44 |
+SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
52 |
+ dev-python/factory_boy[${PYTHON_USEDEP}] |
53 |
+ dev-python/Faker[${PYTHON_USEDEP}] |
54 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
56 |
+ |
57 |
+ $(python_gen_cond_dep 'dev-python/pygments[${PYTHON_USEDEP}]' python3_9) |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+python_test() { |
68 |
+ distutils_install_for_testing --via-root |
69 |
+ pytest -vv || die "Testsuite failed under ${EPYTHON}" |
70 |
+} |