Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-mock/
Date: Sat, 05 Jun 2021 21:20:31
Message-Id: 1622927958.767bd1161bcee4a1cad90e981b007ac23b38aa79.mgorny@gentoo
1 commit: 767bd1161bcee4a1cad90e981b007ac23b38aa79
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 5 21:19:18 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 5 21:19:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767bd116
7
8 dev-python/requests-mock: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/requests-mock/Manifest | 3 --
13 .../requests-mock/requests-mock-1.8.0.ebuild | 46 ----------------------
14 .../requests-mock/requests-mock-1.9.0.ebuild | 45 ---------------------
15 .../requests-mock/requests-mock-1.9.1.ebuild | 45 ---------------------
16 4 files changed, 139 deletions(-)
17
18 diff --git a/dev-python/requests-mock/Manifest b/dev-python/requests-mock/Manifest
19 index ca5493fbc99..7cd4619f269 100644
20 --- a/dev-python/requests-mock/Manifest
21 +++ b/dev-python/requests-mock/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a SHA512 252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918
24 -DIST requests-mock-1.9.0.tar.gz 66243 BLAKE2B 33602e85376d7812b8f4b35bf657c905ddc7db4d85e3de1f70d38871c90c42fc886e99bce3dc45079b6c8ac8e3e6b0b5291d4acda31d26045396d4ed505c3faf SHA512 1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610
25 -DIST requests-mock-1.9.1.tar.gz 66782 BLAKE2B 5457d359bf93f3f1e335481e44c1e9a391ee88c648b3c385806274e2c39ae3a69268d792dfc2e4609f2ccebd47dc2a3bb488f11b1b479c010a4194fe5cdc3be6 SHA512 96a8a787daa7d42796baf2807543ca18c27f595e101fd230cd392eb2417b3b0925b977a6fc49d70e21362e5b647cac201cb9f3968301ce2702772ddd85cf7094
26 DIST requests-mock-1.9.2.tar.gz 67383 BLAKE2B 70a0772b415f437c38897862d663983d9ac65a5fc37d70b4f8734f8c249457dab6c4b1c04db79f7865a9b31a49aaa9cbbee98453ea5bcda35aad2e7cd9ca3f4a SHA512 b8da389f6642a4dfaac77b2613d12e3028555a5d4154aa7252e50fef527a49fb78d85dbd911ad2fd7d5ebc0efa49a2c0fd8d3b10114596839f0ddb53d917773c
27 DIST requests-mock-1.9.3.tar.gz 67988 BLAKE2B 8ab651adbde9e18370641655589f5d209d2a9ae07d82108c64e4269757217cf01588066ebc3005852cf48527f911d3fb76cedce3e88bc74123db81725b4b5865 SHA512 bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f
28
29 diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
30 deleted file mode 100644
31 index 148512ff754..00000000000
32 --- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
33 +++ /dev/null
34 @@ -1,46 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
41 -DISTUTILS_USE_SETUPTOOLS=bdepend
42 -
43 -inherit distutils-r1
44 -
45 -DESCRIPTION="Mock out responses from the requests package"
46 -HOMEPAGE="https://github.com/jamielennox/requests-mock"
47 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 -
49 -LICENSE="Apache-2.0"
50 -SLOT="0"
51 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
52 -
53 -RDEPEND="
54 - >=dev-python/requests-2.3[${PYTHON_USEDEP}]
55 - dev-python/six[${PYTHON_USEDEP}]
56 -"
57 -BDEPEND="
58 - >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
59 - test? (
60 - dev-python/fixtures[${PYTHON_USEDEP}]
61 - dev-python/mock[${PYTHON_USEDEP}]
62 - dev-python/pytest[${PYTHON_USEDEP}]
63 - dev-python/testtools[${PYTHON_USEDEP}]
64 - )
65 -"
66 -
67 -distutils_enable_sphinx doc/source
68 -distutils_enable_tests unittest
69 -
70 -python_prepare_all() {
71 - # Disable reno which only works inside a git repository
72 - sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
73 - # Remove the release notes section which requires reno
74 - rm doc/source/release-notes.rst || die
75 - sed -i '/^=============$/,/release-notes/d' doc/source/index.rst || die
76 - # Disable a test which requires purl (not in the tree)
77 - sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
78 - tests/test_adapter.py || die
79 - distutils-r1_python_prepare_all
80 -}
81
82 diff --git a/dev-python/requests-mock/requests-mock-1.9.0.ebuild b/dev-python/requests-mock/requests-mock-1.9.0.ebuild
83 deleted file mode 100644
84 index 930d9082097..00000000000
85 --- a/dev-python/requests-mock/requests-mock-1.9.0.ebuild
86 +++ /dev/null
87 @@ -1,45 +0,0 @@
88 -# Copyright 1999-2021 Gentoo Authors
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=7
92 -
93 -PYTHON_COMPAT=( pypy3 python3_{7..9} )
94 -
95 -inherit distutils-r1
96 -
97 -DESCRIPTION="Mock out responses from the requests package"
98 -HOMEPAGE="https://github.com/jamielennox/requests-mock"
99 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
100 -
101 -LICENSE="Apache-2.0"
102 -SLOT="0"
103 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
104 -
105 -RDEPEND="
106 - >=dev-python/requests-2.3[${PYTHON_USEDEP}]
107 - dev-python/six[${PYTHON_USEDEP}]
108 -"
109 -BDEPEND="
110 - >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
111 - test? (
112 - dev-python/fixtures[${PYTHON_USEDEP}]
113 - dev-python/mock[${PYTHON_USEDEP}]
114 - dev-python/pytest[${PYTHON_USEDEP}]
115 - dev-python/testtools[${PYTHON_USEDEP}]
116 - )
117 -"
118 -
119 -distutils_enable_sphinx doc/source
120 -distutils_enable_tests unittest
121 -
122 -python_prepare_all() {
123 - # Disable reno which only works inside a git repository
124 - sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
125 - # Remove the release notes section which requires reno
126 - rm doc/source/release-notes.rst || die
127 - sed -i '/^=============$/,/release-notes/d' doc/source/index.rst || die
128 - # Disable a test which requires purl (not in the tree)
129 - sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
130 - tests/test_adapter.py || die
131 - distutils-r1_python_prepare_all
132 -}
133
134 diff --git a/dev-python/requests-mock/requests-mock-1.9.1.ebuild b/dev-python/requests-mock/requests-mock-1.9.1.ebuild
135 deleted file mode 100644
136 index 930d9082097..00000000000
137 --- a/dev-python/requests-mock/requests-mock-1.9.1.ebuild
138 +++ /dev/null
139 @@ -1,45 +0,0 @@
140 -# Copyright 1999-2021 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=7
144 -
145 -PYTHON_COMPAT=( pypy3 python3_{7..9} )
146 -
147 -inherit distutils-r1
148 -
149 -DESCRIPTION="Mock out responses from the requests package"
150 -HOMEPAGE="https://github.com/jamielennox/requests-mock"
151 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
152 -
153 -LICENSE="Apache-2.0"
154 -SLOT="0"
155 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
156 -
157 -RDEPEND="
158 - >=dev-python/requests-2.3[${PYTHON_USEDEP}]
159 - dev-python/six[${PYTHON_USEDEP}]
160 -"
161 -BDEPEND="
162 - >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
163 - test? (
164 - dev-python/fixtures[${PYTHON_USEDEP}]
165 - dev-python/mock[${PYTHON_USEDEP}]
166 - dev-python/pytest[${PYTHON_USEDEP}]
167 - dev-python/testtools[${PYTHON_USEDEP}]
168 - )
169 -"
170 -
171 -distutils_enable_sphinx doc/source
172 -distutils_enable_tests unittest
173 -
174 -python_prepare_all() {
175 - # Disable reno which only works inside a git repository
176 - sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
177 - # Remove the release notes section which requires reno
178 - rm doc/source/release-notes.rst || die
179 - sed -i '/^=============$/,/release-notes/d' doc/source/index.rst || die
180 - # Disable a test which requires purl (not in the tree)
181 - sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
182 - tests/test_adapter.py || die
183 - distutils-r1_python_prepare_all
184 -}