1 |
commit: 18c790c9e6826e6f71f12e65f9ae7d6696672c41 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 28 18:41:14 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 28 18:48:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c790c9 |
7 |
|
8 |
dev-python/pytest-mock: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-mock/Manifest | 3 -- |
13 |
dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 35 ----------------------- |
14 |
dev-python/pytest-mock/pytest-mock-1.6.0.ebuild | 36 ------------------------ |
15 |
dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 35 ----------------------- |
16 |
4 files changed, 109 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest |
19 |
index f9ac3ad3468..c4838e4457f 100644 |
20 |
--- a/dev-python/pytest-mock/Manifest |
21 |
+++ b/dev-python/pytest-mock/Manifest |
22 |
@@ -1,4 +1 @@ |
23 |
-DIST pytest-mock-1.10.0.tar.gz 20754 BLAKE2B db60bfe6ee9d6d0a6ee4f0df7f5efa6ef05f5e2360945aa86ff6de02fc6a01f1e6715cbb61ced0c1e737c300965835fb08727b926852c5b71c0cc3d56c1171f1 SHA512 b8afba13da3e598b6493459298e395c0ecc06538733916659191bd5c5c22f40b0e296853ad940c16a6d492fcf46b2daf490ee589661d391e2c7cd1deb84da756 |
24 |
DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa SHA512 6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c |
25 |
-DIST pytest-mock-1.6.0.tar.gz 17780 BLAKE2B 4fbc0cbd951668eb2ce427496c54e958591fe368bd42544eb1d0379adcb3d0e10b223ab044956e4003aac88665b3132dcb9d167442d6d85a5be79edea36881ca SHA512 c3b897be9156d57d7012e95b620c543500b849d7076224e3328d3783311210c57141dfb82c01bb98e5e419125dce0f68f6631bd610f4909f5ac1798458a7949f |
26 |
-DIST pytest-mock-1.6.3.tar.gz 18482 BLAKE2B 1c0d366e5afd1b247ff454716b6d96d9d68846adfff81adc0ea079a72d3e7710fd9385122723cfee69965588235ec2deb1e0b52328ace5c967652c93b404cea3 SHA512 6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a |
27 |
|
28 |
diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild |
29 |
deleted file mode 100644 |
30 |
index 898f8bbeed8..00000000000 |
31 |
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,35 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test" |
43 |
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
49 |
-IUSE="" |
50 |
- |
51 |
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] |
52 |
- $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)" |
53 |
-DEPEND="${RDEPEND} |
54 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
56 |
- |
57 |
-src_prepare() { |
58 |
- if has_version dev-python/mock; then |
59 |
- # test fails when standalone mock is installed |
60 |
- sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i test_pytest_mock.py || die |
61 |
- fi |
62 |
- distutils-r1_src_prepare |
63 |
-} |
64 |
- |
65 |
-python_test() { |
66 |
- local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} |
67 |
- py.test -vv test_pytest_mock.py || die "Tests fail with ${EPYTHON}" |
68 |
-} |
69 |
|
70 |
diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild |
71 |
deleted file mode 100644 |
72 |
index 27fa9101a9a..00000000000 |
73 |
--- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild |
74 |
+++ /dev/null |
75 |
@@ -1,36 +0,0 @@ |
76 |
-# Copyright 1999-2020 Gentoo Authors |
77 |
-# Distributed under the terms of the GNU General Public License v2 |
78 |
- |
79 |
-EAPI=6 |
80 |
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) |
81 |
- |
82 |
-inherit distutils-r1 |
83 |
- |
84 |
-DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test" |
85 |
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/" |
86 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
87 |
- |
88 |
-LICENSE="MIT" |
89 |
-SLOT="0" |
90 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86" |
91 |
-IUSE="" |
92 |
- |
93 |
-RDEPEND=" |
94 |
- dev-python/pytest[${PYTHON_USEDEP}] |
95 |
- $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)" |
96 |
-DEPEND="${RDEPEND} |
97 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
98 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
99 |
- |
100 |
-src_prepare() { |
101 |
- if has_version dev-python/mock; then |
102 |
- # test fails when standalone mock is installed |
103 |
- sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i test_pytest_mock.py || die |
104 |
- fi |
105 |
- distutils-r1_src_prepare |
106 |
-} |
107 |
- |
108 |
-python_test() { |
109 |
- PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \ |
110 |
- py.test test_pytest_mock.py || die |
111 |
-} |
112 |
|
113 |
diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild |
114 |
deleted file mode 100644 |
115 |
index 22582207b5a..00000000000 |
116 |
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild |
117 |
+++ /dev/null |
118 |
@@ -1,35 +0,0 @@ |
119 |
-# Copyright 1999-2020 Gentoo Authors |
120 |
-# Distributed under the terms of the GNU General Public License v2 |
121 |
- |
122 |
-EAPI=6 |
123 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
124 |
- |
125 |
-inherit distutils-r1 |
126 |
- |
127 |
-DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test" |
128 |
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/" |
129 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
130 |
- |
131 |
-LICENSE="MIT" |
132 |
-SLOT="0" |
133 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
134 |
-IUSE="" |
135 |
- |
136 |
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] |
137 |
- $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)" |
138 |
-DEPEND="${RDEPEND} |
139 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
140 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
141 |
- |
142 |
-src_prepare() { |
143 |
- if has_version dev-python/mock; then |
144 |
- # test fails when standalone mock is installed |
145 |
- sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i test_pytest_mock.py || die |
146 |
- fi |
147 |
- distutils-r1_src_prepare |
148 |
-} |
149 |
- |
150 |
-python_test() { |
151 |
- local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} |
152 |
- py.test -vv test_pytest_mock.py || die "Tests fail with ${EPYTHON}" |
153 |
-} |