1 |
commit: 424a2278335417912b02df7f0bb72419afe47325 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 3 19:42:06 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 3 19:42:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424a2278 |
7 |
|
8 |
dev-python/pytest-mock: drop 3.8.2, 3.9.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-mock/Manifest | 2 -- |
13 |
dev-python/pytest-mock/pytest-mock-3.8.2.ebuild | 46 ------------------------- |
14 |
dev-python/pytest-mock/pytest-mock-3.9.0.ebuild | 46 ------------------------- |
15 |
3 files changed, 94 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest |
18 |
index a45d5d501a0b..3840a93144a0 100644 |
19 |
--- a/dev-python/pytest-mock/Manifest |
20 |
+++ b/dev-python/pytest-mock/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
DIST pytest-mock-3.10.0.tar.gz 28384 BLAKE2B 2f51f8be34094054b8f7864eb083dde00800adb73af668444d21c95d8f159594bed0f68694e7ffb0e24da402a4865f37c07d85622ad00f130ccdb4e3d189bf9a SHA512 2ad6866d581a2999899e399ef5516d478a6172f52923f03703e3e3708229fb3b1178c91225b5cc90734c96abcb48fea517b11e0fc193da6fb592295395c14cd3 |
23 |
-DIST pytest-mock-3.8.2.tar.gz 27734 BLAKE2B feaa92ba63626d7510008c41491bd0ab649b2a0cb55c888a472a5f6100a18d8b4a232532b6b3a860483bfd1676fc1216ca368e215b8f11fc6211eeef62f5743f SHA512 039342de6a22921ebac3f54a1f217a7a5d4cf9833ce4b4bee0a18ba5409d46211cd2d9ff9620a1576560d32f5e5799483e6686e3b58d32123f41dcd7a862154b |
24 |
-DIST pytest-mock-3.9.0.tar.gz 27883 BLAKE2B d1cf4599bdc3fa21df83874c26751791f9ec891184baa2a304a8d4e48e5a03194718afb80e9019f914150ef22c1b3a787ac17cfadf10deae5584b8e39e32e376 SHA512 ed918574852ac70d863589d976fd65ac57c61ee1fa072651b93ee58f2d1154cef6c0ae1c2cba822bb1c6a2bddd6442b49e256652e2bd55fd3b1bed73017ff7b6 |
25 |
|
26 |
diff --git a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild b/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 6266e8ce070c..000000000000 |
29 |
--- a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,46 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
- |
37 |
-DISTUTILS_USE_PEP517=setuptools |
38 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest" |
43 |
-HOMEPAGE=" |
44 |
- https://github.com/pytest-dev/pytest-mock/ |
45 |
- https://pypi.org/project/pytest-mock/ |
46 |
-" |
47 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="MIT" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- >=dev-python/pytest-6[${PYTHON_USEDEP}] |
55 |
-" |
56 |
-BDEPEND=" |
57 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
58 |
- test? ( |
59 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
60 |
- ) |
61 |
-" |
62 |
- |
63 |
-distutils_enable_tests pytest |
64 |
- |
65 |
-python_test() { |
66 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
67 |
- local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin |
68 |
- local EPYTEST_DESELECT=() |
69 |
- |
70 |
- if has_version dev-python/mock; then |
71 |
- EPYTEST_DESELECT+=( |
72 |
- tests/test_pytest_mock.py::test_standalone_mock |
73 |
- ) |
74 |
- fi |
75 |
- |
76 |
- epytest --assert=plain |
77 |
-} |
78 |
|
79 |
diff --git a/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild |
80 |
deleted file mode 100644 |
81 |
index ce9187b4e2e5..000000000000 |
82 |
--- a/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,46 +0,0 @@ |
85 |
-# Copyright 1999-2022 Gentoo Authors |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
- |
88 |
-EAPI=8 |
89 |
- |
90 |
-DISTUTILS_USE_PEP517=setuptools |
91 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
92 |
- |
93 |
-inherit distutils-r1 |
94 |
- |
95 |
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest" |
96 |
-HOMEPAGE=" |
97 |
- https://github.com/pytest-dev/pytest-mock/ |
98 |
- https://pypi.org/project/pytest-mock/ |
99 |
-" |
100 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
101 |
- |
102 |
-LICENSE="MIT" |
103 |
-SLOT="0" |
104 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
105 |
- |
106 |
-RDEPEND=" |
107 |
- >=dev-python/pytest-6[${PYTHON_USEDEP}] |
108 |
-" |
109 |
-BDEPEND=" |
110 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
111 |
- test? ( |
112 |
- dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
113 |
- ) |
114 |
-" |
115 |
- |
116 |
-distutils_enable_tests pytest |
117 |
- |
118 |
-python_test() { |
119 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
120 |
- local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin |
121 |
- local EPYTEST_DESELECT=() |
122 |
- |
123 |
- if has_version dev-python/mock; then |
124 |
- EPYTEST_DESELECT+=( |
125 |
- tests/test_pytest_mock.py::test_standalone_mock |
126 |
- ) |
127 |
- fi |
128 |
- |
129 |
- epytest --assert=plain |
130 |
-} |